Splunk Search

"Error in 'map' command: Unable to find saved search 'search='"

mcgi906
Explorer

Currently, I have a form with a search that populates a two column table, and am using one of the columns as a key to append a third. However, I keep on getting an error message that there's an error coming from the map command, and after looking at several examples, cannot figure out what's wrong with it.

map search= "search index=a STATUS=WAIT | eval REASON=split(REASON,"/") | eval filteredVal=mvfilter(match(REASON, $$SPLITid$$))" | table filteredVal
0 Karma
1 Solution

somesoni2
Revered Legend

There is an additional space after search=. remove it

...| map search="search index=a STATUS=WAIT | eval REASON=split(REASON,"/") | eval filteredVal=mvfilter(match(REASON, $$SPLITid$$))" | table filteredVal

View solution in original post

somesoni2
Revered Legend

There is an additional space after search=. remove it

...| map search="search index=a STATUS=WAIT | eval REASON=split(REASON,"/") | eval filteredVal=mvfilter(match(REASON, $$SPLITid$$))" | table filteredVal
Get Updates on the Splunk Community!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...