Skip to content

Commit 874f415

Browse files
committed
Merged pull request from jeffland-consist via github including various changes
New alerts: - `IndexerLevel - replicationdatareceiverthread close to 100% utilisation` New macros: - `splunkadmins_metrics_source` - `splunkadmins_hec_metrics_source` New reports: - `SearchHeadLevel - Accelerated DataModels Access Info` - `SearchHeadLevel - Dashboards resulting in concurrency issues` - `SearchHeadLevel - Dashboards that may benefit from base or post-process searches` - `SearchHeadLevel - Searches by search type` Updated macros: - `splunkadmins_splunkd_source` - `splunkadmins_splunkuf_source` - `splunkadmins_mongo_source` - `splunkadmins_license_usage_source` To include a trailing wildcard (so splunkd.log.1 matches or similar) Updated alerts: - `AllSplunkEnterpriseLevel - Core Dumps Disabled` - updated matching criteria - `AllSplunkEnterpriseLevel - Non-existent roles are assigned to users` - updated matching criteria - `AllSplunkEnterpriseLevel - Splunk Servers throwing runScript errors` - updated matching criteria - `AllSplunkEnterpriseLevel - sendmodalert errors` - updated matching criteria - `AllSplunkEnterpriseLevel - Splunkd Log Messages Admins Only` - updated matching criteria - `AllSplunkEnterpriseLevel - Splunk Servers with resource starvation` - updated to use `splunkadmins_splunkd_source` macro - `AllSplunkLevel - No recent metrics.log data` - corrected comment to be after tstats, updated to use `splunkadmins_metrics_source` macro - `AllSplunkLevel - DeploymentServer Application Installation Error` - updated matching criteria - `DeploymentServer - Application Not Found On Deployment Server` - updated matching criteria - `ForwarderLevel - Channel churn issues` - updated to use `splunkadmins_metrics_source` macro - `ForwarderLevel - Forwarders connecting to a single endpoint for extended periods` - updated to use `splunkadmins_metrics_source` macro - `ForwarderLevel - Forwarders connecting to a single endpoint for extended periods UF level` - updated to use `splunkadmins_metrics_source` macro - `ForwarderLevel - Splunk HTTP Listener Overwhelmed` - updated matching criteria - `ForwarderLevel - Splunk Universal Forwarders Exceeding the File Descriptor Cache` - updated matching criteria - `ForwarderLevel - Splunk Universal Forwarders that are time shifting` - updated matching criteria - `ForwarderLevel - Stopping all listening ports` - updated to use `splunkadmins_splunkd_source` macro - `IndexerLevel - Buckets changes per day` - updated matching criteria, updated to use `splunkadmins_splunkd_source` macro - `IndexerLevel - Indexer Queues May Have Issues` - updated to use `splunkadmins_metrics_source` macro - `IndexerLevel - Knowledge bundle upload stats` - updated to use `splunkadmins_metrics_source` macro - `IndexerLevel - platform_stats.indexers totalgb_thruput measurement` - updated to use `splunkadmins_metrics_source` macro - `IndexerLevel - platform_stats.indexers stddev measurement` - updated to use `splunkadmins_metrics_source` macro - `IndexerLevel - platform_stats.indexers stddev incoming measurement` - updated to use `splunkadmins_metrics_source` macro - `IndexerLevel - Weekly Broken Events Report` - updated matching criteria - `IndexerLevel - Time format has changed multiple log types in one sourcetype` - updated matching criteria - `IndexerLevel - Buckets have being frozen due to index sizing` - updated matching criteria - `IndexerLevel - Unclean Shutdown - Fsck` - updated matching criteria - `IndexerLevel - Index not defined` - updated matching criteria - `IndexerLevel - Timestamp parsing issues combined alert` - updated to use `splunkadmins_splunkd_source` macro - `IndexerLevel - S2SFileReceiver Error` - updated matching criteria - `MonitoringConsole - Core dumps have appeared on the filesystem` - corrected to use `indexer_cluster_name` macro - `MonitoringConsole - Crash logs have appeared on the filesystem` - corrected description - `SearchHeadLevel - LDAP users have been disabled or left the company cleanup required` - updated matching criteria - `SearchHeadLevel - Long filenames may be causing issues` - updated matching criteria - `SearchHeadLevel - SHCluster Artifact Replication Issues` - updated matching criteria - `SearchHeadLevel - Captain Switchover Occurring` - updated matching criteria - `SearchHeadLevel - Knowledge bundle replication times metrics.log` - updated to use `splunkadmins_metrics_source` macro - `SearchHeadLevel - Detect bundle pushes no longer occurring` - updated to use `splunkadmins_metrics_source` macro - `SearchHeadLevel - WLM aborted searches` - updated matching criteria - `SearchHeadLevel - SHC Captain unable to establish common bundle` - updated to use `splunkadmins_splunkd_source` macro Updated dashboards: - `ClusterMasterJobs.xml` - `heavyforwarders_max_data_queue_sizes_by_name.xml` - `heavyforwarders_max_data_queue_sizes_by_name_v8.xml` - `hec_performance.xml` - `indexer_data_spread.xml` - `indexer_max_data_queue_sizes_by_name.xml` - `indexer_max_data_queue_sizes_by_name_v8.xml` - `rolled_buckets_by_index.xml` - `smartstore_stats.xml` - `splunk_forwarder_data_balance_tuning.xml` - `splunk_forwarder_output_tuning.xml` To use `splunkadmins_splunkd_source` and/or `splunkadmins_metrics_source` macros
1 parent 181122c commit 874f415

