|
61 | 61 | <option name="useColors">0</option> |
62 | 62 | <option name="useThousandSeparators">1</option> |
63 | 63 | <drilldown> |
64 | | - <set token="title1">$row.certname$</set> |
| 64 | + <condition match="$title1$=="true""> |
| 65 | + <unset token="title1"></unset> |
| 66 | + </condition> |
| 67 | + <condition> |
| 68 | + <set token="title1">true</set> |
| 69 | + </condition> |
65 | 70 | </drilldown> |
66 | 71 | </single> |
67 | 72 | </panel> |
|
94 | 99 | <option name="underLabel">hosts with corrective changes</option> |
95 | 100 | <option name="useColors">0</option> |
96 | 101 | <drilldown> |
97 | | - <set token="title2">$row.click$</set> |
| 102 | + <condition match="$title2$=="true""> |
| 103 | + <unset token="title2"></unset> |
| 104 | + </condition> |
| 105 | + <condition> |
| 106 | + <set token="title2">true</set> |
| 107 | + </condition> |
98 | 108 | </drilldown> |
99 | 109 | </single> |
100 | 110 | </panel> |
|
121 | 131 | <option name="trendDisplayMode">percent</option> |
122 | 132 | <option name="underLabel">hosts with failures</option> |
123 | 133 | <drilldown> |
124 | | - <set token="title3">$row.click$</set> |
| 134 | + <condition match="$title3$=="true""> |
| 135 | + <unset token="title3"></unset> |
| 136 | + </condition> |
| 137 | + <condition> |
| 138 | + <set token="title3">true</set> |
| 139 | + </condition> |
125 | 140 | </drilldown> |
126 | 141 | </single> |
127 | 142 | </panel> |
|
209 | 224 | <row> |
210 | 225 | <panel> |
211 | 226 | <html> |
212 | | - <b># of Resources</b> <button class="btn" align="right" data-unset-token="title5">X</button> |
213 | | - </html> |
| 227 | + <b># of Resources</b>> |
| 228 | + </html> |
214 | 229 | <single> |
215 | 230 | <search> |
216 | 231 | <query>`puppet_summary_index` sourcetype="puppet:summary" pe_console="*" | dedup certname | stats sum(metrics.resources.total)</query> |
|
225 | 240 | <option name="trendDisplayMode">absolute</option> |
226 | 241 | <option name="trendInterval">-7d</option> |
227 | 242 | <drilldown> |
228 | | - <set token="title5">$row.click$</set> |
| 243 | + <condition match="$title5$=="true""> |
| 244 | + <unset token="title5"></unset> |
| 245 | + </condition> |
| 246 | + <condition> |
| 247 | + <set token="title5">true</set> |
| 248 | + </condition> |
229 | 249 | </drilldown> |
230 | 250 | </single> |
231 | 251 | </panel> |
|
248 | 268 | <option name="unit">reports</option> |
249 | 269 | <option name="unitPosition">after</option> |
250 | 270 | <drilldown> |
251 | | - <set token="title6">$row.click$</set> |
| 271 | + <condition match="$title6$=="true""> |
| 272 | + <unset token="title6"></unset> |
| 273 | + </condition> |
| 274 | + <condition> |
| 275 | + <set token="title6">true</set> |
| 276 | + </condition> |
252 | 277 | </drilldown> |
253 | 278 | </single> |
254 | 279 | </panel> |
|
268 | 293 | <option name="rangeColors">["0x53a051","0x0877a6","0xf8be34","0xf1813f","0xdc4e41"]</option> |
269 | 294 | <option name="refresh.display">progressbar</option> |
270 | 295 | <drilldown> |
271 | | - <set token="title4">$row.click$</set> |
| 296 | + <condition match="$title4$=="true""> |
| 297 | + <unset token="title4"></unset> |
| 298 | + </condition> |
| 299 | + <condition> |
| 300 | + <set token="title4">true</set> |
| 301 | + </condition> |
272 | 302 | </drilldown> |
273 | 303 | </single> |
274 | 304 | </panel> |
|
0 commit comments