You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-`SearchHeadLevel - Search Queries summary loadjob and savedsearch usage in audit logs` - updated rexgex, rewrote search to find map, join, appendcols and other commands
376
+
362
377
### 4.0.1
363
378
New dashboard:
364
379
-`heavy_forwarder_analysis` - as found in the conf24 presentation PLA1509B
search = ```The main goal of this alert errors which might not appear in splunkd.log but are critical to keeping the kvstore running on the search heads. Please check the mongod.log file for further information, the additional count field is simply determining that mongo is still logging...\
2816
2816
Attempt to find errors in the mongod log and make sure the errors do not relate to shutdown events in the search head cluster. Since this does will ignore any events when either cluster shutsdown it might not be sensitive enough for some use cases...```\
2817
-
index=_internal `searchheadhosts` `splunkadmins_mongo_source` (" E " OR " F " OR " W ") ```https://jira.mongodb.org/browse/SERVER-42078 advises this is harmless``` NOT "update of non-mod failed" `splunkadmins_mongodb_errors`\
2818
-
| regex _raw="^\s+?\S+\s+[EF]" \
2817
+
index=_internal `searchheadhosts` `splunkadmins_mongo_source` (" E " OR " F " OR " W ") ```https://jira.mongodb.org/browse/SERVER-42078 advises this is harmless``` NOT "update of non-mod failed" NOT "is deprecated" NOT "No TransportLayer configured during NetworkInterface startup" NOT "interrupted at shutdown" `splunkadmins_mongodb_errors`\
2818
+
| regex _raw="^\s+?\S+\s+[EFW]" \
2819
2819
| search ```Exclude time periods where shutdowns were occurring``` NOT [`splunkadmins_shutdown_time(searchheadhosts,60,60)`]\
2820
2820
| eventstats max(_time) AS mostRecent, min(_time) AS firstSeen by host\
2821
2821
| bin _time span=10m \
@@ -4693,7 +4693,7 @@ search = | multisearch \
4693
4693
| rex field=search mode=sed "s/```.*?```/ /g" \
4694
4694
| rex field=search max_match=50 "(?s)\|?\s*(append|appendcols|appendpipe|map|union)\s+\[(?P<subsearch>.*?)\]\s*(\||$)" \
4695
4695
| rex field=search max_match=50 "(?s)\|?\s*(join)\s+.*?\[(?P<subsearch>.*?)\]\s*(\||$)" \
4696
-
| rex field=search max_match=50 "(?s)\|?\s*(union|set|multisearch)\s+(?P<part1>\[.*?\](\s*\[.*?\])+\s*(`[^`]+`\s*)*(\||$|',\s+))" \
4696
+
| rex field=search max_match=50 "(?s)\|?\s*(union|set|multisearch)[^\[]+(?P<part1>\[.*?\](\s*\[.*?\])+\s*(`[^`]+`\s*)*(\||$|',\s+))" \
4697
4697
| rex field=part1 max_match=50 "(?s).*?\[(?P<subsearch>.*?)\]\s*(\||$|)" \
4698
4698
| rex field=search max_match=50 "(?s)\|?\s*(map)\s+(maxsearches\s*=\s*\d+)?\s*search\s*=\s*\"(?P<subsearch>.*?)\"\s*(\||$)" \
4699
4699
| rex field=search "^(?P<prepipe>\s*\|?([^\|]+))" \
@@ -4804,7 +4804,7 @@ search = | multisearch \
4804
4804
| rex field=search mode=sed "s/```.*?```/ /g" \
4805
4805
| rex field=search max_match=50 "(?s)\|?\s*(append|appendcols|appendpipe|map|union)\s+\[(?P<subsearch>.*?)\]\s*(\||$)" \
4806
4806
| rex field=search max_match=50 "(?s)\|?\s*(join)\s+.*?\[(?P<subsearch>.*?)\]\s*(\||$)" \
4807
-
| rex field=search max_match=50 "(?s)\|?\s*(union|set|multisearch)\s+(?P<part1>\[.*?\](\s*\[.*?\])+\s*(`[^`]+`\s*)*(\||$|',\s+))" \
4807
+
| rex field=search max_match=50 "(?s)\|?\s*(union|set|multisearch)[^\[]+(?P<part1>\[.*?\](\s*\[.*?\])+\s*(`[^`]+`\s*)*(\||$|',\s+))" \
4808
4808
| rex field=part1 max_match=50 "(?s).*?\[(?P<subsearch>.*?)\]\s*(\||$|)" \
4809
4809
| rex field=search max_match=50 "(?s)\|?\s*(map)\s+(maxsearches\s*=\s*\d+)?\s*search\s*=\s*\"(?P<subsearch>.*?)\"\s*(\||$)" \
4810
4810
| rex field=search "^(?P<prepipe>\s*\|?([^\|]+))" \
``` 2023-12-12 , I've submitted docs feedback that this endpoint is undocumented but used by the MC, it appears to trigger the actions related to the savedsearch to populate a lookup ``` \
8411
-
``` remove the comments once you have Webtools Add-on, https://splunkbase.splunk.com/app/4146 installed to use the curl command
8411
+
``` remove the comments once you have Webtools Add-on, https://splunkbase.splunk.com/app/4146 installed to use the curl command \
description = Report only? Yes. This search attempts to search the audit logs to find any use of | loadjob of | savedsearch within the audit logs. macro substitution is not used but could be included (although I'm unsure how often someone calls a | savedsearchor | loadjob via a macro)
8655
+
description = Report only? Yes. This search attempts to search the audit logs to find any use of | loadjob of | savedsearch within the audit logs, additionally map, join, append, appendpipe, appendcols, set, union can make calls to savedsearches that are not easily findable in the audit.log file. macro substitution is not used but could be included (although I'm unsure how often someone calls a | savedsearch, | loadjob or | map via a macro)
0 commit comments