<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Splunk rest curl query fails to execute on the successive attempts with the session key authorization in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Splunk-rest-curl-query-fails-to-execute-on-the-successive/m-p/294179#M88825</link>
    <description>&lt;P&gt;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?&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Curl query used :&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;curl -H 'Authorization:Splunk sessionkeyincluded' &lt;A href="https://hostname:60659/services/search/jobs" target="test_blank"&gt;https://hostname:60659/services/search/jobs&lt;/A&gt; -d search="search sourcetype=\"xx:yy\" earliest=\"03/19/2018:07:00:00\" latest=\"03/19/2018:07:15:00\" | stats count"

&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;
&amp;lt;response&amp;gt;
  &amp;lt;sid&amp;gt;1522168074.7125_E472E7F2-9BEF-4117-A49A-8281B171EF1E&amp;lt;/sid&amp;gt;
&amp;lt;/response&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;successive attempts fails with authentication failure mentioning "call not properly authenticated"&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;
&amp;lt;response&amp;gt;
  &amp;lt;messages&amp;gt;
    &amp;lt;msg type="WARN"&amp;gt;call not properly authenticated&amp;lt;/msg&amp;gt;
  &amp;lt;/messages&amp;gt;
&amp;lt;/response&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 27 Mar 2018 17:20:58 GMT</pubDate>
    <dc:creator>sathishraja92</dc:creator>
    <dc:date>2018-03-27T17:20:58Z</dc:date>
    <item>
      <title>Splunk rest curl query fails to execute on the successive attempts with the session key authorization</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-rest-curl-query-fails-to-execute-on-the-successive/m-p/294179#M88825</link>
      <description>&lt;P&gt;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?&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Curl query used :&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;curl -H 'Authorization:Splunk sessionkeyincluded' &lt;A href="https://hostname:60659/services/search/jobs" target="test_blank"&gt;https://hostname:60659/services/search/jobs&lt;/A&gt; -d search="search sourcetype=\"xx:yy\" earliest=\"03/19/2018:07:00:00\" latest=\"03/19/2018:07:15:00\" | stats count"

&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;
&amp;lt;response&amp;gt;
  &amp;lt;sid&amp;gt;1522168074.7125_E472E7F2-9BEF-4117-A49A-8281B171EF1E&amp;lt;/sid&amp;gt;
&amp;lt;/response&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;successive attempts fails with authentication failure mentioning "call not properly authenticated"&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;
&amp;lt;response&amp;gt;
  &amp;lt;messages&amp;gt;
    &amp;lt;msg type="WARN"&amp;gt;call not properly authenticated&amp;lt;/msg&amp;gt;
  &amp;lt;/messages&amp;gt;
&amp;lt;/response&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 27 Mar 2018 17:20:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-rest-curl-query-fails-to-execute-on-the-successive/m-p/294179#M88825</guid>
      <dc:creator>sathishraja92</dc:creator>
      <dc:date>2018-03-27T17:20:58Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk rest curl query fails to execute on the successive attempts with the session key authorization</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-rest-curl-query-fails-to-execute-on-the-successive/m-p/561464#M195329</link>
      <description>&lt;P&gt;Even I am facing the same issue. Were you able to figure out anything ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jul 2021 00:08:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-rest-curl-query-fails-to-execute-on-the-successive/m-p/561464#M195329</guid>
      <dc:creator>nawazns5038</dc:creator>
      <dc:date>2021-07-30T00:08:57Z</dc:date>
    </item>
  </channel>
</rss>

