<?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: correlate two seperate searchs in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/correlate-two-seperate-searchs/m-p/166559#M47419</link>
    <description>&lt;P&gt;How about this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;sourcetype=Entry OR sourcetype=Exit | transaction Employee,Door | where duration&amp;lt;300 AND mvcount(Shirt)&amp;gt;1
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 15 May 2014 21:03:33 GMT</pubDate>
    <dc:creator>somesoni2</dc:creator>
    <dc:date>2014-05-15T21:03:33Z</dc:date>
    <item>
      <title>correlate two seperate searchs</title>
      <link>https://community.splunk.com/t5/Splunk-Search/correlate-two-seperate-searchs/m-p/166558#M47418</link>
      <description>&lt;P&gt;What is the most efficient way to correlate results from two separate searches?  I can perform two searches, but only want to see the end results when they meet very specific criteria applied to both original search results.  &lt;/P&gt;

&lt;P&gt;For example:&lt;/P&gt;

&lt;P&gt;Search 1: [Sourcetype = Enter]&lt;/P&gt;

&lt;P&gt;Returns results like this:&lt;BR /&gt;&lt;BR /&gt;
Sourcetype = Enter&lt;BR /&gt;&lt;BR /&gt;
Time = 11:05AM&lt;BR /&gt;&lt;BR /&gt;
Employee = Sara&lt;BR /&gt;&lt;BR /&gt;
Door = West#3&lt;BR /&gt;&lt;BR /&gt;
Shirt = Red  &lt;/P&gt;

&lt;P&gt;Search 2: [Sourcetype = Exit]&lt;/P&gt;

&lt;P&gt;Returns results like this:&lt;BR /&gt;&lt;BR /&gt;
Sourcetype = Exit&lt;BR /&gt;&lt;BR /&gt;
Time = 11:08AM&lt;BR /&gt;&lt;BR /&gt;
Employee = Sara&lt;BR /&gt;&lt;BR /&gt;
Door = West#3&lt;BR /&gt;&lt;BR /&gt;
Shirt = Blue  &lt;/P&gt;

&lt;P&gt;I am only interested in the specific situation where someone enters and leaves through the same door, within 5 minutes, and is wearing a different shirt (the events above).&lt;/P&gt;

&lt;P&gt;I am not even sure the best approach in general to take here.  &lt;/P&gt;

&lt;P&gt;Any help is appreciated.  &lt;/P&gt;

&lt;P&gt;Thanks.  &lt;/P&gt;</description>
      <pubDate>Thu, 15 May 2014 20:00:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/correlate-two-seperate-searchs/m-p/166558#M47418</guid>
      <dc:creator>JWBailey</dc:creator>
      <dc:date>2014-05-15T20:00:34Z</dc:date>
    </item>
    <item>
      <title>Re: correlate two seperate searchs</title>
      <link>https://community.splunk.com/t5/Splunk-Search/correlate-two-seperate-searchs/m-p/166559#M47419</link>
      <description>&lt;P&gt;How about this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;sourcetype=Entry OR sourcetype=Exit | transaction Employee,Door | where duration&amp;lt;300 AND mvcount(Shirt)&amp;gt;1
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 15 May 2014 21:03:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/correlate-two-seperate-searchs/m-p/166559#M47419</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2014-05-15T21:03:33Z</dc:date>
    </item>
  </channel>
</rss>

