-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmorgan_forwarders.xml
610 lines (590 loc) · 26.4 KB
/
morgan_forwarders.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
<form>
<label>Debug Incoming forwarders</label>
<init>
<set token="seconds_for_bin">62</set>
<set token="metrics">(index=core_splunk_internal OR index=_internal) Metrics (sourcetype=splunkd OR sourcetype=metrics)</set>
<set token="splunkd">(index=core_splunk_internal OR index=_internal) sourcetype=splunkd</set>
</init>
<search id="forwarders_base">
<query>$metrics$ TERM(group=tcpin_connections) $selected_targets$
| stats
sum(kb) as sum_kb
avg(chan_new_kBps) as avg_chan_new_kBps
max(tcp_KBps) as max_tcp_KBps
stdev(tcp_KBps) as stdev_tcp_KBps
values(connectionType) as connectionType
values(arch) as arch
values(version) as version
values(fwdType) as fwdType
values(ssl) as ssl
values(os) as os
values(guid) as guid
dc(guid) as guid_count
dc(sourceIp) as count_sources
dc(host) as indexer_count
by hostname
| addinfo
| table *
</query>
<earliest>$time.earliest$</earliest>
<latest>$time.latest$</latest>
<progress>
<set token="total_forwarder_count">$job.resultCount$</set>
<eval token="duration">$result.info_max_time$-$result.info_min_time$</eval>
</progress>
<done>
<set token="total_forwarder_count">$job.resultCount$</set>
<eval token="duration">$result.info_max_time$-$result.info_min_time$</eval>
</done>
</search>
<search base="forwarders_base" id="forwarders_ranked">
<query>
| eventstats
sum(max_tcp_KBps) as total_sum_avg_KBps
stdev(tcp_KBps) as avg_stdev_KBps
sum(sum_kb) as total_sum_kb
dc(guid) as all_forwarders
max(indexer_count) as all_indexers
| eval target_coverage=indexer_count."/".all_indexers,
target_coverage_pct=indexer_count/all_indexers
| sort 0 - sum_kb
| streamstats
sum(sum_kb) as accumlated_sum_kb
count as ranking_most_data_kb
by all_forwarders
| eval coverage_kb=accumlated_sum_kb/total_sum_kb,
progress_through_forwarders_kb=(ranking_most_data_kb/all_forwarders) * 100
| sort 0 - max_tcp_KBps
| streamstats
sum(max_tcp_KBps) as accumlated_avg_kbps
count as ranking_most_data_kbps
by all_forwarders
| eval coverage_kbps=accumlated_avg_kbps/total_sum_avg_KBps,
progress_through_forwarders_kbps=(ranking_most_data_kbps/all_forwarders) * 100
| table hostname guid guid_count *
</query>
<progress>
<set token="total_indexer_count">$result.all_indexers$</set>
<eval token="total_sum_gb">round($result.total_sum_kb$/(1024*1024),2)</eval>
</progress>
<done>
<set token="total_indexer_count">$result.all_indexers$</set>
<eval token="total_sum_gb">round($result.total_sum_kb$/(1024*1024),2)</eval>
<eval token="average_data_rate_ps">round(($total_sum_gb$*1024)/$duration$,2)</eval>
</done>
</search>
<search id="single_forwarder_base">
<query>$metrics$ TERM(group=tcpin_connections) $selected_forwarders$ $selected_targets$
| table _time host hostname guid guid_count kb tcp_Bps tcp_KBps tcp_avg_thruput
tcp_Kprocessed
tcp_eps
process_time_ms
chan_new_kBps
evt_misc_kBps
evt_raw_kBps
evt_fields_kBps
evt_fn_kBps
evt_fv_kBps
evt_fn_str_kBps
evt_fn_meta_dyn_kBps
evt_fn_meta_predef_kBps
evt_fn_meta_str_kBps
evt_fv_num_kBps
evt_fv_str_kBps
evt_fv_predef_kBps
evt_fv_offlen_kBps
evt_fv_fp_kBps
</query>
<earliest>$time.earliest$</earliest>
<latest>$time.latest$</latest>
</search>
<search base="forwarders_ranked" id="forwarders_filtered">
<query>| search (progress_through_forwarders_kbps>=$selected_min$, progress_through_forwarders_kbps<=$selected_max$) OR ( progress_through_forwarders_kb>=$selected_min$, progress_through_forwarders_kb<=$selected_max$)
| rename target_coverage_pct as "%"
| rename target_coverage as "indexer coverage"
| rename ranking_most_data_kbps as "speed ranking"
| rename ranking_most_data_kb as "volume ranking"
| rename max_tcp_KBps as "max speed"
| eval type=if(fwdType="full","HWF","UF")
| eval "%"='%'*100,
"speed variability" = (stdev_tcp_KBps/'max speed')*100,
"data"=sum_kb/1024/1024,
"data %"= (sum_kb/total_sum_kb) * 100
| table hostname guid guid_count "volume ranking" "speed ranking" "indexer coverage" "%" "max speed" "speed variability" "data" "data %" "os" "type" "version" arch
| sort 0 + "volume ranking"
</query>
</search>
<search id="annotation">
<query>| tstats count where $metrics$ $selected_targets$ TERM(blocked=true) TERM(group=queue) TERM(name=tcpin*) by host _time span=$seconds_for_bin$sec
| table _time host count
| eval annotation_label="Blocked input",
annotation_category=host</query>
<earliest>$time.earliest$</earliest>
<latest>$time.latest$</latest>
</search>
<search base="selected_forwarders">
<query>| stats values(hostname) as hosts
| eval hosts="host IN (".mvjoin(hosts,", ").")"</query>
<done>
<set token="hosts_drilldown">$result.hosts$</set>
</done>
<progress>
<set token="hosts_drilldown">$result.hosts$</set>
</progress>
</search>
<search id="get_targets">
<query>| tstats count where $metrics$ $selected_targets$ by host
| streamstats count </query>
<done>
<set token="targest_found">$job.resultCount$</set>
</done>
<earliest>-15m</earliest>
<latest>-13m</latest>
</search>
<fieldset submitButton="false">
<input type="text" token="selected_targets" searchWhenChanged="true" id="indices_list_input">
<label>Selected targets</label>
<change>
<condition match="len(trim($form.selected_targets$," "))=0">
<unset token="form.selected_targets"></unset>
<unset token="selected_targets"></unset>
</condition>
</change>
<default>host=idx-i*</default>
</input>
<input type="time" token="time">
<label>Select time range of the report</label>
<default>
<earliest>-4h@m</earliest>
<latest>now</latest>
</default>
<change>
<eval token="seconds_for_bin">if((round(relative_time(now(), $time.latest$)-relative_time(now(), $time.earliest$))/$time_resolution$)<31,31,round((relative_time(now(), $time.latest$)-relative_time(now(), $time.earliest$))/$time_resolution$))</eval>
</change>
</input>
<input type="dropdown" token="time_resolution">
<label>Chart resolution</label>
<choice value="100">Crude</choice>
<choice value="250">Low</choice>
<choice value="500">Medium</choice>
<choice value="750">High</choice>
<choice value="999">Ultra</choice>
<default>500</default>
<change>
<eval token="seconds_for_bin">if((round(relative_time(now(), $time.latest$)-relative_time(now(), $time.earliest$))/$time_resolution$)<31,31,round((relative_time(now(), $time.latest$)-relative_time(now(), $time.earliest$))/$time_resolution$))</eval>
</change>
</input>
<input type="checkbox" token="show_doc">
<label>Show documentation panel</label>
<choice value="hide">Show documentation</choice>
<delimiter> </delimiter>
<default>hide</default>
</input>
</fieldset>
<row rejects="$selected_targets$">
<panel>
<html>
<h1 style="text-align:center">Please select an cluster, site or host</h1>
</html>
</panel>
</row>
<row depends="$show_doc$">
<panel>
<html>
<style>
#documentation_table {
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
border-collapse: collapse;
width: 100%;
}
#documentation_table td, #documentation_table th {
border: 1px solid #ddd;
padding: 8px;
}
#documentation_table tr:nth-child(even){background-color: #f2f2f2;}
#documentation_table tr:hover {background-color: #ddd;}
#documentation_table th {
padding-top: 12px;
padding-bottom: 12px;
text-align: left;
background-color: #4CAF50;
color: white;
}
</style>
<h1>What is this dashboard and how do I use it?</h1>
When a forwarder connects to a target, that targets report details about the connected forwarder. This information includes all sorts of interesting datapoints including, the version, the operating system, how much data has been sent and the average data rate.<p/>
This dashboard aggressively data mines indexers for this information about its connecting forwarder and creates a tooling that lets you explore and visualize how the forwarder pool and how they are interacting with the indexers. This dashboard is specifically built to identify the problematic forwarders with a focus on “super-giant forwarders”. <p/>
It is surprisingly common for 1% of the forwarder pool to be sending more than 50% of all the data into a cluster. This can be highly problematic as they can cause excessive amounts of data to be delivered into the cluster. This is often referred as “laser beams of death” that sweep the cluster causing ingestion hotspots, event distribution problems, slow search times, event delay and instability. It is very important that these forwarders are configured to minimise these affects. <p/>
The top chart visualises the entire population of forwarders on the x-axis, from 0% percent of the pool to 100% the pool. The Y axis shows all data being sent into the cluster five forwarders, again from 0% percent of the data to 100% the data. The curve that is generated describes how data is being received into the cluster. If every forwarder sent exactly the same amount of data (perfect distribution) we would have a straight-line cutting across to chart. The greater the deviation the straight line the greater the asymmetry between forwarders. <p/>
Select ranges in the chart and the table below will be filtered. For instance if you select the first 5% in the chart you will get the top 5% forwarders by received data volume or by peak speed. This interaction quickly allows you to filter to the most important forwarders and whether they are configured to work well. <p/>
</html>
</panel>
</row>
<row depends="$selected_targets$">
<panel>
<title>Targets recieved $total_sum_gb$ GB of data from connecting over $duration$ seconds = $average_data_rate_ps$ MB/s</title>
<chart>
<title>Selected range covers from $selected_min$% to $selected_max$% ($selected_forwarders_pct$%) of all forwarders in aggregate they send approximately $selected_volume_pct$% (~$selected_volume_abs$GB) of data recieved</title>
<search base="forwarders_ranked">
<query>| bin progress_through_forwarders_kb bins=1000 start=0 end=100
| bin progress_through_forwarders_kbps bins=1000 start=0 end=100
| appendpipe
[| stats max(coverage_kb) as coverage
by progress_through_forwarders_kb all_forwarders
| sort + progress_through_forwarders_kb
| fields progress_through_forwarders_kb coverage
| rename progress_through_forwarders_kb as progress_through_forwarders
| eval column="volume"]
| appendpipe
[| stats max(coverage_kbps) as coverage
by progress_through_forwarders_kbps all_forwarders
| sort + progress_through_forwarders_kbps
| fields progress_through_forwarders_kbps coverage
| rename progress_through_forwarders_kbps as progress_through_forwarders
| eval column="speed"]
| where isnotnull(column)
| rex field=progress_through_forwarders "(?<sort>/d+)-"
| chart values(coverage) by progress_through_forwarders column
| eval "volume %"=round(volume*100,1), "speed %"=round(speed*100,1)
| fields - volume speed</query>
</search>
<selection>
<eval token="selected_min">substr($start$,1,len(rtrim($start$,"0123456789."))-1)</eval>
<eval token="selected_max">substr($end$,-(len($end$)-len(rtrim($end$,"0123456789."))))</eval>
<eval token="selected_forwarders_pct">round($selected_max$-$selected_min$,1)</eval>
<eval token="selected_volume_abs">round((($end.volume %$/100-$start.volume %$/100))*$total_sum_gb$,0)</eval>
<eval token="selected_volume_pct">round($end.volume %$-$start.volume %$,2)</eval>
</selection>
<option name="charting.axisLabelsX.majorLabelStyle.overflowMode">ellipsisNone</option>
<option name="charting.axisLabelsX.majorLabelStyle.rotation">-90</option>
<option name="charting.axisTitleX.text">All forwarders sorted from the largest to the smallest</option>
<option name="charting.axisTitleY.text">percentage of data covered by the forwarders</option>
<option name="charting.axisY.maximumNumber">100</option>
<option name="charting.axisY.minimumNumber">0</option>
<option name="charting.chart">line</option>
<option name="charting.drilldown">none</option>
<option name="height">425</option>
<option name="refresh.display">progressbar</option>
</chart>
</panel>
</row>
<row depends="$show_doc$">
<panel>
<html>
<table id="documentation_table">
<tr>
<th>Variable</th>
<th>Description</th>
</tr>
<tr>
<td>hostname</td>
<td>The hostname of the forwarder as reported by the receiving indexer. This might not be the same as the DNS hostname, and might not match the “host” value written into the index.</td>
</tr>
<tr>
<td>guid</td>
<td>The GUID for the forwarder. Sometimes this can have multiple values, I don't know what is causing this. Maybe the GUID is changing, maybe there are multiple forwarders with the same name.</td>
</tr>
<tr>
<td>volume ranking</td>
<td>How the forwarder was ranking for data generation, #1 is the forwarder that sent the most data for the duration of the report.</td>
</tr>
<tr>
<td>speed ranking</td>
<td>How the forwarder was ranked by peak ingestion rate, #1 is the forwarder with the highest ingestion peak. These forwarders might be suffering event delay if they have saturatied the ingestion queue of the indexers
</td>
</tr>
<tr>
<td>indexer coverage</td>
<td>How many of the of the indexers pool did the forwarder connect to during the duration of the report? This needs to happen quickly to get good event distribution. The bigger the indexing cluster the longer it takes to sweep the cluster. Ideally very forwarder should sweep the entire pool within 15mins to get good balanced search performance for small search windows.
</td>
</tr>
<tr>
<td>%</td>
<td>This is a percentage coverage for indexer coverage. It is normalized to so that values less than 100% can be highlighted.</td>
</tr>
<tr>
<td>max speed</td>
<td>The max speed for the forwarder sending data.</td>
</tr>
<tr>
<td>speed variability</td>
<td>The variation in speed generated by the forwarder, a low value implies a nice constant speed, a high value implies variable data rates. Forwarders with high variation should be configured with autoLBVolume so that the switching rate increases as data rates increase.
</td>
</tr>
<tr>
<td>Data</td>
<td>The total amount of data sent by the forwarder into the pool.</td>
</tr>
<tr>
<td>data %</td>
<td>The data sent by the forwarder as a percentage of the total ingestion.</td>
</tr>
<tr>
<td>OS</td>
<td>The operating system of the forwarder, typically Linux or Windows</td>
</tr>
<tr>
<td>Type</td>
<td>The type of the forwarder, UF or HWF</td>
</tr>
<tr>
<td>Version</td>
<td>The version of the forwarder, some versions have bugs, some don’t have features. </td>
</tr>
<tr>
<td>Arch</td>
<td>The architecture of the CPU for the forwarder</td>
</tr>
</table>
</html>
</panel>
</row>
<row depends="$selected_targets$">
<panel>
<title>Showing $selected_forwarder_count$ of $total_forwarder_count$ forwarders</title>
<input type="dropdown" token="selected_forwarder_version">
<label>Filter forwarder version</label>
<choice value="*">*</choice>
<search base="forwarders_filtered">
<query>| stats count by version
| eval label=version." (".count." instances)"</query>
</search>
<fieldForLabel>label</fieldForLabel>
<fieldForValue>version</fieldForValue>
<default>*</default>
</input>
<input type="dropdown" token="selected_forwarder_type">
<label>Filter forwarder type</label>
<choice value="*">*</choice>
<search base="forwarders_filtered">
<query>| stats count by type
| eval label=type." (".count." instances)"
| sort - count</query>
</search>
<fieldForLabel>label</fieldForLabel>
<fieldForValue>type</fieldForValue>
<default>*</default>
</input>
<input type="dropdown" token="selected_forwarder_os">
<label>Filter forwarder OS</label>
<choice value="*">*</choice>
<search base="forwarders_filtered">
<query>| stats count by os
| eval label=os." (".count." instances)"
| sort - count</query>
</search>
<fieldForLabel>label</fieldForLabel>
<fieldForValue>os</fieldForValue>
<default>*</default>
</input>
<input type="dropdown" token="selected_forwarder_coverage">
<label>Filter forwarder coverage</label>
<choice value="*">*</choice>
<search base="forwarders_filtered">
<query>| stats count by "indexer coverage"
| rename "indexer coverage" as coverage
| eval label=coverage." (".count." instances)"
| sort - count</query>
</search>
<fieldForLabel>label</fieldForLabel>
<fieldForValue>coverage</fieldForValue>
<default>*</default>
</input>
<input type="text" token="filter_hostname">
<label>hostname filter</label>
<default>*</default>
</input>
<table>
<title>For more detail click on some forwarders and more charts will open allowing you to compare performance and behaviours of those you selected</title>
<search base="forwarders_filtered" id="selected_forwarders">
<progress>
<set token="selected_forwarder_count">$job.resultCount$</set>
</progress>
<done>
<set token="selected_forwarder_count">$job.resultCount$</set>
</done>
<query>| search type=$selected_forwarder_type$ os=$selected_forwarder_os$ version=$selected_forwarder_version$ "indexer coverage"="$selected_forwarder_coverage$" hostname=$filter_hostname$
| rename guid_count as "# guids"</query>
</search>
<option name="count">20</option>
<option name="drilldown">cell</option>
<format type="number" field="indexer coverage">
<option name="precision">0</option>
<option name="unit">%</option>
</format>
<format type="number" field="max speed">
<option name="precision">0</option>
<option name="unit">KBps</option>
</format>
<format type="number" field="speed variability">
<option name="precision">0</option>
<option name="unit">%</option>
</format>
<format type="color" field="%">
<colorPalette type="list">[#D93F3C,#FFFFFF]</colorPalette>
<scale type="threshold">99</scale>
</format>
<format type="color" field="max speed">
<colorPalette type="minMidMax" maxColor="#31A35F" minColor="#FFFFFF"></colorPalette>
<scale type="minMidMax"></scale>
</format>
<format type="color" field="speed variability">
<colorPalette type="minMidMax" maxColor="#1E93C6" minColor="#FFFFFF"></colorPalette>
<scale type="minMidMax"></scale>
</format>
<format type="number" field="data">
<option name="unit">GB</option>
</format>
<format type="color" field="data">
<colorPalette type="minMidMax" maxColor="#31A35F" minColor="#FFFFFF"></colorPalette>
<scale type="minMidMax"></scale>
</format>
<format type="number" field="data %">
<option name="precision">0</option>
<option name="unit">%</option>
</format>
<format type="color" field="data %">
<colorPalette type="minMidMax" maxColor="#31A35F" minColor="#FFFFFF"></colorPalette>
<scale type="minMidMax"></scale>
</format>
<format type="number" field="%">
<option name="precision">0</option>
</format>
<drilldown>
<eval token="seconds_for_bin">if((round(relative_time(now(), $time.latest$)-relative_time(now(), $time.earliest$))/$time_resolution$)<31,31,round((relative_time(now(), $time.latest$)-relative_time(now(), $time.earliest$))/$time_resolution|s$))</eval>
<eval token="selected_forwarder">mvdedup(mvappend($selected_forwarder$,$row.hostname$))</eval>
<eval token="selected_forwarders">"hostname=".mvjoin($selected_forwarder$," OR hostname=")</eval>
</drilldown>
</table>
</panel>
</row>
<row depends="$selected_targets$">
<panel>
<title>Drill down to intermediate forwarders</title>
<html>
<h2 style="text-align:center">
<a target="_blank" rel="noopener noreferrer" href="rmorgan_forwarders?form.time.earliest=$time.earliest$&form.time.latest=$time.latest$&form.selected_targets=$hosts_drilldown$">Reopen this dashboard with selected hosts as targets</a>
</h2>
</html>
</panel>
</row>
<row depends="$selected_forwarders$">
<panel>
<title>Drill down to other dashboards for futher analysis</title>
<table>
<search base="single_forwarder_base">
<query>| stats count by hostname
| eval debug_ingestion=hostname, event_delay_for_host=hostname
| fields - count hostname</query>
</search>
<option name="drilldown">cell</option>
<drilldown>
<link target="_blank">$click.name2$?form.selected_host=$click.value$&form.time.earliest=$time.earliest$&form.time.latest=$time.latest$</link>
</drilldown>
</table>
</panel>
</row>
<row>
<panel>
<title>Metrics for selected forwarders</title>
<input type="dropdown" token="selected_metric">
<label>Select metric</label>
<choice value="kb">kb</choice>
<choice value="tcp_Bps">tcp_Bps</choice>
<choice value="tcp_KBps">tcp_KBps</choice>
<choice value="tcp_avg_thruput">tcp_avg_thruput</choice>
<choice value="tcp_Kprocessed">tcp_Kprocessed</choice>
<choice value="tcp_eps">tcp_eps</choice>
<choice value="process_time_ms">process_time_ms</choice>
<choice value="chan_new_kBps">chan_new_kBps</choice>
<choice value="evt_misc_kBps">evt_misc_kBps</choice>
<choice value="evt_raw_kBps">evt_raw_kBps</choice>
<choice value="evt_fields_kBps">evt_fields_kBps</choice>
<choice value="evt_fn_kBps">evt_fn_kBps</choice>
<choice value="evt_fv_kBps">evt_fv_kBps</choice>
<choice value="evt_fn_str_kBps">evt_fn_str_kBps</choice>
<choice value="evt_fn_meta_dyn_kBps">evt_fn_meta_dyn_kBps</choice>
<choice value="evt_fn_meta_predef_kBps">evt_fn_meta_predef_kBps</choice>
<choice value="evt_fn_meta_str_kBps">evt_fn_meta_str_kBps</choice>
<choice value="evt_fv_num_kBps">evt_fv_num_kBps</choice>
<choice value="evt_fv_str_kBps">evt_fv_str_kBps</choice>
<choice value="evt_fv_predef_kBps">evt_fv_predef_kBps</choice>
<choice value="evt_fv_offlen_kBps">evt_fv_offlen_kBps</choice>
<choice value="evt_fv_fp_kBps">evt_fv_fp_kBps</choice>
<default>tcp_avg_thruput</default>
</input>
<chart>
<title>Is channel creation healthy for each forwarder? The excessive channel creation can cause throughput problems on the indexers</title>
<search base="single_forwarder_base">
<query>| timechart limit=0 span=$seconds_for_bin$sec max($selected_metric$) by hostname</query>
</search>
<search base="annotation" type="annotation"></search>
<option name="charting.axisTitleX.visibility">collapsed</option>
<option name="charting.chart">line</option>
<option name="charting.drilldown">none</option>
<option name="height">344</option>
<option name="refresh.display">progressbar</option>
</chart>
</panel>
</row>
<row depends="$selected_forwarders$">
<panel>
<title>The percentage of the cluster the forwarder sent to over time</title>
<input type="dropdown" token="count_aggregator">
<label>Select aggregator</label>
<choice value="dc(host) as count">Count distinct hosts</choice>
<choice value="count">Count</choice>
<default>dc(host) as count</default>
</input>
<chart>
<title>How did each forwarder connect to the cluster over time? Did it connect to every indexer in the cluster? How long did it take to sweep all indexers?</title>
<search base="single_forwarder_base">
<query>| bin span=$seconds_for_bin$sec _time
| sort 0 + hostname _time
| streamstats $count_aggregator$ by hostname
| xyseries _time hostname count
| addinfo
| eval time_mins = round((_time - info_min_time) / 60,0), all_targets=$total_indexer_count$
| fields - info_* _time
| table time_mins all_indexers *</query>
</search>
<option name="charting.axisTitleX.visibility">collapsed</option>
<option name="charting.axisY.minimumNumber">0</option>
<option name="charting.chart">line</option>
<option name="charting.drilldown">none</option>
<option name="height">315</option>
<option name="refresh.display">progressbar</option>
</chart>
</panel>
</row>
<row depends="$selected_targets$">
<panel>
<title>$targest_found$ Targets found with filter - click to drill down into debug ingestion</title>
<input type="dropdown" token="selected_no_columns">
<label></label>
<choice value="1">1</choice>
<choice value="2">2</choice>
<choice value="3">3</choice>
<choice value="4">4</choice>
<choice value="5">5</choice>
<choice value="6">6</choice>
<choice value="7">7</choice>
<choice value="8">8</choice>
<default>5</default>
</input>
<table>
<title>$selected_targets$</title>
<search base="get_targets">
<query>| eval count=count-1, column=(count)% $selected_no_columns$, row=floor(count / $selected_no_columns$)
| xyseries row column host
| sort row
| fields - row</query>
</search>
<option name="count">100</option>
<drilldown>
<link target="_blank">debug_ingestion?form.selected_host=$click.value$&form.time.earliest=$time.earliest$&form.time.latest=$time.latest$</link>
</drilldown>
</table>
</panel>
</row>
</form>