Skip to content

Commit 0f4b5e4

Browse files
committed
New reports:
- `SearchHeadLevel - Lookup definitions with no lookup file or kvstore collection` - `SearchHeadLevel - User created kvstore collections` - `SearchHeadLevel - Search Queries summary loadjob and savedsearch usage in audit logs` Updated alerts: - `AllSplunkEnterpriseLevel - Splunkd Log Messages Admins Only` - `SearchHeadLevel - Detect bundle pushes no longer occurring` - `SearchHeadLevel - macros in use` - `SearchHeadLevel - Search Messages user level` Updated reports: - `SearchHeadLevel - audit.log - lookup usage` - added regex as the search field sometimes doesn't auto-extract correctly - `SearchHeadLevel - Detect lookups that have not being accessed for a period of time` - added automatic lookups in - `SearchHeadLevel - platform_stats access summary` - criteria update - `SearchHeadLevel - Lookup file owners` - corrections to ensure that automatic lookups are not included - `SearchHeadLevel - Search Queries summary non-exact match` - minor criteria update
1 parent 1a5e48a commit 0f4b5e4

File tree

5 files changed

+201
-27
lines changed

5 files changed

+201
-27
lines changed

.github/workflows/action.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# This is a basic workflow to generate build
2+
name: "Generate build, run app inspect and update splunklib"
3+
4+
on: push
5+
6+
jobs:
7+
pre-release:
8+
name: "Run on push - Add Utilities & App Inspect"
9+
runs-on: "ubuntu-latest"
10+
11+
steps:
12+
- uses: VatsalJagani/splunk-app-action@v4
13+
with:
14+
my_github_token: ${{ secrets.MY_GITHUB_TOKEN }}
15+
splunkbase_username: ${{ secrets.SPLUNKBASE_USERNAME }}
16+
splunkbase_password: ${{ secrets.SPLUNKBASE_PASSWORD }}
17+
to_make_permission_changes: true

README.md

Lines changed: 50 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,10 +324,60 @@ The following ideas relate to this issue:
324324
- `SearchHeadLevel - Search Queries summary non-exact match`
325325
- `SearchHeadLevel - Dashboards using depends and running searches in the background`
326326

327+
## Other notes
328+
### search_id's
329+
The macro search_type_from_sid attempts to determine the search "type" based on id and this worked quite well in older versions.
330+
There are many variations which the macro doesn't show as they are effectively ad-hoc searches in my understanding, these include:
331+
- md_ for metadata searches
332+
- ta_ for typeahead searches
333+
- sd_ (appears to be another kind of ad-hoc search)
334+
- rt_ for realtime search
335+
336+
In 9.1.3 the search_id pattern appears to have changed, or at least I didn't notice this change in 9.1.3, now there are search id's that start with:
337+
- deep-dive-
338+
- degraded-entities
339+
- episode-review-
340+
- event_management_query
341+
- health-score-tile-search
342+
- health-score-tree-base
343+
- kpi-health-score-sparklines
344+
- notable-events-search
345+
- service-health-score
346+
- side-kpi-table
347+
- single-thresholding-preview
348+
- common-fields-search
349+
- event-management-detail
350+
- get-block-listed-fields
351+
- impact-services-search
352+
- time-variant-preview
353+
- trending-ad-analysis
354+
- trending-ad-mad-analysis
355+
356+
These are appear to be from premium apps but it does imply that there is a mechanism to customize the search_id's...
357+
327358
## Feedback?
328359
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!
329360