17 files changed

+317
-107
lines changed

README.md

Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@ The macros are listed below, many expect a `host=A OR host=B` item to assist in
6161
The macros are used in various alerts which you can optionally enable, the alerts will raise a triggered alert only as emails are not allowed for Splunk app certification purposes
6262
The macros are also used in the dashboards for this application
6363

64+
There are also other macros you might want to consider editing before enabling the alerts, for example `splunkadmins_replicationfactor`.
65+
6466
The vast majority of the alerts also have a macro(s) which you can customise to tweak the search results, for example the macro `splunkadmins_weekly_truncated` allows the alert, `IndexerLevel - Weekly Truncated Logs Report`, to be customised without changing the alert itself. This will make upgrading to a new version of this app more straightforward
6567
I have attempted to provide an appropriate macro in any alert where I deemed it appropriate, feedback is welcome for any alert that you believe should have a macro or requires further improvement
6668

@@ -207,6 +209,7 @@ The below list of alerts and reports are actively used since version 8.0.x and i
207209
- `IndexerLevel - platform_stats.indexers stddev incoming measurement`
208210
- `IndexerLevel - platform_stats.indexers totalgb measurement`
209211
- `IndexerLevel - platform_stats.indexers totalgb_thruput measurement`
212+
- `IndexerLevel - replicationdatareceiverthread close to 100% utilisation`
210213
- `IndexerLevel - RemoteSearches find datamodel acceleration with wildcards`
211214
- `IndexerLevel - RemoteSearches Indexes Stats`
212215
- `IndexerLevel - RemoteSearches Indexes Stats Wilcard`
@@ -303,6 +306,86 @@ The following ideas relate to this issue:
303306
Feel free to open an issue on github or use the contact author on the SplunkBase link and I will try to get back to you when possible, thanks!
304307

