<?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: Trying to use subsearch to filter records in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Trying-to-use-subsearch-to-filter-records/m-p/307630#M161049</link>
    <description>&lt;P&gt;Records with &lt;EM&gt;any&lt;/EM&gt; value for field &lt;CODE&gt;Status&lt;/CODE&gt;:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index="foo" sourcetype="bar" Status="*"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Then add this to limit to certain ones:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| search Status!="Closed"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Mon, 22 May 2017 22:44:12 GMT</pubDate>
    <dc:creator>woodcock</dc:creator>
    <dc:date>2017-05-22T22:44:12Z</dc:date>
    <item>
      <title>Trying to use subsearch to filter records</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Trying-to-use-subsearch-to-filter-records/m-p/307629#M161048</link>
      <description>&lt;P&gt;Looking at event data to run some eval commands... specifically on records with any "Status" value. Then once I get those events eval's done and narrowed down, I want to only see the events with Status!=Closed.&lt;/P&gt;

&lt;P&gt;So how can I look at ALL events at the front-end of the query, then filter down to a specific xxx=yyy at the back-half of the query?&lt;/P&gt;

&lt;P&gt;Mind has melted... ha&lt;/P&gt;

&lt;P&gt;thanks!&lt;/P&gt;

&lt;P&gt;joe&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2017 22:38:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Trying-to-use-subsearch-to-filter-records/m-p/307629#M161048</guid>
      <dc:creator>joesrepsol</dc:creator>
      <dc:date>2017-05-22T22:38:06Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to use subsearch to filter records</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Trying-to-use-subsearch-to-filter-records/m-p/307630#M161049</link>
      <description>&lt;P&gt;Records with &lt;EM&gt;any&lt;/EM&gt; value for field &lt;CODE&gt;Status&lt;/CODE&gt;:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index="foo" sourcetype="bar" Status="*"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Then add this to limit to certain ones:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| search Status!="Closed"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 22 May 2017 22:44:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Trying-to-use-subsearch-to-filter-records/m-p/307630#M161049</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2017-05-22T22:44:12Z</dc:date>
    </item>
  </channel>
</rss>

