<?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 Can Splunk perform multiple searches using a single request and return the results separately? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Can-Splunk-perform-multiple-searches-using-a-single-request-and/m-p/362291#M107021</link>
    <description>&lt;P&gt;I am querying Splunk REST API and wish to send multiple queries in a single POST request. Is it possible to get separate results for multiple searches using a single request?&lt;/P&gt;

&lt;P&gt;For example, I have two queries say:&lt;BR /&gt;
1. search index=apps | search appname=A| timechart span=1d app_count&lt;BR /&gt;
2. search index=apps | search appname=B| timechart span=1d app_count&lt;/P&gt;

&lt;P&gt;Instead of making two separate post requests, can I do it in a single request and get separate results?&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 18:33:45 GMT</pubDate>
    <dc:creator>mj8909</dc:creator>
    <dc:date>2020-09-29T18:33:45Z</dc:date>
    <item>
      <title>Can Splunk perform multiple searches using a single request and return the results separately?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-Splunk-perform-multiple-searches-using-a-single-request-and/m-p/362291#M107021</link>
      <description>&lt;P&gt;I am querying Splunk REST API and wish to send multiple queries in a single POST request. Is it possible to get separate results for multiple searches using a single request?&lt;/P&gt;

&lt;P&gt;For example, I have two queries say:&lt;BR /&gt;
1. search index=apps | search appname=A| timechart span=1d app_count&lt;BR /&gt;
2. search index=apps | search appname=B| timechart span=1d app_count&lt;/P&gt;

&lt;P&gt;Instead of making two separate post requests, can I do it in a single request and get separate results?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 18:33:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-Splunk-perform-multiple-searches-using-a-single-request-and/m-p/362291#M107021</guid>
      <dc:creator>mj8909</dc:creator>
      <dc:date>2020-09-29T18:33:45Z</dc:date>
    </item>
    <item>
      <title>Re: Can Splunk perform multiple searches using a single request and return the results separately?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-Splunk-perform-multiple-searches-using-a-single-request-and/m-p/362292#M107022</link>
      <description>&lt;P&gt;Well for your specific case I think it works.&lt;/P&gt;

&lt;P&gt;You would get the timechart count by appname and then post process search it by filtering the app you want to see&lt;/P&gt;</description>
      <pubDate>Sat, 17 Mar 2018 02:21:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-Splunk-perform-multiple-searches-using-a-single-request-and/m-p/362292#M107022</guid>
      <dc:creator>tiagofbmm</dc:creator>
      <dc:date>2018-03-17T02:21:01Z</dc:date>
    </item>
    <item>
      <title>Re: Can Splunk perform multiple searches using a single request and return the results separately?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-Splunk-perform-multiple-searches-using-a-single-request-and/m-p/362293#M107023</link>
      <description>&lt;P&gt;Please let me know if the answer was useful for you. If it was, accept it and upvote. If not, give us more input so we can help you with that&lt;/P&gt;</description>
      <pubDate>Wed, 21 Mar 2018 17:21:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-Splunk-perform-multiple-searches-using-a-single-request-and/m-p/362293#M107023</guid>
      <dc:creator>tiagofbmm</dc:creator>
      <dc:date>2018-03-21T17:21:28Z</dc:date>
    </item>
  </channel>
</rss>

