<?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: How do I join my epO events with my user login events? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-join-my-epO-events-with-my-user-login-events/m-p/231469#M68671</link>
    <description>&lt;P&gt;I can't provide samples for compliance reasons.  However, the search shows the succesful login event from windows but I don't see any correlation from the mcafee logs .. also I changed the value 0f =0 to =1 in the mcafee subsearch it doesn't appear to be reading the subsearch only the windows search..&lt;/P&gt;</description>
    <pubDate>Wed, 04 May 2016 22:48:35 GMT</pubDate>
    <dc:creator>gods_warrior</dc:creator>
    <dc:date>2016-05-04T22:48:35Z</dc:date>
    <item>
      <title>How do I join my epO events with my user login events?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-join-my-epO-events-with-my-user-login-events/m-p/231465#M68667</link>
      <description>&lt;P&gt;I am trying to alert on when a specific user logs into an affected / malware not cleaned machine.  I am using the following search, but can't seem to get the join to work.  All I see are the signatures from the Windows events, but nothing from McAfee..  &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=wineventlog EventCode=4624 | lookup privileged_users.csv user | search nick="*" | join type=left user [search index=mcafee sourcetype="mcafee:epo:av" threat_handled=0 field user | rename user as pua] | stats count by pua
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Thoughts?&lt;/P&gt;</description>
      <pubDate>Wed, 04 May 2016 21:49:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-join-my-epO-events-with-my-user-login-events/m-p/231465#M68667</guid>
      <dc:creator>gods_warrior</dc:creator>
      <dc:date>2016-05-04T21:49:45Z</dc:date>
    </item>
    <item>
      <title>Re: How do I join my epO events with my user login events?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-join-my-epO-events-with-my-user-login-events/m-p/231466#M68668</link>
      <description>&lt;P&gt;Hi gods_warrior,&lt;/P&gt;

&lt;P&gt;you're joining on &lt;CODE&gt;user&lt;/CODE&gt; but the subsearch does not return a &lt;CODE&gt;user&lt;/CODE&gt; field it returns &lt;CODE&gt;pua&lt;/CODE&gt;. &lt;/P&gt;

&lt;P&gt;Anyway you can run this as one search without using &lt;CODE&gt;join&lt;/CODE&gt; - see reason for that here &lt;A href="https://answers.splunk.com/answers/129424/how-to-compare-fields-over-multiple-sourcetypes-without-join-append-or-use-of-subsearches.html"&gt;https://answers.splunk.com/answers/129424/how-to-compare-fields-over-multiple-sourcetypes-without-join-append-or-use-of-subsearches.html&lt;/A&gt; or in the March 2016 virtual .conf here &lt;A href="http://wiki.splunk.com/Virtual_.conf"&gt;http://wiki.splunk.com/Virtual_.conf&lt;/A&gt; &lt;/P&gt;

&lt;P&gt;Back to your search:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;( index=wineventlog EventCode=4624 search nick="*" ) OR ( index=mcafee sourcetype="mcafee:epo:av" threat_handled=0 field user ) 
| lookup privileged_users.csv user 
| stats count by user *any other further needed fields*
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This should return a count of user from both indexes. Also this should straight away because you will get &lt;CODE&gt;user&lt;/CODE&gt; from &lt;CODE&gt;index=wineventlog&lt;/CODE&gt; and from &lt;CODE&gt;index=mcafee&lt;/CODE&gt; based on your provided search example.&lt;/P&gt;

&lt;P&gt;Hope this helps ...&lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
      <pubDate>Wed, 04 May 2016 22:02:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-join-my-epO-events-with-my-user-login-events/m-p/231466#M68668</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2016-05-04T22:02:56Z</dc:date>
    </item>
    <item>
      <title>Re: How do I join my epO events with my user login events?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-join-my-epO-events-with-my-user-login-events/m-p/231467#M68669</link>
      <description>&lt;P&gt;MuS .. Thanks for the reply.  Still doesn't work .. the nick value is a field name in the lookup value for privileged_users.csv .. really what I am hoping to see is the user and signatures which I can add output as the following results.  User logs into device that is infected and I can see the complete correlation on that result.&lt;/P&gt;</description>
      <pubDate>Wed, 04 May 2016 22:20:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-join-my-epO-events-with-my-user-login-events/m-p/231467#M68669</guid>
      <dc:creator>gods_warrior</dc:creator>
      <dc:date>2016-05-04T22:20:47Z</dc:date>
    </item>
    <item>
      <title>Re: How do I join my epO events with my user login events?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-join-my-epO-events-with-my-user-login-events/m-p/231468#M68670</link>
      <description>&lt;P&gt;Can you provide examples from both sources please?&lt;/P&gt;

