Skip to content

Commit 5011aca

Browse files
committed
New alerts:
- `SearchHeadLevel - summary indexing searches not using durable search` New macros: - `indexer_cluster_name` without any parameters created as per issue #19 (barrettnet) New reports: - `SearchHeadLevel - audit.log - lookup usage` - `SearchHeadLevel - license usage per sourcetype per index` - `SearchHeadLevel - Lookup file owners` - `IndexerLevel - RemoteSearches - lookup usage` Updated alerts: - `AllSplunkEnterpriseLevel - Splunkd Log Messages Admins Only` - more matching criteria - `SearchHeadLevel - Scheduled Searches That Cannot Run` - as per issue #18 (AHCL1) - `SearchHeadLevel - SHC Captain unable to establish common bundle` - additional exclusion for Splunk 9.0.x Updated reports: - `IndexerLevel - platform_stats.indexers totalgb measurement` - added * to the end of `license_usage.log`, updated `indexer_cluster_name` with parameter as per issue #19 (barrettnet) - `IndexerLevel - platform_stats.indexers totalgb_thruput measurement` - updated `indexer_cluster_name` with parameter as per issue #19 (barrettnet) - `SearchHeadLevel - Search Queries summary exact match` - removed newlines to improve accuracy - `SearchHeadLevel - Search Queries summary non-exact match` - removed newlines to improve accuracy Updated recommended links in nav menu
1 parent 37d3954 commit 5011aca

File tree

6 files changed

+275
-41
lines changed

6 files changed

+275
-41
lines changed

README.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@ There are many Splunk conf talks available on this subject in various conference
173173
- `SearchHeadLevel - Searches dispatched as owner by other users`
174174
- `SearchHeadLevel - Search Messages user level`
175175
- `SearchHeadLevel - audit logs showing all time searches`
176+
- `SearchHeadLevel - summary indexing searches not using durable search`
176177

177178
Are all well suited to an automated email using the sendresults command or a similar function as they involve end user configuration which the individual can change/fix
178179

@@ -215,12 +216,14 @@ The below list of alerts and reports are actively used since version 8.0.x and i
215216
- `IndexerLevel - RemoteSearches find datamodel acceleration with wildcards`
216217
- `IndexerLevel - RemoteSearches Indexes Stats`
217218
- `IndexerLevel - RemoteSearches Indexes Stats Wilcard`
219+
- `IndexerLevel - RemoteSearches - lookup usage`
218220
- `IndexerLevel - Search Failures`
219221
- `IndexerLevel - Slow peer from remote searches`
220222
- `IndexerLevel - strings_metadata triggering bucket rolling`
221223
- `MonitoringConsole - Check OS ulimits via REST`
222224
- `MonitoringConsole - Core dumps have appeared on the filesystem`
223225
- `MonitoringConsole - Crash logs have appeared on the filesystem`
226+
- `SearchHeadLevel - audit.log - lookup usage`
224227
- `SearchHeadLevel - authorize.conf settings will prevent some users from appearing in the UI`
225228
- `SearchHeadLevel - Captain Switchover Occurring`
226229
- `SearchHeadLevel - Dashboards invalid character in splunkd`
@@ -233,7 +236,9 @@ The below list of alerts and reports are actively used since version 8.0.x and i
233236
- `SearchHeadLevel - Detect searches hitting corrupt buckets`
234237
- `SearchHeadLevel - dispatch metadata files may need removal`
235238
- `SearchHeadLevel - Excessive REST API usage`
239+
- `SearchHeadLevel - Knowledge Bundle contents`
236240
- `SearchHeadLevel - KVStore Or Conf Replication Issues Are Occurring`
241+
- `SearchHeadLevel - license usage per sourcetype per index`
237242
- `SearchHeadLevel - platform_stats access summary`
238243
- `SearchHeadLevel - platform_stats.audit metrics api`
239244
- `SearchHeadLevel - platform_stats.audit metrics searches`
@@ -255,6 +260,7 @@ The below list of alerts and reports are actively used since version 8.0.x and i
255260
- `SearchHeadLevel - SHC Captain unable to establish common bundle`
256261
- `SearchHeadLevel - Splunk alert actions exceeding the max_action_results limit`
257262
- `SearchHeadLevel - Splunk Scheduler logs have not appeared in the last`
263+
- `SearchHeadLevel - summary indexing searches not using durable search`
258264
- `SearchHeadLevel - Users exceeding the disk quota`
259265
- `syslog-ng - cache statistics summary`
260266

