Splunk Search

Splunk rest curl query fails to execute on the successive attempts with the session key authorization


First attempt creates the splunk SID, but fails on the successive attempts to create search id. Same issue occurs while polling/consuming the search after SID creation on its successive attempts. Can anybody point out helping the missing part?

Curl query used :

curl -H 'Authorization:Splunk sessionkeyincluded' https://hostname:60659/services/search/jobs -d search="search sourcetype=\"xx:yy\" earliest=\"03/19/2018:07:00:00\" latest=\"03/19/2018:07:15:00\" | stats count"

<?xml version="1.0" encoding="UTF-8"?>

successive attempts fails with authentication failure mentioning "call not properly authenticated"

<?xml version="1.0" encoding="UTF-8"?>
    <msg type="WARN">call not properly authenticated</msg>


Even I am facing the same issue. Were you able to figure out anything ? 


0 Karma
.conf21 Now Fully Virtual!
Register for FREE Today!

We've made .conf21 totally virtual and totally FREE! Our completely online experience will run from 10/19 through 10/20 with some additional events, too!