A question regarding the search in the CLI.
I need to search the metadata via the CLI - it appears I can not
./splunk search "|metadata type=hosts"
So instead I have saved this search as metadataGUI and validated it is available via
./splunk list saved-search
But when I execute
./splunk search “|savedsearch metadataGUI”
or
./splunk search '|savedsearch "metadataGUI"'
or
./splunk search "|savedsearch 'metadataGUI'"
All I get is “Error in 'savedsearch' command: Usage: [options]”
Any ideas?
thanks!
... View more