Reporting

CLI add savedsearch fail

sadon
Explorer

try to run command

/opt/splunk# ./bin/splunk add saved-search -name 'TEST'

An error occurred:
 Argument "actions" is not supported by this handler.

Argument "actions" is not supported by this handler.
before it works(

Tags (2)

piebob
Motivator

you need to provide the actual search, like so:

./splunk add saved-search -search '' -name 'TEST' -schedule

0 Karma
.conf21 CFS Extended through 5/20!

Don't miss your chance
to share your Splunk
wisdom in-person or
virtually at .conf21!

Call for Speakers has
been extended through
Thursday, 5/20!