@@ -309,6 +315,33 @@ The following ideas relate to this issue:
309315
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!
310316

311317
## Release Notes
318+
### 3.0.8
319+
New alerts:
320+
- `SearchHeadLevel - summary indexing searches not using durable search`
321+
322+
New macros:
323+
- `indexer_cluster_name` without any parameters created as per issue #19 (barrettnet)
324+
325+
New reports:
326+
- `SearchHeadLevel - audit.log - lookup usage`
327+
- `SearchHeadLevel - license usage per sourcetype per index`
328+
- `SearchHeadLevel - Lookup file owners`
329+
- `IndexerLevel - RemoteSearches - lookup usage`
330+
331+
Updated alerts:
332+
- `AllSplunkEnterpriseLevel - Splunkd Log Messages Admins Only` - more matching criteria
333+
- `SearchHeadLevel - Scheduled Searches That Cannot Run` - as per issue #18 (AHCL1)
334+
- `SearchHeadLevel - SHC Captain unable to establish common bundle` - additional exclusion for Splunk 9.0.x
335+
336+
337+
Updated reports:
338+
- `IndexerLevel - platform_stats.indexers totalgb measurement` - added * to the end of `license_usage.log`, updated `indexer_cluster_name` with parameter as per issue #19 (barrettnet)
339+
- `IndexerLevel - platform_stats.indexers totalgb_thruput measurement` - updated `indexer_cluster_name` with parameter as per issue #19 (barrettnet)
340+
- `SearchHeadLevel - Search Queries summary exact match` - removed newlines to improve accuracy
341+
- `SearchHeadLevel - Search Queries summary non-exact match` - removed newlines to improve accuracy
342+
343+
Updated recommended links in nav menu
344+
312345
### 3.0.7
313346
New macros:
314347
- `sysloghosts`

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.7
15+
version = 3.0.8
1616

1717
[package]
1818
id = SplunkAdmins

default/data/ui/nav/default.xml

