<?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 How long does it take after creation of SID using RestAPI to get the actual result? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-long-does-it-take-after-creation-of-SID-using-RestAPI-to-get/m-p/451989#M78339</link>
    <description>&lt;P&gt;I run an api to create a sid. I immediately run another api to pull the results as a csv file. There is a wait time required between these two api calls. At least a wait of 5 seconds is required. This 5 seconds does not work all the time and sometimes it is a bit longs and sometimes it is a bit faster.&lt;/P&gt;

&lt;P&gt;Is there a way that I can run these two api's in one shot and get the results?,First I create the SID and then I need to wait (Thread.Sleep(5000)) for at least 5 seconds before I hit the next api to pull the results as a csv. Now this 5 seconds is not a constant. I need a way to get the search results as a one api call or a way to know how long will it take to wait between the two api calls.&lt;/P&gt;</description>
    <pubDate>Fri, 28 Jun 2019 15:16:04 GMT</pubDate>
    <dc:creator>filterkapi</dc:creator>
    <dc:date>2019-06-28T15:16:04Z</dc:date>
    <item>
      <title>How long does it take after creation of SID using RestAPI to get the actual result?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-long-does-it-take-after-creation-of-SID-using-RestAPI-to-get/m-p/451989#M78339</link>
      <description>&lt;P&gt;I run an api to create a sid. I immediately run another api to pull the results as a csv file. There is a wait time required between these two api calls. At least a wait of 5 seconds is required. This 5 seconds does not work all the time and sometimes it is a bit longs and sometimes it is a bit faster.&lt;/P&gt;

&lt;P&gt;Is there a way that I can run these two api's in one shot and get the results?,First I create the SID and then I need to wait (Thread.Sleep(5000)) for at least 5 seconds before I hit the next api to pull the results as a csv. Now this 5 seconds is not a constant. I need a way to get the search results as a one api call or a way to know how long will it take to wait between the two api calls.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jun 2019 15:16:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-long-does-it-take-after-creation-of-SID-using-RestAPI-to-get/m-p/451989#M78339</guid>
      <dc:creator>filterkapi</dc:creator>
      <dc:date>2019-06-28T15:16:04Z</dc:date>
    </item>
  </channel>
</rss>

