<?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: Subsearch timeout SPL in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Subsearch-timeout-SPL/m-p/412081#M118833</link>
    <description>&lt;P&gt;I think you may have simplified your example a little too much or maybe I'm just not following. &lt;/P&gt;

&lt;P&gt;You're looking for the values of x that only exist when subject="Test*"  but then you want to do a stats by x? I'm not seeing the purpose of the subsearch.   Could you try either explaining it or maybe simplify it better? &lt;/P&gt;</description>
    <pubDate>Tue, 09 Oct 2018 20:10:54 GMT</pubDate>
    <dc:creator>kmaron</dc:creator>
    <dc:date>2018-10-09T20:10:54Z</dc:date>
    <item>
      <title>Subsearch timeout SPL</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Subsearch-timeout-SPL/m-p/412080#M118832</link>
      <description>&lt;P&gt;Hi guys,&lt;/P&gt;

&lt;P&gt;I have a search with subsearch that times out before it can complete. The subsearch doesnt finalise, so then then main search gets no results. Can anyone think of a better way to write this search so that perhaps that subsearch will perform better and I will not have to increase limits.conf? Are there any issues with increasing limits.conf?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=bla [search index=bla(subject="Test*")|dedup x | table x]
|stats values(*) As * by x,filter_instance
|table _time,from,ip,recipient,subject,x
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 09 Oct 2018 12:28:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Subsearch-timeout-SPL/m-p/412080#M118832</guid>
      <dc:creator>mwdbhyat</dc:creator>
      <dc:date>2018-10-09T12:28:18Z</dc:date>
    </item>
    <item>
      <title>Re: Subsearch timeout SPL</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Subsearch-timeout-SPL/m-p/412081#M118833</link>
      <description>&lt;P&gt;I think you may have simplified your example a little too much or maybe I'm just not following. &lt;/P&gt;

&lt;P&gt;You're looking for the values of x that only exist when subject="Test*"  but then you want to do a stats by x? I'm not seeing the purpose of the subsearch.   Could you try either explaining it or maybe simplify it better? &lt;/P&gt;</description>
      <pubDate>Tue, 09 Oct 2018 20:10:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Subsearch-timeout-SPL/m-p/412081#M118833</guid>
      <dc:creator>kmaron</dc:creator>
      <dc:date>2018-10-09T20:10:54Z</dc:date>
    </item>
    <item>
      <title>Re: Subsearch timeout SPL</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Subsearch-timeout-SPL/m-p/412082#M118834</link>
      <description>&lt;P&gt;Try this for your subsearch...&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; [search index=bla (subject="Test*") x=* | stats first(index) by x | fields - index]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;CODE&gt;stats first(blah)&lt;/CODE&gt; should require less resources than &lt;CODE&gt;dedup&lt;/CODE&gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Oct 2018 14:03:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Subsearch-timeout-SPL/m-p/412082#M118834</guid>
      <dc:creator>DalJeanis</dc:creator>
      <dc:date>2018-10-10T14:03:42Z</dc:date>
    </item>
    <item>
      <title>Re: Subsearch timeout SPL</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Subsearch-timeout-SPL/m-p/412083#M118835</link>
      <description>&lt;P&gt;Try setting a shorter static timerange that overrides the TimePicker for the subsearch like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; index=bla [search index=bla(subject="Test*") earliest=-1h | stats first(host) BY x | table x ]
 |stats values(*) As * by x,filter_instance
 |table _time,from,ip,recipient,subject,x
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 12 Oct 2018 01:07:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Subsearch-timeout-SPL/m-p/412083#M118835</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2018-10-12T01:07:31Z</dc:date>
    </item>
    <item>
      <title>Re: Subsearch timeout SPL</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Subsearch-timeout-SPL/m-p/412084#M118836</link>
      <description>&lt;P&gt;Thanks this worked&lt;/P&gt;</description>
      <pubDate>Fri, 12 Oct 2018 06:25:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Subsearch-timeout-SPL/m-p/412084#M118836</guid>
      <dc:creator>mwdbhyat</dc:creator>
      <dc:date>2018-10-12T06:25:00Z</dc:date>
    </item>
  </channel>
</rss>

