<?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: Is this a Join, subsearch, or something else? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Is-this-a-Join-subsearch-or-something-else/m-p/48749#M11655</link>
    <description>&lt;P&gt;I did not think of this. The Helpful simple.&lt;/P&gt;</description>
    <pubDate>Wed, 28 Aug 2013 01:47:04 GMT</pubDate>
    <dc:creator>HiroshiSatoh</dc:creator>
    <dc:date>2013-08-28T01:47:04Z</dc:date>
    <item>
      <title>Is this a Join, subsearch, or something else?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-this-a-Join-subsearch-or-something-else/m-p/48741#M11647</link>
      <description>&lt;P&gt;&lt;CODE&gt;&lt;BR /&gt;
In my search I am at a stage where I have something like below.&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;USERID EVENT STATUS&lt;BR /&gt;
1      HELLO PASS&lt;BR /&gt;
2      HELLO FAIL&lt;BR /&gt;
3      HELLO FAIL&lt;BR /&gt;
4      HELLO PASS&lt;BR /&gt;
2      HELLO PASS&lt;BR /&gt;
3      HELLO PASS&lt;BR /&gt;
7      HELLO FAIL&lt;BR /&gt;
4      HELLO PASS&lt;BR /&gt;
8      HELLO PASS&lt;/P&gt;

&lt;P&gt;I need a way to list all &lt;CODE&gt;USERID&lt;/CODE&gt; who have encountered both PASS and FAIL STATUS&lt;/P&gt;

&lt;P&gt;2&lt;BR /&gt;
3&lt;/P&gt;

&lt;P&gt;help?&lt;BR /&gt;
thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Aug 2013 21:43:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-this-a-Join-subsearch-or-something-else/m-p/48741#M11647</guid>
      <dc:creator>theeven</dc:creator>
      <dc:date>2013-08-27T21:43:53Z</dc:date>
    </item>
    <item>
      <title>Re: Is this a Join, subsearch, or something else?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-this-a-Join-subsearch-or-something-else/m-p/48742#M11648</link>
      <description>&lt;P&gt;What is the timeframe?&lt;/P&gt;</description>
      <pubDate>Wed, 28 Aug 2013 00:06:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-this-a-Join-subsearch-or-something-else/m-p/48742#M11648</guid>
      <dc:creator>lukejadamec</dc:creator>
      <dc:date>2013-08-28T00:06:57Z</dc:date>
    </item>
    <item>
      <title>Re: Is this a Join, subsearch, or something else?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-this-a-Join-subsearch-or-something-else/m-p/48743#M11649</link>
      <description>&lt;P&gt;I hate to say that, but maybe a transaction may be useful.&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;mysearch PASS OR FAIL | transaction USERID | search PASS AND FAIL | table USERID&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Aug 2013 00:13:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-this-a-Join-subsearch-or-something-else/m-p/48743#M11649</guid>
      <dc:creator>yannK</dc:creator>
      <dc:date>2013-08-28T00:13:03Z</dc:date>
    </item>
    <item>
      <title>Re: Is this a Join, subsearch, or something else?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-this-a-Join-subsearch-or-something-else/m-p/48744#M11650</link>
      <description>&lt;P&gt;not sure if i get it.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Aug 2013 00:15:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-this-a-Join-subsearch-or-something-else/m-p/48744#M11650</guid>
      <dc:creator>theeven</dc:creator>
      <dc:date>2013-08-28T00:15:03Z</dc:date>
    </item>
    <item>
      <title>Re: Is this a Join, subsearch, or something else?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-this-a-Join-subsearch-or-something-else/m-p/48745#M11651</link>
      <description>&lt;P&gt;How far back in time do you want to look?&lt;BR /&gt;
For users that have both pass and fail, in the past hour, day, month?&lt;/P&gt;</description>
      <pubDate>Wed, 28 Aug 2013 00:26:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-this-a-Join-subsearch-or-something-else/m-p/48745#M11651</guid>
      <dc:creator>lukejadamec</dc:creator>
      <dc:date>2013-08-28T00:26:22Z</dc:date>
    </item>
    <item>
      <title>Re: Is this a Join, subsearch, or something else?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-this-a-Join-subsearch-or-something-else/m-p/48746#M11652</link>
      <description>&lt;P&gt;I am planning to group timechart per_day() at the end.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Aug 2013 00:30:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-this-a-Join-subsearch-or-something-else/m-p/48746#M11652</guid>
      <dc:creator>theeven</dc:creator>
      <dc:date>2013-08-28T00:30:46Z</dc:date>
    </item>
    <item>
      <title>Re: Is this a Join, subsearch, or something else?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-this-a-Join-subsearch-or-something-else/m-p/48747#M11653</link>
      <description>&lt;P&gt;Okay here's my solution. Works good for me.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| stats values(STATUS) as STATUS_MV by USERID 
| eval STATUS_COUNT = mvcount(STATUS_MV) 
| search STATUS_COUNT=2
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;In my case, Status can only take one of the 2 conditions (&lt;CODE&gt;PASS/FAIL&lt;/CODE&gt;). In other case &lt;CODE&gt;"&amp;gt;"&lt;/CODE&gt; operator could also be used.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Aug 2013 01:10:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-this-a-Join-subsearch-or-something-else/m-p/48747#M11653</guid>
      <dc:creator>theeven</dc:creator>
      <dc:date>2013-08-28T01:10:52Z</dc:date>
    </item>
    <item>
      <title>Re: Is this a Join, subsearch, or something else?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-this-a-Join-subsearch-or-something-else/m-p/48748#M11654</link>
      <description>&lt;P&gt;Pretty straightforward:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | stats values(STATUS) as statuses by USERID | where statuses=="PASS" AND statuses=="FAIL"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 28 Aug 2013 01:15:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-this-a-Join-subsearch-or-something-else/m-p/48748#M11654</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2013-08-28T01:15:44Z</dc:date>
    </item>
    <item>
      <title>Re: Is this a Join, subsearch, or something else?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-this-a-Join-subsearch-or-something-else/m-p/48749#M11655</link>
      <description>&lt;P&gt;I did not think of this. The Helpful simple.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Aug 2013 01:47:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-this-a-Join-subsearch-or-something-else/m-p/48749#M11655</guid>
      <dc:creator>HiroshiSatoh</dc:creator>
      <dc:date>2013-08-28T01:47:04Z</dc:date>
    </item>
    <item>
      <title>Re: Is this a Join, subsearch, or something else?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-this-a-Join-subsearch-or-something-else/m-p/48750#M11656</link>
      <description>&lt;P&gt;That is similar to how I would approach it &lt;/P&gt;

&lt;P&gt;...| stats dc(STATUS) by USERID&lt;/P&gt;</description>
      <pubDate>Wed, 11 Sep 2013 10:36:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-this-a-Join-subsearch-or-something-else/m-p/48750#M11656</guid>
      <dc:creator>Runals</dc:creator>
      <dc:date>2013-09-11T10:36:08Z</dc:date>
    </item>
  </channel>
</rss>

