Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

curl command to create a saved search for a user in splunk

curl -k -u alice:pass https://localhost:8089/servicesNS/alice/myapp/saved/searches/  
        -d name=mysearch 
        -d search=*
Source by docs.splunk.com #
 
PREVIOUS NEXT
Tagged: #curl #command #create #saved #search #user #splunk
ADD COMMENT
Topic
Name
7+1 =