<?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: Why do these sub-searches error when part of a dashboard or report? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Why-do-these-sub-searches-error-when-part-of-a-dashboard-or/m-p/282824#M85433</link>
    <description>&lt;P&gt;What's the behavior when you run this query?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;(index=app_1_logs error ) OR (index=app_2_logs error) OR  index=app_3_logs error ) | `instance` | top 5 instance_appl by index showperc=f | table instance_appl count |sort - count | rename count as Count, instance_appl as "Instance Appl"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 27 Oct 2016 14:57:35 GMT</pubDate>
    <dc:creator>somesoni2</dc:creator>
    <dc:date>2016-10-27T14:57:35Z</dc:date>
    <item>
      <title>Why do these sub-searches error when part of a dashboard or report?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-do-these-sub-searches-error-when-part-of-a-dashboard-or/m-p/282818#M85427</link>
      <description>&lt;P&gt;We have separate indexes for 3 different applications and there are multiple instances of each application.  I run the SPL below in search to list the 5 instances with the most errors in each application.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=app_1_logs error | `instance` | stats count by instance_appl | sort 5 - count 
 | append [search index=app_2_logs error | `instance` | stats count by instance_appl | sort 5 - count]
 | append [search index=app_3_logs error | `instance` | stats count by instance_appl | sort 5 - count]
 | sort - count
| rename count as Count, instance_appl as "Instance Appl"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This works fine when I just run it in search, but when I add it to a dashboard or a report, it only returns the 5 results for the main search and nothing for the sub-searches.  One of my favorite errors occurs for each subsearch &lt;CODE&gt;Search process did not exit cleanly, exit_code=-1, description="exited with code -1"&lt;/CODE&gt;.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Oct 2016 13:08:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-do-these-sub-searches-error-when-part-of-a-dashboard-or/m-p/282818#M85427</guid>
      <dc:creator>lycollicott</dc:creator>
      <dc:date>2016-10-27T13:08:30Z</dc:date>
    </item>
    <item>
      <title>Re: Why do these sub-searches error when part of a dashboard or report?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-do-these-sub-searches-error-when-part-of-a-dashboard-or/m-p/282819#M85428</link>
      <description>&lt;P&gt;What's the job inspector say?&lt;/P&gt;</description>
      <pubDate>Thu, 27 Oct 2016 13:13:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-do-these-sub-searches-error-when-part-of-a-dashboard-or/m-p/282819#M85428</guid>
      <dc:creator>skoelpin</dc:creator>
      <dc:date>2016-10-27T13:13:04Z</dc:date>
    </item>
    <item>
      <title>Re: Why do these sub-searches error when part of a dashboard or report?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-do-these-sub-searches-error-when-part-of-a-dashboard-or/m-p/282820#M85429</link>
      <description>&lt;P&gt;Not really anything.  I go into it and click the search.log link and nothing ever happens.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Oct 2016 13:27:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-do-these-sub-searches-error-when-part-of-a-dashboard-or/m-p/282820#M85429</guid>
      <dc:creator>lycollicott</dc:creator>
      <dc:date>2016-10-27T13:27:43Z</dc:date>
    </item>
    <item>
      <title>Re: Why do these sub-searches error when part of a dashboard or report?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-do-these-sub-searches-error-when-part-of-a-dashboard-or/m-p/282821#M85430</link>
      <description>&lt;P&gt;Ok, I was able to get search.log to open by jumping behind the ^&amp;amp;%$# network  ^&amp;amp;%$# things that  ^&amp;amp;%$# me over every time I troubleshoot his sort of  ^&amp;amp;%$#. &lt;/P&gt;

&lt;P&gt;There were no errors and there was not even a mention of either sub-search &lt;/P&gt;</description>
      <pubDate>Thu, 27 Oct 2016 14:03:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-do-these-sub-searches-error-when-part-of-a-dashboard-or/m-p/282821#M85430</guid>
      <dc:creator>lycollicott</dc:creator>
      <dc:date>2016-10-27T14:03:24Z</dc:date>
    </item>
    <item>
      <title>Re: Why do these sub-searches error when part of a dashboard or report?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-do-these-sub-searches-error-when-part-of-a-dashboard-or/m-p/282822#M85431</link>
      <description>&lt;P&gt;Very strange.. Are you running a distributed search? If so, do you have any old versions of Splunk running? I'm also wondering if the knowledge bundles didn't get copied to the search peer. &lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.5.0/DistSearch/Limittheknowledgebundlesize"&gt;http://docs.splunk.com/Documentation/Splunk/6.5.0/DistSearch/Limittheknowledgebundlesize&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Oct 2016 14:13:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-do-these-sub-searches-error-when-part-of-a-dashboard-or/m-p/282822#M85431</guid>
      <dc:creator>skoelpin</dc:creator>
      <dc:date>2016-10-27T14:13:09Z</dc:date>
    </item>
    <item>
      <title>Re: Why do these sub-searches error when part of a dashboard or report?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-do-these-sub-searches-error-when-part-of-a-dashboard-or/m-p/282823#M85432</link>
      <description>&lt;P&gt;It is distributed and everything is 6.5.  I don't see any bundle errors, so I think it's getting copied.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Oct 2016 14:25:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-do-these-sub-searches-error-when-part-of-a-dashboard-or/m-p/282823#M85432</guid>
      <dc:creator>lycollicott</dc:creator>
      <dc:date>2016-10-27T14:25:33Z</dc:date>
    </item>
    <item>
      <title>Re: Why do these sub-searches error when part of a dashboard or report?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-do-these-sub-searches-error-when-part-of-a-dashboard-or/m-p/282824#M85433</link>
      <description>&lt;P&gt;What's the behavior when you run this query?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;(index=app_1_logs error ) OR (index=app_2_logs error) OR  index=app_3_logs error ) | `instance` | top 5 instance_appl by index showperc=f | table instance_appl count |sort - count | rename count as Count, instance_appl as "Instance Appl"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 27 Oct 2016 14:57:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-do-these-sub-searches-error-when-part-of-a-dashboard-or/m-p/282824#M85433</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2016-10-27T14:57:35Z</dc:date>
    </item>
    <item>
      <title>Re: Why do these sub-searches error when part of a dashboard or report?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-do-these-sub-searches-error-when-part-of-a-dashboard-or/m-p/282825#M85434</link>
      <description>&lt;P&gt;So much better.  Thanks, dude.  &lt;/P&gt;</description>
      <pubDate>Thu, 27 Oct 2016 16:39:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-do-these-sub-searches-error-when-part-of-a-dashboard-or/m-p/282825#M85434</guid>
      <dc:creator>lycollicott</dc:creator>
      <dc:date>2016-10-27T16:39:05Z</dc:date>
    </item>
  </channel>
</rss>