Lines changed: 27 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@
166166
<a href="/app/SplunkAdmins/alert?s=%2FservicesNS%2Fnobody%2FSplunkAdmins%2Fsaved%2Fsearches%2FIndexerLevel%20-%20Index%20not%20defined">Index not defined</a>
167167
<a href="/app/SplunkAdmins/alert?s=%2FservicesNS%2Fnobody%2FSplunkAdmins%2Fsaved%2Fsearches%2FForwarderLevel%20-%20Stopping%20all%20listening%20ports">ForwarderLevel - Stopping all listening ports</a>
168168
<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>
169+
<saved name="SearchHeadLevel - license usage per sourcetype per index" />
169170
</collection>
170171
<collection label="Data Parsing">
171172
<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>
@@ -238,6 +239,7 @@
238239
<saved name="IndexerLevel - Maximum memory utilisation per search" />
239240
<saved name="IndexerLevel - RemoteSearches find all time searches" />
240241
<saved name="IndexerLevel - RemoteSearches find datamodel acceleration with wildcards" />
242+
<saved name="IndexerLevel - RemoteSearches - lookup usage" />
241243
<collection label="SmartStore">
242244
<saved name="SearchHeadLevel - SmartStore cache misses - savedsearches" />
243245
<saved name="SearchHeadLevel - SmartStore cache misses - dashboards" />
@@ -268,6 +270,7 @@
268270
<saved name="SearchHeadLevel - platform_stats.user_stats.introspection metrics populating search" />
269271
<saved name="SearchHeadLevel - platform_stats access summary" />
270272
<saved name="SearchHeadLevel - platform_stats.remote_searches metrics populating search" />
273+
<saved name="SearchHeadLevel - audit.log - lookup usage" />
271274
<saved name="IndexerLevel - platform_stats.counters hosts" />
272275
<saved name="IndexerLevel - platform_stats.counters hosts 24hour" />
273276
<saved name="IndexerLevel - platform_stats.indexers totalgb measurement" />
@@ -276,6 +279,7 @@
276279
<saved name="IndexerLevel - platform_stats.indexers stddev incoming measurement" />
277280
<saved name="IndexerLevel - RemoteSearches Indexes Stats" />
278281
<saved name="IndexerLevel - RemoteSearches Indexes Stats Wilcard" />
282+
<saved name="IndexerLevel - RemoteSearches - lookup usage" />
279283
</collection>
280284
<collection label="External">
281285
<a href="https://github.com/silkyrich/cluster_health_tools/">The cluster_health_tools git repository contains very useful dashboards for various indexer related performance stats</a>
@@ -286,7 +290,8 @@
286290
</collection>
287291
<collection label="SearchHeadLevel">
288292
<collection label="Analytics">
289-
<saved name="SearchHeadLevel - Search Queries Per Day Audit Logs" />
293+
<saved name="SearchHeadLevel - audit.log - lookup usage" />
294+
<saved name="SearchHeadLevel - Search Queries Per Day Audit Logs" />
290295
<saved name="SearchHeadLevel - Search Queries By Type Audit Logs" />
291296
<saved name="SearchHeadLevel - Search Queries By Type Audit Logs macro version" />
292297
<saved name="SearchHeadLevel - Search Queries By Type Audit Logs macro version other" />
@@ -297,9 +302,12 @@
297302
<saved name="SearchHeadLevel - Search Queries summary exact match by index" />
298303
<saved name="SearchHeadLevel - Sourcetypes usage from search telemetry data" />
299304
<saved name="SearchHeadLevel - Searches by search type" />
300-
<saved name="SearchHeadLevel - IndexesPerUser Report" />
305+
<saved name="SearchHeadLevel - IndexesPerUser Report" />
306+
<saved name="SearchHeadLevel - license usage per sourcetype per index" />
307+
<saved name="SearchHeadLevel - Lookup file owners" />
301308
<saved name="IndexerLevel - RemoteSearches Indexes Stats" />
302-
<saved name="IndexerLevel - RemoteSearches Indexes Stats Wilcard" />
309+
<saved name="IndexerLevel - RemoteSearches Indexes Stats Wilcard" />
310+
<saved name="IndexerLevel - RemoteSearches - lookup usage" />
303311
</collection>
304312
<collection label="Data Models">
305313
<saved name="SearchHeadLevel - Data Model Acceleration Completion Status" />
@@ -361,6 +369,7 @@
361369
<saved name="SearchHeadLevel - SavedSearches using special characters" />
362370
<a href="/app/SplunkAdmins/alert?s=%2FservicesNS%2Fnobody%2FSplunkAdmins%2Fsaved%2Fsearches%2FSearchHeadLevel%20-%20Splunk%20alert%20actions%20exceeding%20the%20max_action_results%20limit">Splunk alert actions exceeding the max_action_results limit</a>
363371
<a href="/app/SplunkAdmins/alert?s=%2FservicesNS%2Fnobody%2FSplunkAdmins%2Fsaved%2Fsearches%2FSearchHeadLevel%20-%20Splunk%20Scheduler%20logs%20have%20not%20appeared%20in%20the%20last">Splunk Scheduler logs have not appeared in the last</a>
372+
<a href="/app/SplunkAdmins/alert?s=%2FservicesNS%2Fnobody%2FSplunkAdmins%2Fsaved%2Fsearches%2FSearchHeadLevel%20-%20summary%20indexing%20searches%20not%20using%20durable%20search">SearchHeadLevel - summary indexing searches not using durable search</a>
364373
</collection>
365374
<collection label="Other">
366375
<saved name="SearchHeadLevel - Knowledge bundle replication times metrics.log" />
@@ -392,6 +401,7 @@
392401
<a href="/app/SplunkAdmins/alert?s=%2FservicesNS%2Fnobody%2FSplunkAdmins%2Fsaved%2Fsearches%2FSearchHeadLevel%20-%20Splunk%20login%20attempts%20from%20users%20that%20do%20not%20have%20any%20LDAP%20roles">Splunk login attempts from users that do not have any LDAP roles</a>
393402
<a href="/app/SplunkAdmins/alert?s=%2FservicesNS%2Fnobody%2FSplunkAdmins%2Fsaved%2Fsearches%2FSearchHeadLevel%20-%20authorize.conf%20settings%20will%20prevent%20some%20users%20from%20appearing%20in%20the%20UI">SearchHeadLevel - authorize.conf settings will prevent some users from appearing in the UI</a>
394403
<saved name="SearchHeadLevel - Knowledge Bundle contents" />
404+
<a href="/app/SplunkAdmins/alert?s=%2FservicesNS%2Fnobody%2FSplunkAdmins%2Fsaved%2Fsearches%2FSearchHeadLevel%20-%20summary%20indexing%20searches%20not%20using%20durable%20search">SearchHeadLevel - summary indexing searches not using durable search</a>
395405
</collection>
396406
<collection label="Quotas">
397407
<a href="/app/SplunkAdmins/alert?s=%2FservicesNS%2Fnobody%2FSplunkAdmins%2Fsaved%2Fsearches%2FSearchHeadLevel%20-%20Splunk%20Max%20Historic%20Search%20Limits%20Reached">Splunk Max Historic Search Limits Reached</a>
@@ -425,8 +435,10 @@
425435
<saved name="SearchHeadLevel - Searches dispatched as owner by other users" />
426436
<saved name="SearchHeadLevel - Lookup CSV size" />
427437
<saved name="SearchHeadLevel - audit logs showing all time searches" />
438+
<saved name="SearchHeadLevel - audit.log - lookup usage" />
428439
<saved name="IndexerLevel - RemoteSearches find all time searches" />
429440
<saved name="IndexerLevel - RemoteSearches find datamodel acceleration with wildcards" />
441+
<saved name="IndexerLevel - RemoteSearches - lookup usage" />
430442
<saved name="SearchHeadLevel - Search Messages field extractor slow" />
431443
<saved name="SearchHeadLevel - SmartStore cache misses - savedsearches" />
432444
<saved name="SearchHeadLevel - SmartStore cache misses - dashboards" />
@@ -436,12 +448,16 @@
436448
<view name="knowledge_objects_by_app" />
437449
<view name="lookups_in_use_finder" />
438450
<view name="lookup_audit" />
451+
<saved name="SearchHeadLevel - Lookup file owners" />
439452
<saved name="SearchHeadLevel - Knowledge bundle status on indexers" />
440453
<saved name="SearchHeadLevel - Knowledge bundle replication times metrics.log" />
441454
<saved name="SearchHeadLevel - Knowledge Bundle contents" />
455+
<saved name="SearchHeadLevel - license usage per sourcetype per index" />
442456
<saved name="syslog-ng - cache statistics summary" />
443457
</collection>
444458
<collection label="Summary_Reports">
459+
<saved name="SearchHeadLevel - audit.log - lookup usage" />
460+
<saved name="SearchHeadLevel - license usage per sourcetype per index" />
445461
<saved name="SearchHeadLevel - platform_stats.audit metrics searches" />
446462
<saved name="SearchHeadLevel - platform_stats.audit metrics users" />
447463
<saved name="SearchHeadLevel - platform_stats.audit metrics users 24hour" />
@@ -450,15 +466,16 @@
450466
<saved name="SearchHeadLevel - platform_stats.audit metrics api" />
451467
<saved name="SearchHeadLevel - platform_stats.user_stats.introspection metrics populating search" />
452468
<saved name="SearchHeadLevel - platform_stats access summary" />
453-
<saved name="SearchHeadLevel - platform_stats.remote_searches metrics populating search" />
469+
<saved name="SearchHeadLevel - platform_stats.remote_searches metrics populating search" />
454470
<saved name="IndexerLevel - platform_stats.counters hosts" />
455471
<saved name="IndexerLevel - platform_stats.counters hosts 24hour" />
456472
<saved name="IndexerLevel - platform_stats.indexers totalgb measurement" />
457473
<saved name="IndexerLevel - platform_stats.indexers totalgb_thruput measurement" />
458474
<saved name="IndexerLevel - platform_stats.indexers stddev measurement" />
459475
<saved name="IndexerLevel - platform_stats.indexers stddev incoming measurement" />
460476
<saved name="IndexerLevel - RemoteSearches Indexes Stats" />
461-
<saved name="IndexerLevel - RemoteSearches Indexes Stats Wilcard" />
477+
<saved name="IndexerLevel - RemoteSearches Indexes Stats Wilcard" />
478+
<saved name="IndexerLevel - RemoteSearches - lookup usage" />
462479
</collection>
463480
<collection label="Scheduled Search Failures">
464481
<a href="/app/SplunkAdmins/alert?s=%2FservicesNS%2Fnobody%2FSplunkAdmins%2Fsaved%2Fsearches%2FSearchHeadLevel%20-%20Scheduled%20searches%20failing%20in%20cluster%20with%20404%20error">Scheduled searches failing in cluster with 404 error</a>
@@ -477,16 +494,19 @@
477494
<saved name="SearchHeadLevel - EventTypes report" />
478495
<saved name="SearchHeadLevel - Users exceeding the disk quota introspection cleanup" />
479496
<saved name="SearchHeadLevel - RMD5 to savedsearch_name lookupgen report" />
497+
<saved name="SearchHeadLevel - Lookup file owners" />
480498
</collection>
481499
<collection label="Recommended (externally hosted)">
482500
<a href="https://github.com/dpaper-splunk/public/tree/master/dashboards" target="_blank">Extended Search Reporting (and others)</a>
483501
<a href="https://github.com/nicovdw/splunk_concurrency_helper" target="_blank">Search Scheduler Tuning searches</a>
484502
<a href="https://splunkbase.splunk.com/app/6449/" target="_blank">Sideview UI (User Activity details)</a>
485503
<a href="https://splunkbase.splunk.com/app/6368/" target="_blank">Admins Little Helper for Splunk (btool, bundle utils and similar)</a>
486504
<a href="https://splunkbase.splunk.com/app/4621/" target="_blank">TrackMe (Data Ingestion)</a>
505+
<a href="https://github.com/redvelociraptor/gettingsmarter/tree/main">Getting Smarter about Splunk SmartStore (including HEC dashboards)</a>
487506
</collection>
488507
</collection>
489508
<collection label="Summary_Reports">
509+
<saved name="SearchHeadLevel - audit.log - lookup usage" />
490510
<saved name="SearchHeadLevel - platform_stats.audit metrics searches" />
491511
<saved name="SearchHeadLevel - platform_stats.audit metrics users" />
492512
<saved name="SearchHeadLevel - platform_stats.audit metrics api" />
@@ -503,7 +523,8 @@
503523
<saved name="IndexerLevel - platform_stats.indexers stddev measurement" />
504524
<saved name="IndexerLevel - platform_stats.indexers stddev incoming measurement" />
505525
<saved name="IndexerLevel - RemoteSearches Indexes Stats" />
506-
<saved name="IndexerLevel - RemoteSearches Indexes Stats Wilcard" />
526+
<saved name="IndexerLevel - RemoteSearches Indexes Stats Wilcard" />
527+
<saved name="IndexerLevel - RemoteSearches - lookup usage" />
507528
</collection>
508529
<collection label="Users">
509530
<saved name="What Access Do I Have Without REST?" />

default/macros.conf

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -667,6 +667,11 @@ args = indexer
667667
definition = "default"
668668
iseval = 0
669669

670+
#Macro to define indexer cluster name
671+
[indexer_cluster_name]
672+
definition = "default"
673+
iseval = 0
674+
670675
[forwarder_name(1)]
671676
args = hostname
672677
definition = "default"
@@ -884,3 +889,8 @@ iseval = 0
884889
[splunkadmins_hec_metrics_source]
885890
definition = source=*http_event_collector_metrics.log*
886891
iseval = 0
892+
893+
[splunkadmins_summaryindex_durablesearch]
894+
definition = NOT title IN ("SearchHeadLevel - summary indexing searches not using durable search") next_scheduled_time!=""
895+
iseval = 0
896+

0 commit comments

Comments
 (0)