&lt;P&gt;Meanwhile try this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;( index=wineventlog EventCode=4624 ) OR ( index=mcafee sourcetype="mcafee:epo:av" threat_handled=0 field user ) 
 | lookup privileged_users.csv user 
 | search nick="*"
 | stats count by user *any other further needed fields*
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 04 May 2016 22:23:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-join-my-epO-events-with-my-user-login-events/m-p/231468#M68670</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2016-05-04T22:23:05Z</dc:date>
    </item>
    <item>
      <title>Re: How do I join my epO events with my user login events?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-join-my-epO-events-with-my-user-login-events/m-p/231469#M68671</link>
      <description>&lt;P&gt;I can't provide samples for compliance reasons.  However, the search shows the succesful login event from windows but I don't see any correlation from the mcafee logs .. also I changed the value 0f =0 to =1 in the mcafee subsearch it doesn't appear to be reading the subsearch only the windows search..&lt;/P&gt;</description>
      <pubDate>Wed, 04 May 2016 22:48:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-join-my-epO-events-with-my-user-login-events/m-p/231469#M68671</guid>
      <dc:creator>gods_warrior</dc:creator>
      <dc:date>2016-05-04T22:48:35Z</dc:date>
    </item>
    <item>
      <title>Re: How do I join my epO events with my user login events?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-join-my-epO-events-with-my-user-login-events/m-p/231470#M68672</link>
      <description>&lt;P&gt;Okay let's do this step by step:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=wineventlog EventCode=4624 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;this returns a field called &lt;CODE&gt;user&lt;/CODE&gt;, I know because you use it is the lookup &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;| lookup privileged_users.csv user &lt;BR /&gt;
the mentioned lookup the enrich user information&lt;/P&gt;

&lt;P&gt;index=mcafee sourcetype="mcafee:epo:av" threat_handled=0 field user&lt;BR /&gt;
as long as this search returns a field called user as well, you can use &lt;CODE&gt;stats&lt;/CODE&gt; to group it by this field.&lt;/P&gt;

&lt;P&gt;Please verify each search and make sure they both return a user field.&lt;BR /&gt;
Don't use a sub search for this &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 May 2016 23:10:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-join-my-epO-events-with-my-user-login-events/m-p/231470#M68672</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2016-05-04T23:10:46Z</dc:date>
    </item>
    <item>
      <title>Re: How do I join my epO events with my user login events?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-join-my-epO-events-with-my-user-login-events/m-p/231471#M68673</link>
      <description>&lt;P&gt;I know that the user fields do exist in both searches.  However, I don't see any type of signature or user logs from the mcafee search.  The only think I see are the windows events.  not sure why I am not seeing any output from the McAfee events..&lt;/P&gt;</description>
      <pubDate>Wed, 04 May 2016 23:40:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-join-my-epO-events-with-my-user-login-events/m-p/231471#M68673</guid>
      <dc:creator>gods_warrior</dc:creator>
      <dc:date>2016-05-04T23:40:31Z</dc:date>
    </item>
    <item>
      <title>Re: How do I join my epO events with my user login events?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-join-my-epO-events-with-my-user-login-events/m-p/231472#M68674</link>
      <description>&lt;P&gt;check the time range and/or only search for the McAfee events to make sure they are available&lt;/P&gt;</description>
      <pubDate>Thu, 05 May 2016 00:24:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-join-my-epO-events-with-my-user-login-events/m-p/231472#M68674</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2016-05-05T00:24:46Z</dc:date>
    </item>
  </channel>
</rss>