305308
## Release Notes
309+
### 3.0.2
310+
Merged pull request from jeffland-consist via github including various changes
311+
312+
New alerts:
313+
- `IndexerLevel - replicationdatareceiverthread close to 100% utilisation`
314+
315+
New macros:
316+
- `splunkadmins_metrics_source`
317+
- `splunkadmins_hec_metrics_source`
318+
319+
New reports:
320+
- `SearchHeadLevel - Accelerated DataModels Access Info`
321+
- `SearchHeadLevel - Dashboards resulting in concurrency issues`
322+
- `SearchHeadLevel - Dashboards that may benefit from base or post-process searches`
323+
- `SearchHeadLevel - Searches by search type`
324+
325+
Updated macros:
326+
- `splunkadmins_splunkd_source`
327+
- `splunkadmins_splunkuf_source`
328+
- `splunkadmins_mongo_source`
329+
- `splunkadmins_license_usage_source`
330+
331+
To include a trailing wildcard (so splunkd.log.1 matches or similar)
332+
333+
Updated alerts:
334+
- `AllSplunkEnterpriseLevel - Core Dumps Disabled` - updated matching criteria
335+
- `AllSplunkEnterpriseLevel - Non-existent roles are assigned to users` - updated matching criteria
336+
- `AllSplunkEnterpriseLevel - Splunk Servers throwing runScript errors` - updated matching criteria
337+
- `AllSplunkEnterpriseLevel - sendmodalert errors` - updated matching criteria
338+
- `AllSplunkEnterpriseLevel - Splunkd Log Messages Admins Only` - updated matching criteria
339+
- `AllSplunkEnterpriseLevel - Splunk Servers with resource starvation` - updated to use `splunkadmins_splunkd_source` macro
340+
- `AllSplunkLevel - No recent metrics.log data` - corrected comment to be after tstats, updated to use `splunkadmins_metrics_source` macro
341+
- `AllSplunkLevel - DeploymentServer Application Installation Error` - updated matching criteria
342+
- `DeploymentServer - Application Not Found On Deployment Server` - updated matching criteria
343+
- `ForwarderLevel - Channel churn issues` - updated to use `splunkadmins_metrics_source` macro
344+
- `ForwarderLevel - Forwarders connecting to a single endpoint for extended periods` - updated to use `splunkadmins_metrics_source` macro
345+
- `ForwarderLevel - Forwarders connecting to a single endpoint for extended periods UF level` - updated to use `splunkadmins_metrics_source` macro
346+
- `ForwarderLevel - Splunk HTTP Listener Overwhelmed` - updated matching criteria
347+
- `ForwarderLevel - Splunk Universal Forwarders Exceeding the File Descriptor Cache` - updated matching criteria
348+
- `ForwarderLevel - Splunk Universal Forwarders that are time shifting` - updated matching criteria
349+
- `ForwarderLevel - Stopping all listening ports` - updated to use `splunkadmins_splunkd_source` macro
350+
- `IndexerLevel - Buckets changes per day` - updated matching criteria, updated to use `splunkadmins_splunkd_source` macro
351+
- `IndexerLevel - Indexer Queues May Have Issues` - updated to use `splunkadmins_metrics_source` macro
352+
- `IndexerLevel - Knowledge bundle upload stats` - updated to use `splunkadmins_metrics_source` macro
353+
- `IndexerLevel - platform_stats.indexers totalgb_thruput measurement` - updated to use `splunkadmins_metrics_source` macro
354+
- `IndexerLevel - platform_stats.indexers stddev measurement` - updated to use `splunkadmins_metrics_source` macro
355+
- `IndexerLevel - platform_stats.indexers stddev incoming measurement` - updated to use `splunkadmins_metrics_source` macro
356+
- `IndexerLevel - Weekly Broken Events Report` - updated matching criteria
357+
- `IndexerLevel - Time format has changed multiple log types in one sourcetype` - updated matching criteria
358+
- `IndexerLevel - Buckets have being frozen due to index sizing` - updated matching criteria
359+
- `IndexerLevel - Unclean Shutdown - Fsck` - updated matching criteria
360+
- `IndexerLevel - Index not defined` - updated matching criteria
361+
- `IndexerLevel - Timestamp parsing issues combined alert` - updated to use `splunkadmins_splunkd_source` macro
362+
- `IndexerLevel - S2SFileReceiver Error` - updated matching criteria
363+
- `MonitoringConsole - Core dumps have appeared on the filesystem` - corrected to use `indexer_cluster_name` macro
364+
- `MonitoringConsole - Crash logs have appeared on the filesystem` - corrected description
365+
- `SearchHeadLevel - LDAP users have been disabled or left the company cleanup required` - updated matching criteria
366+
- `SearchHeadLevel - Long filenames may be causing issues` - updated matching criteria
367+
- `SearchHeadLevel - SHCluster Artifact Replication Issues` - updated matching criteria
368+
- `SearchHeadLevel - Captain Switchover Occurring` - updated matching criteria
369+
- `SearchHeadLevel - Knowledge bundle replication times metrics.log` - updated to use `splunkadmins_metrics_source` macro
370+
- `SearchHeadLevel - Detect bundle pushes no longer occurring` - updated to use `splunkadmins_metrics_source` macro
371+
- `SearchHeadLevel - WLM aborted searches` - updated matching criteria
372+
- `SearchHeadLevel - SHC Captain unable to establish common bundle` - updated to use `splunkadmins_splunkd_source` macro
373+
374+
Updated dashboards:
375+
- `ClusterMasterJobs.xml`
376+
- `heavyforwarders_max_data_queue_sizes_by_name.xml`
377+
- `heavyforwarders_max_data_queue_sizes_by_name_v8.xml`
378+
- `hec_performance.xml`
379+
- `indexer_data_spread.xml`
380+
- `indexer_max_data_queue_sizes_by_name.xml`
381+
- `indexer_max_data_queue_sizes_by_name_v8.xml`
382+
- `rolled_buckets_by_index.xml`
383+
- `smartstore_stats.xml`
384+
- `splunk_forwarder_data_balance_tuning.xml`
385+
- `splunk_forwarder_output_tuning.xml`
386+
387+
To use `splunkadmins_splunkd_source` and/or `splunkadmins_metrics_source` macros
388+
306389
### 3.0.1
307390
New macros:
308391
- `splunkadmins_shutdown_time_by_period`

