<?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 Re: How to get the search query from a search sid using restful API? in Splunk Enterprise</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise/How-to-get-the-search-query-from-a-search-sid-using-restful-API/m-p/545794#M5425</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/195461"&gt;@patng_nw&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Use below spl query and add necessary sid then request.search will provide the required &lt;STRONG&gt;search query string&lt;/STRONG&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rest /services/search/jobs/&amp;lt;sid&amp;gt;| table sid title eai:acl.app eai:acl.owner request.search&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;If this reply helps do upvote the answer.&lt;/P&gt;</description>
    <pubDate>Mon, 29 Mar 2021 04:45:00 GMT</pubDate>
    <dc:creator>493669</dc:creator>
    <dc:date>2021-03-29T04:45:00Z</dc:date>
    <item>
      <title>How to get the search query from a search sid using restful API?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-to-get-the-search-query-from-a-search-sid-using-restful-API/m-p/545792#M5424</link>
      <description>&lt;P class="lia-align-left"&gt;I have a search SID, and currently I am getting its result using the API api/search/jobs/&amp;lt;sid&amp;gt;/results&lt;/P&gt;&lt;P class="lia-align-left"&gt;However, I also need to access the &lt;STRONG&gt;search query string&lt;/STRONG&gt; behind this search result.&amp;nbsp; Is there an API for getting that?&lt;/P&gt;</description>
      <pubDate>Mon, 29 Mar 2021 04:07:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-to-get-the-search-query-from-a-search-sid-using-restful-API/m-p/545792#M5424</guid>
      <dc:creator>patng_nw</dc:creator>
      <dc:date>2021-03-29T04:07:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the search query from a search sid using restful API?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-to-get-the-search-query-from-a-search-sid-using-restful-API/m-p/545794#M5425</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/195461"&gt;@patng_nw&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Use below spl query and add necessary sid then request.search will provide the required &lt;STRONG&gt;search query string&lt;/STRONG&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rest /services/search/jobs/&amp;lt;sid&amp;gt;| table sid title eai:acl.app eai:acl.owner request.search&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;If this reply helps do upvote the answer.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Mar 2021 04:45:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-to-get-the-search-query-from-a-search-sid-using-restful-API/m-p/545794#M5425</guid>
      <dc:creator>493669</dc:creator>
      <dc:date>2021-03-29T04:45:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the search query from a search sid using restful API?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-to-get-the-search-query-from-a-search-sid-using-restful-API/m-p/545795#M5426</link>
      <description>&lt;P&gt;It works.&amp;nbsp; Thanks a lot!&lt;/P&gt;</description>
      <pubDate>Mon, 29 Mar 2021 04:53:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-to-get-the-search-query-from-a-search-sid-using-restful-API/m-p/545795#M5426</guid>
      <dc:creator>patng_nw</dc:creator>
      <dc:date>2021-03-29T04:53:32Z</dc:date>
    </item>
  </channel>
</rss>