330361
## Release Notes
362+
### 3.0.14
363+
New reports:
364+
- `SearchHeadLevel - Lookup definitions with no lookup file or kvstore collection`
365+
- `SearchHeadLevel - User created kvstore collections`
366+
- `SearchHeadLevel - Search Queries summary loadjob and savedsearch usage in audit logs`
367+
368+
Updated alerts:
369+
- `AllSplunkEnterpriseLevel - Splunkd Log Messages Admins Only`
370+
- `SearchHeadLevel - Detect bundle pushes no longer occurring`
371+
- `SearchHeadLevel - macros in use`
372+
- `SearchHeadLevel - Search Messages user level`
373+
374+
Updated reports:
375+
- `SearchHeadLevel - audit.log - lookup usage` - added regex as the search field sometimes doesn't auto-extract correctly
376+
- `SearchHeadLevel - Detect lookups that have not being accessed for a period of time` - added automatic lookups in
377+
- `SearchHeadLevel - platform_stats access summary` - criteria update
378+
- `SearchHeadLevel - Lookup file owners` - corrections to ensure that automatic lookups are not included
379+
- `SearchHeadLevel - Search Queries summary non-exact match` - minor criteria update
380+
331381
### 3.0.13
332382
New reports:
333383
- `IndexerLevel - events per second benchmark`
@@ -355,7 +405,6 @@ Updated alerts:
355405
- `SearchHeadLevel - Search Messages user level` - updated comments
356406
- `SearchHeadLevel - Search Messages admins only` - updated criteria and comments
357407

358-
359408
Updated reports:
360409
- `IndexerLevel - RemoteSearches - lookup usage` - typo fixed in description
361410
- `IndexerLevel - Report on bucket corruption` - updated comments

default/app.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ supported_themes = light,dark
1414
[launcher]
1515
author = Gareth Anderson
1616
description = Alerts and dashboards as described in the Splunk 2017 conf presentation How did you get so big?
17-
version = 3.0.13
17+
version = 3.0.14
1818

1919
[package]
2020
id = SplunkAdmins

default/data/ui/nav/default.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -309,6 +309,7 @@
309309
<saved name="SearchHeadLevel - Search Queries summary exact match" />
310310
<saved name="SearchHeadLevel - Search Queries summary exact match by user" />
311311
<saved name="SearchHeadLevel - Search Queries summary exact match by index" />
312+
<saved name="SearchHeadLevel - Search Queries summary loadjob and savedsearch usage in audit logs" />
312313
<saved name="SearchHeadLevel - Sourcetypes usage from search telemetry data" />
313314
<saved name="SearchHeadLevel - Searches by search type" />
314315
<saved name="SearchHeadLevel - IndexesPerUser Report" />
@@ -419,6 +420,8 @@
419420
<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>
420421
<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>
421422
<saved name="SearchHeadLevel - Knowledge Bundle contents" />
423+
<saved name="SearchHeadLevel - Lookup definitions with no lookup file or kvstore collection" />
424+
<saved name="SearchHeadLevel - User created kvstore collections" />
422425
<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>
423426
</collection>
424427
<collection label="Quotas">
@@ -449,6 +452,7 @@
449452
<saved name="SearchHeadLevel - Detect changes to knowledge objects directory" />
450453
<saved name="SearchHeadLevel - Detect changes to knowledge objects non-directory" />
451454
<saved name="SearchHeadLevel - Lookup updates within SHC" />
455+
<saved name="SearchHeadLevel - Lookup definitions with no lookup file or kvstore collection" />
452456
<saved name="SearchHeadLevel - indexes per savedsearch" />
453457
<saved name="SearchHeadLevel - macros in use" />
454458
<saved name="SearchHeadLevel - SHC conf log summary" />
@@ -459,6 +463,7 @@
459463
<saved name="SearchHeadLevel - Detect lookups that have not being accessed for a period of time" />
460464
<saved name="SearchHeadLevel - Lookup Editor lookup updates" />
461465
<saved name="SearchHeadLevel - REST API usage via audit.log" />
466+
<saved name="SearchHeadLevel - User created kvstore collections" />
462467
<saved name="IndexerLevel - RemoteSearches find all time searches" />
463468
<saved name="IndexerLevel - RemoteSearches find datamodel acceleration with wildcards" />
464469
<saved name="IndexerLevel - RemoteSearches - lookup usage" />

0 commit comments

Comments
 (0)