Skip to content

Commit 64fba63

Browse files
authored
Update savedsearches.conf
1 parent dec2699 commit 64fba63

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

default/savedsearches.conf

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4649,7 +4649,7 @@ search = | multisearch \
46494649
```Replace macros, but then replace datamodels, then tags, then eventtypes, but what if the eventtype refers to an eventtype? Or tag? Or more macros? This isn't perfect so just substitute a hope for the best. IndexerLevel - RemoteSearches Indexes Stats doesn't have all these issues so it may be safer to see what happens at indexing tier...Note pre Splunk 8.0 you will need to replace splunkadmins_audit_logs_macro_sub_v8 with splunkadmins_audit_logs_macro_sub``` \
46504650
| `splunkadmins_macro_sub("search")` \
46514651
| `splunkadmins_macro_sub("search")` \
4652-
| regex search="^\s*(\|?)\s*(search|tstats|mstats|mcatalog|mutlisearch|union|set|summarize|datamodel|from\s*:?\s*datamodel|datamodelsimple)\s+" \
4652+
| regex search="^\s*(\|?)\s*(search|tstats|mstats|mcatalog|multisearch|union|set|summarize|datamodel|from\s*:?\s*datamodel|datamodelsimple)\s+" \
46534653
| regex search!="\|\s*(append|union|multisearch|set|appendcols|appendpipe|join|map)" \
46544654
| `splunkadmins_audit_logs_datamodel_sub` \
46554655
| `splunkadmins_audit_logs_tags_sub` \
@@ -4760,7 +4760,7 @@ search = | multisearch \
47604760
```Replace macros, but then replace datamodels, then tags, then eventtypes, but what if the eventtype refers to an eventtype? Or tag? Or more macros? This isn't perfect so just substitute a hope for the best. IndexerLevel - RemoteSearches Indexes Stats doesn't have all these issues so it may be safer to see what happens at indexing tier...``` \
47614761
| `splunkadmins_macro_sub("search")` \
47624762
| `splunkadmins_macro_sub("search")` \
4763-
| regex search="^\s*(\|?)\s*(search|tstats|mstats|mcatalog|mutlisearch|union|set|summarize|datamodel|from\s*:?\s*datamodel|datamodelsimple)\s+" \
4763+
| regex search="^\s*(\|?)\s*(search|tstats|mstats|mcatalog|multisearch|union|set|summarize|datamodel|from\s*:?\s*datamodel|datamodelsimple)\s+" \
47644764
| regex search!="\|\s*(append|union|multisearch|set|appendcols|appendpipe|join|map)" \
47654765
| `splunkadmins_audit_logs_datamodel_sub` \
47664766
| `splunkadmins_audit_logs_tags_sub` \
@@ -8469,7 +8469,7 @@ search = | rest /servicesNS/-/-/saved/searches f=next_scheduled_time f=search f=
84698469
| where updatedepoch < no_updates_after \
84708470
| rex field=qualifiedSearch mode=sed "s/```.*?```/ /g" \
84718471
| rex field=search mode=sed "s/```.*?```/ /g" \
8472-
| regex qualifiedSearch="^\s*(\|?)\s*(search|tstats|mstats|mcatalog|mutlisearch|union|set|summarize|datamodel|from\s*:?\s*datamodel|datamodelsimple)\s+" \
8472+
| regex qualifiedSearch="^\s*(\|?)\s*(search|tstats|mstats|mcatalog|multisearch|union|set|summarize|datamodel|from\s*:?\s*datamodel|datamodelsimple)\s+" \
84738473
| regex qualifiedSearch!="(\||^)\s*(append|union|multisearch|set|appendcols|appendpipe|join|map)" \
84748474
| rex field=search "(?s)^(?P<prepipe>\s*\|?([^\|]+))" \
84758475
| rex field=prepipe "(?s)(NOT\s+index(\s*=\s*|::)[^ ]+)|(NOT\s+\([^\)]+\))|(index(\s*=\s*|::)\"?(?P<indexregex>[\*A-Za-z0-9-_]+))" max_match=50 \
@@ -8569,7 +8569,7 @@ request.ui_dispatch_view = search
85698569
search = index=_audit savedsearch_name="$savedsearch_name$" host IN ($host$) \
85708570
| rex "(?s), search='(?P<search>.*)\]$" \
85718571
| rex field=search mode=sed "s/```.*?```/ /g" \
8572-
| regex search="^\s*(\|?)\s*(search|tstats|mstats|mcatalog|mutlisearch|union|set|summarize|datamodel|from\s*:?\s*datamodel|datamodelsimple)\s+" \
8572+
| regex search="^\s*(\|?)\s*(search|tstats|mstats|mcatalog|multisearch|union|set|summarize|datamodel|from\s*:?\s*datamodel|datamodelsimple)\s+" \
85738573
| regex search!="(\||^)\s*(append|union|multisearch|set|appendcols|appendpipe|join|map)" \
85748574
| rex field=search "(?s)^(?P<prepipe>\s*\|?([^\|]+))" \
85758575
| rex field=prepipe "(?s)(NOT\s+index(\s*=\s*|::)[^ ]+)|(NOT\s+\([^\)]+\))|(index(\s*=\s*|::)\"?(?P<indexregex>[\*A-Za-z0-9-_]+))" max_match=50 \

0 commit comments

Comments
 (0)