app.manifest

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"id": {
66
"group": null,
77
"name": "SplunkAdmins",
8-
"version": "3.0.1"
8+
"version": "3.0.2"
99
},
1010
"author": [
1111
{

default/app.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ label = SplunkAdmins
1212
[launcher]
1313
author = Gareth Anderson
1414
description = Alerts and dashboards as described in the Splunk 2017 conf presentation How did you get so big?
15-
version = 3.0.1
15+
version = 3.0.2
1616

1717
[package]
1818
id = SplunkAdmins

default/data/ui/nav/default.xml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,7 @@
161161
<a href="/app/SplunkAdmins/alert?s=%2FservicesNS%2Fnobody%2FSplunkAdmins%2Fsaved%2Fsearches%2FIndexerLevel%20-%20IndexConfig%20Warnings%20from%20Splunk%20indexers">IndexConfig Warnings from Splunk indexers</a>
162162
<a href="/app/SplunkAdmins/alert?s=%2FservicesNS%2Fnobody%2FSplunkAdmins%2Fsaved%2Fsearches%2FIndexerLevel%20-%20Index%20not%20defined">Index not defined</a>
163163
<a href="/app/SplunkAdmins/alert?s=%2FservicesNS%2Fnobody%2FSplunkAdmins%2Fsaved%2Fsearches%2FForwarderLevel%20-%20Stopping%20all%20listening%20ports">ForwarderLevel - Stopping all listening ports</a>
164+
<a href="/app/SplunkAdmins/alert?s=%2FservicesNS%2Fnobody%2FSplunkAdmins%2Fsaved%2Fsearches%2FIndexerLevel%20-%20replicationdatareceiverthread%20close%20to%20100%25%20utilisation">IndexerLevel - replicationdatareceiverthread close to 100% utilisation</a>
164165
</collection>
165166
<collection label="Data Parsing">
166167
<a href="/app/SplunkAdmins/alert?s=%2FservicesNS%2Fnobody%2FSplunkAdmins%2Fsaved%2Fsearches%2FIndexerLevel%20-%20Failures%20To%20Parse%20Timestamp%20Correctly%20%28excluding%20breaking%20issues%29">Failures To Parse Timestamp Correctly (excluding breaking issues)</a>
@@ -200,6 +201,7 @@
200201
<view name="splunk_forwarder_data_balance_tuning" />
201202
<view name="splunk_introspection_io_stats" />
202203
<a href="/app/SplunkAdmins/alert?s=%2FservicesNS%2Fnobody%2FSplunkAdmins%2Fsaved%2Fsearches%2FForwarderLevel%20-%20Channel%20churn%20issues">ForwarderLevel - Channel churn issues</a>
204+
<a href="/app/SplunkAdmins/alert?s=%2FservicesNS%2Fnobody%2FSplunkAdmins%2Fsaved%2Fsearches%2FIndexerLevel%20-%20replicationdatareceiverthread%20close%20to%20100%25%20utilisation">IndexerLevel - replicationdatareceiverthread close to 100% utilisation</a>
203205
</collection>
204206
<collection label="Other">
205207
<a href="/app/SplunkAdmins/alert?s=%2FservicesNS%2Fnobody%2FSplunkAdmins%2Fsaved%2Fsearches%2FIndexerLevel%20-%20Indexer%20not%20accepting%20TCP%20Connections">Indexer not accepting TCP Connections</a>
@@ -288,13 +290,15 @@
288290
<saved name="SearchHeadLevel - Search Queries summary exact match" />
289291
<saved name="SearchHeadLevel - Search Queries summary exact match by user" />
290292
<saved name="SearchHeadLevel - Search Queries summary exact match by index" />
293+
<saved name="SearchHeadLevel - Searches by search type" />
291294
<saved name="SearchHeadLevel - IndexesPerUser Report" />
292295
<saved name="IndexerLevel - RemoteSearches Indexes Stats" />
293-
<saved name="IndexerLevel - RemoteSearches Indexes Stats Wilcard" />
296+
<saved name="IndexerLevel - RemoteSearches Indexes Stats Wilcard" />
294297
</collection>
295298
<collection label="Data Models">
296299
<saved name="SearchHeadLevel - Data Model Acceleration Completion Status" />
297300
<saved name="SearchHeadLevel - DataModel Fields" />
301+
<saved name="SearchHeadLevel - Accelerated DataModels Access Info" />
298302
<saved name="IndexerLevel - DataModel Acceleration - Indexes in use" />
299303
<a href="/app/SplunkAdmins/alert?s=%2FservicesNS%2Fnobody%2FSplunkAdmins%2Fsaved%2Fsearches%2FSearchHeadLevel%20-%20datamodel%20errors%20in%20splunkd">datamodel errors in splunkd</a>
300304
<view name="data_model_rebuild_monitor" />
@@ -339,6 +343,8 @@
339343
<saved name="SearchHeadLevel - Dashboard refresh intervals" />
340344
<saved name="SearchHeadLevel - Dashboards using depends and running searches in the background" />
341345
<saved name="SearchHeadLevel - Dashboards using special characters" />
346+
<saved name="SearchHeadLevel - Dashboards resulting in concurrency issues" />
347+
<saved name="SearchHeadLevel - Dashboards that may benefit from base or post-process searches" />
342348
</collection>
343349
<collection label="Scheduled Searches">
344350
<a href="/app/SplunkAdmins/alert?s=%2FservicesNS%2Fnobody%2FSplunkAdmins%2Fsaved%2Fsearches%2FSearchHeadLevel%20-%20Scheduled%20searches%20not%20specifying%20an%20index%20macro%20version">Scheduled searches not specifying an index macro version</a>

default/data/ui/views/ClusterMasterJobs.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<title>Job Count</title>
1919
<chart>
2020
<search>
21-
<query>index=_internal `splunkadmins_clustermaster_oshost` sourcetype=splunkd source=*splunkd.log *CMRepJob running job | timechart span=$span$ count by job</query>
21+
<query>index=_internal `splunkadmins_clustermaster_oshost` sourcetype=splunkd `splunkadmins_splunkd_source` *CMRepJob running job | timechart span=$span$ count by job</query>
2222
<earliest>$time.earliest$</earliest>
2323
<latest>$time.latest$</latest>
2424
<sampleRatio>1</sampleRatio>
@@ -63,7 +63,7 @@
6363
<title>Fixup Jobs</title>
6464
<chart>
6565
<search>
66-
<query>index=_internal source=*metrics.log sourcetype=splunkd name=cmmaster_service `splunkadmins_clustermaster_oshost` group=subtask_counts
66+
<query>index=_internal `splunkadmins_metrics_source` sourcetype=splunkd name=cmmaster_service `splunkadmins_clustermaster_oshost` group=subtask_counts
6767
| timechart max(to_fix_gen), max(to_fix_rep_factor), max(to_fix_search_factor) span=$span$</query>
6868
<earliest>$time.earliest$</earliest>
6969
<latest>$time.latest$</latest>
@@ -104,4 +104,4 @@
104104
</chart>
105105
</panel>
106106
</row>
107-
</form>
107+
</form>

default/data/ui/views/heavyforwarders_max_data_queue_sizes_by_name.xml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<title>Parsing Queue Fill Size</title>
2323
<chart>
2424
<search>
25-
<query>index=_internal $hosts$ source=*metrics.log sourcetype=splunkd group=queue (name=parsingqueue)
25+
<query>index=_internal $hosts$ `splunkadmins_metrics_source` sourcetype=splunkd group=queue (name=parsingqueue)
2626
| eval ingest_pipe = if(isnotnull(ingest_pipe), ingest_pipe, "none") | search ingest_pipe=*
2727
| eval max=if(isnotnull(max_size_kb),max_size_kb,max_size)
2828
| eval curr=if(isnotnull(current_size_kb),current_size_kb,current_size)
@@ -49,7 +49,7 @@
4949
<title>Aggregation Queue Fill Size</title>
5050
<chart>
5151
<search>
52-
<query>index=_internal $hosts$ source=*metrics.log sourcetype=splunkd group=queue (name=aggqueue)
52+
<query>index=_internal $hosts$ `splunkadmins_metrics_source` sourcetype=splunkd group=queue (name=aggqueue)
5353
| eval ingest_pipe = if(isnotnull(ingest_pipe), ingest_pipe, "none") | search ingest_pipe=*
5454
| eval max=if(isnotnull(max_size_kb),max_size_kb,max_size)
5555
| eval curr=if(isnotnull(current_size_kb),current_size_kb,current_size)
@@ -72,7 +72,7 @@
7272
<title>Typing Queue Fill Size</title>
7373
<chart>
7474
<search>
75-
<query>index=_internal $hosts$ source=*metrics.log sourcetype=splunkd group=queue (name=typingqueue)
75+
<query>index=_internal $hosts$ `splunkadmins_metrics_source` sourcetype=splunkd group=queue (name=typingqueue)
7676
| eval ingest_pipe = if(isnotnull(ingest_pipe), ingest_pipe, "none") | search ingest_pipe=*
7777
| eval max=if(isnotnull(max_size_kb),max_size_kb,max_size)
7878
| eval curr=if(isnotnull(current_size_kb),current_size_kb,current_size)
@@ -95,7 +95,7 @@
9595
<title>Index Queue Size</title>
9696
<chart>
9797
<search>
98-
<query>index=_internal $hosts$ source=*metrics.log sourcetype=splunkd group=queue (name=indexqueue)
98+
<query>index=_internal $hosts$ `splunkadmins_metrics_source` sourcetype=splunkd group=queue (name=indexqueue)
9999
| eval name=case(name=="aggqueue","2 - Aggregation Queue",
100100
name=="indexqueue", "4 - Indexing Queue",
101101
name=="parsingqueue", "1 - Parsing Queue",
@@ -143,7 +143,7 @@
143143
<title>TCPOut Queue Sizes</title>
144144
<chart>
145145
<search>
146-
<query>index=_internal $hosts$ source=*metrics.log sourcetype=splunkd group=queue (name=tcpout_*)
146+
<query>index=_internal $hosts$ `splunkadmins_metrics_source` sourcetype=splunkd group=queue (name=tcpout_*)
147147
| eval ingest_pipe = if(isnotnull(ingest_pipe), ingest_pipe, "none") | search ingest_pipe=*
148148
| eval max=if(isnotnull(max_size_kb),max_size_kb,max_size)
149149
| eval curr=if(isnotnull(current_size_kb),current_size_kb,current_size)
@@ -188,7 +188,7 @@
188188
<title>Blocked Forwarder Queues</title>
189189
<chart>
190190
<search>
191-
<query>index=_internal $hosts$ source=*metrics.log sourcetype=splunkd group=queue max_size_kb&gt;0 | stats count(eval(isnotnull(blocked))) AS blockedCount, count by name, host, _time | eval percBlocked=(100/count)*blockedCount | eval hostQueue = host . "_" . name | where percBlocked&gt;0 | timechart limit=50 useOther=false span=$span$ avg(percBlocked) by hostQueue</query>
191+
<query>index=_internal $hosts$ `splunkadmins_metrics_source` sourcetype=splunkd group=queue max_size_kb&gt;0 | stats count(eval(isnotnull(blocked))) AS blockedCount, count by name, host, _time | eval percBlocked=(100/count)*blockedCount | eval hostQueue = host . "_" . name | where percBlocked&gt;0 | timechart limit=50 useOther=false span=$span$ avg(percBlocked) by hostQueue</query>
192192
<earliest>$time.earliest$</earliest>
193193
<latest>$time.latest$</latest>
194194
<sampleRatio>1</sampleRatio>
@@ -226,7 +226,7 @@
226226
<title>TcpOut KB per second per forwarder</title>
227227
<chart>
228228
<search>
229-
<query>index=_internal $hosts$ source=*metrics.log sourcetype=splunkd group=thruput name=cooked_output OR name=uncooked_output
229+
<query>index=_internal $hosts$ `splunkadmins_metrics_source` sourcetype=splunkd group=thruput name=cooked_output OR name=uncooked_output
230230
| timechart useother=false span=$span$ limit=20 per_second(kb) by host
231231
</query>
232232
<earliest>$time.earliest$</earliest>

0 commit comments

Comments
 (0)