<?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 do I optimize the performance of my search that is currently using a different time range per sourcetype? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-optimize-the-performance-of-my-search-that-is-currently/m-p/243848#M72572</link>
    <description>&lt;P&gt;Ok! please dont forget to vote me&lt;/P&gt;</description>
    <pubDate>Thu, 03 Dec 2015 23:42:35 GMT</pubDate>
    <dc:creator>NOUMSSI</dc:creator>
    <dc:date>2015-12-03T23:42:35Z</dc:date>
    <item>
      <title>How do I optimize the performance of my search that is currently using a different time range per sourcetype?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-optimize-the-performance-of-my-search-that-is-currently/m-p/243845#M72569</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I have a performance issue concerning multiple time ranges in 1 search.&lt;BR /&gt;
The search string is as follows:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;(index=[index1] sourcetype=[sourcetype1]) OR (index=[index2] sourcetype=[sourcetype2 hoursago=24])
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I choose for the timerangepicker the value:  last 3 months.&lt;/P&gt;

&lt;P&gt;Now this search will take ages.&lt;BR /&gt;
The first part of the search isn't the problem, but the second one is.&lt;BR /&gt;
It should be clear that I want all records from the first part and only the records from the last 24 hours from the last part.&lt;BR /&gt;
The search above provide me with these, but the search takes ages.&lt;/P&gt;

&lt;P&gt;My question is: isn't there a way to make this search faster?&lt;BR /&gt;
I can't join because of the number of records (over 72 million) .&lt;/P&gt;

&lt;P&gt;Thanx in advance!!&lt;/P&gt;</description>
      <pubDate>Tue, 24 Nov 2015 06:32:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-optimize-the-performance-of-my-search-that-is-currently/m-p/243845#M72569</guid>
      <dc:creator>McJansen</dc:creator>
      <dc:date>2015-11-24T06:32:10Z</dc:date>
    </item>
    <item>
      <title>Re: How do I optimize the performance of my search that is currently using a different time range per sourcetype?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-optimize-the-performance-of-my-search-that-is-currently/m-p/243846#M72570</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Try this for your the second one:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;(index=[index1] sourcetype=[sourcetype1]) OR (index=[index2] sourcetype=[sourcetype2 earliest=-24h latest=now])
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 24 Nov 2015 15:14:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-optimize-the-performance-of-my-search-that-is-currently/m-p/243846#M72570</guid>
      <dc:creator>NOUMSSI</dc:creator>
      <dc:date>2015-11-24T15:14:21Z</dc:date>
    </item>
    <item>
      <title>Re: How do I optimize the performance of my search that is currently using a different time range per sourcetype?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-optimize-the-performance-of-my-search-that-is-currently/m-p/243847#M72571</link>
      <description>&lt;P&gt;Sometimes I feel stupid! &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;Thanx!!!!&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2015 07:04:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-optimize-the-performance-of-my-search-that-is-currently/m-p/243847#M72571</guid>
      <dc:creator>McJansen</dc:creator>
      <dc:date>2015-11-25T07:04:16Z</dc:date>
    </item>
    <item>
      <title>Re: How do I optimize the performance of my search that is currently using a different time range per sourcetype?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-optimize-the-performance-of-my-search-that-is-currently/m-p/243848#M72572</link>
      <description>&lt;P&gt;Ok! please dont forget to vote me&lt;/P&gt;</description>
      <pubDate>Thu, 03 Dec 2015 23:42:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-optimize-the-performance-of-my-search-that-is-currently/m-p/243848#M72572</guid>
      <dc:creator>NOUMSSI</dc:creator>
      <dc:date>2015-12-03T23:42:35Z</dc:date>
    </item>
  </channel>
</rss>

