<?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: Outer query should display the results based on the inner query count in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Outer-query-should-display-the-results-based-on-the-inner-query/m-p/317158#M94888</link>
    <description>&lt;P&gt;index=abc sourcetype=xyz | where [search index=pqr sourcetype=pqrs | return 100 $ID | stats count|return 1 $count]&amp;gt;0&lt;/P&gt;

&lt;P&gt;its working like this&lt;/P&gt;</description>
    <pubDate>Mon, 10 Apr 2017 19:11:18 GMT</pubDate>
    <dc:creator>sravankaripe</dc:creator>
    <dc:date>2017-04-10T19:11:18Z</dc:date>
    <item>
      <title>Outer query should display the results based on the inner query count</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Outer-query-should-display-the-results-based-on-the-inner-query/m-p/317156#M94886</link>
      <description>&lt;P&gt;i want to display the events based on subquery's count(say Mycount) .&lt;BR /&gt;
please help me with search query.&lt;/P&gt;

&lt;P&gt;index=abc sourcetype=xyz [search index=pqr sourcetype=pqrs  | return 100 $ID|eventstats count as MyCount]&lt;BR /&gt;
| where MyCount&amp;gt;0&lt;/P&gt;</description>
      <pubDate>Mon, 10 Apr 2017 18:00:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Outer-query-should-display-the-results-based-on-the-inner-query/m-p/317156#M94886</guid>
      <dc:creator>sravankaripe</dc:creator>
      <dc:date>2017-04-10T18:00:43Z</dc:date>
    </item>
    <item>
      <title>Re: Outer query should display the results based on the inner query count</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Outer-query-should-display-the-results-based-on-the-inner-query/m-p/317157#M94887</link>
      <description>&lt;P&gt;Something like this??&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=abc sourcetype=xyz | where [search index=pqr sourcetype=pqrs | return 100 $ID | stats count as query]&amp;gt;0
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 10 Apr 2017 18:55:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Outer-query-should-display-the-results-based-on-the-inner-query/m-p/317157#M94887</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2017-04-10T18:55:52Z</dc:date>
    </item>
    <item>
      <title>Re: Outer query should display the results based on the inner query count</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Outer-query-should-display-the-results-based-on-the-inner-query/m-p/317158#M94888</link>
      <description>&lt;P&gt;index=abc sourcetype=xyz | where [search index=pqr sourcetype=pqrs | return 100 $ID | stats count|return 1 $count]&amp;gt;0&lt;/P&gt;

&lt;P&gt;its working like this&lt;/P&gt;</description>
      <pubDate>Mon, 10 Apr 2017 19:11:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Outer-query-should-display-the-results-based-on-the-inner-query/m-p/317158#M94888</guid>
      <dc:creator>sravankaripe</dc:creator>
      <dc:date>2017-04-10T19:11:18Z</dc:date>
    </item>
  </channel>
</rss>

