<?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 Same query send to Splunk multiple times in Splunk Enterprise</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise/Same-query-send-to-Splunk-multiple-times/m-p/320160#M7242</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I have an external script which sends queries to Splunk via API. My script sends 10 identical query same time. In jobs inspector, I see them as 10 different inputs. I assume that because they are run in parallel, they consume search head resources discretely.&lt;/P&gt;

&lt;P&gt;The question is: if there is any mechanism in Splunk which could recognize that identical queries were sent to Search Head and optimize queries execution?&lt;/P&gt;</description>
    <pubDate>Thu, 07 Sep 2017 10:21:41 GMT</pubDate>
    <dc:creator>xxmazurt</dc:creator>
    <dc:date>2017-09-07T10:21:41Z</dc:date>
    <item>
      <title>Same query send to Splunk multiple times</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Same-query-send-to-Splunk-multiple-times/m-p/320160#M7242</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I have an external script which sends queries to Splunk via API. My script sends 10 identical query same time. In jobs inspector, I see them as 10 different inputs. I assume that because they are run in parallel, they consume search head resources discretely.&lt;/P&gt;

&lt;P&gt;The question is: if there is any mechanism in Splunk which could recognize that identical queries were sent to Search Head and optimize queries execution?&lt;/P&gt;</description>
      <pubDate>Thu, 07 Sep 2017 10:21:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Same-query-send-to-Splunk-multiple-times/m-p/320160#M7242</guid>
      <dc:creator>xxmazurt</dc:creator>
      <dc:date>2017-09-07T10:21:41Z</dc:date>
    </item>
    <item>
      <title>Re: Same query send to Splunk multiple times</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Same-query-send-to-Splunk-multiple-times/m-p/320161#M7243</link>
      <description>&lt;P&gt;If by optimize you mean deduplicate the 10 indentical searches into just 1 search, no there is no mechanism to do this in Splunk.&lt;/P&gt;

&lt;P&gt;Closest option I can think of is saving a report, scheduling it to run every so often, and then pulling the results of the saved report.  That would give you the same results until the report's scheduled run time came up again.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Sep 2017 11:28:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Same-query-send-to-Splunk-multiple-times/m-p/320161#M7243</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2017-09-07T11:28:33Z</dc:date>
    </item>
    <item>
      <title>Re: Same query send to Splunk multiple times</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Same-query-send-to-Splunk-multiple-times/m-p/320162#M7244</link>
      <description>&lt;P&gt;No, but what you can do is save the search in Splunk, schedule it to run in the scheduler and then pull in the results using the &lt;CODE&gt;loadjob&lt;/CODE&gt; command.  This pulls just the results from the previous run so it uses no search resources and doesn't matter if you call it 10 times.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Sep 2017 12:18:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Same-query-send-to-Splunk-multiple-times/m-p/320162#M7244</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2017-09-07T12:18:29Z</dc:date>
    </item>
    <item>
      <title>Re: Same query send to Splunk multiple times</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Same-query-send-to-Splunk-multiple-times/m-p/320163#M7245</link>
      <description>&lt;P&gt;I have to ask: Why does your script send 10 identical queries at the same time? What are you trying to achieve?&lt;/P&gt;</description>
      <pubDate>Thu, 07 Sep 2017 17:25:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Same-query-send-to-Splunk-multiple-times/m-p/320163#M7245</guid>
      <dc:creator>s2_splunk</dc:creator>
      <dc:date>2017-09-07T17:25:46Z</dc:date>
    </item>
  </channel>
</rss>

