<?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: Windows security events search in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Windows-security-events-search/m-p/34068#M7299</link>
    <description>&lt;P&gt;What you are seeing is the effect of having two fields named Account Name.  The count for - will equal the sum of all other Account Names.&lt;/P&gt;

&lt;P&gt;Use this to check the first entry for a value, and if its null then get the second entries value:&lt;/P&gt;

&lt;P&gt;eval User = if(isnull(Account_Name), User_Name, mvindex(Account_Name,1))&lt;/P&gt;

&lt;P&gt;This will create the new value User, but you will probably have to 'View all fields' to see it.&lt;BR /&gt;
The User field will not contain -.&lt;/P&gt;

&lt;P&gt;You can find more information here:&lt;BR /&gt;
&lt;A href="http://answers.splunk.com/answers/2649/same-fields-with-different-values-in-one-event" target="_blank"&gt;http://answers.splunk.com/answers/2649/same-fields-with-different-values-in-one-event&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2020 14:34:05 GMT</pubDate>
    <dc:creator>lukejadamec</dc:creator>
    <dc:date>2020-09-28T14:34:05Z</dc:date>
    <item>
      <title>Windows security events search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Windows-security-events-search/m-p/34065#M7296</link>
      <description>&lt;P&gt;I have to capture the failed login attempts over windows machines.&lt;BR /&gt;
I am filtering on the basis of EventCode=4625. &lt;BR /&gt;
For a particular User,I am getting multiple events for a time event, like failed events for a user are coming around 10-11 in 1 minute.&lt;BR /&gt;
Please help me with this search so that I can remove all the redundancy of user names like "-". &lt;BR /&gt;
I want to display 4 fields- user name, last login, host, total count of failed events&lt;/P&gt;</description>
      <pubDate>Wed, 14 Aug 2013 07:56:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Windows-security-events-search/m-p/34065#M7296</guid>
      <dc:creator>lohit</dc:creator>
      <dc:date>2013-08-14T07:56:21Z</dc:date>
    </item>
    <item>
      <title>Re: Windows security events search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Windows-security-events-search/m-p/34066#M7297</link>
      <description>&lt;P&gt;Why not using the windows app and AD app?&lt;/P&gt;

&lt;P&gt;&lt;A href="http://apps.splunk.com/app/272"&gt;Splunk for Windows&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="http://apps.splunk.com/app/1059"&gt;Splunk for Active Directory&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;They have those kind of searches/reports and you can add yours too.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Aug 2013 08:18:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Windows-security-events-search/m-p/34066#M7297</guid>
      <dc:creator>MarioM</dc:creator>
      <dc:date>2013-08-14T08:18:09Z</dc:date>
    </item>
    <item>
      <title>Re: Windows security events search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Windows-security-events-search/m-p/34067#M7298</link>
      <description>&lt;P&gt;i am asked to make a self search for this.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Aug 2013 08:32:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Windows-security-events-search/m-p/34067#M7298</guid>
      <dc:creator>lohit</dc:creator>
      <dc:date>2013-08-14T08:32:54Z</dc:date>
    </item>
    <item>
      <title>Re: Windows security events search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Windows-security-events-search/m-p/34068#M7299</link>
      <description>&lt;P&gt;What you are seeing is the effect of having two fields named Account Name.  The count for - will equal the sum of all other Account Names.&lt;/P&gt;

&lt;P&gt;Use this to check the first entry for a value, and if its null then get the second entries value:&lt;/P&gt;

&lt;P&gt;eval User = if(isnull(Account_Name), User_Name, mvindex(Account_Name,1))&lt;/P&gt;

&lt;P&gt;This will create the new value User, but you will probably have to 'View all fields' to see it.&lt;BR /&gt;
The User field will not contain -.&lt;/P&gt;

&lt;P&gt;You can find more information here:&lt;BR /&gt;
&lt;A href="http://answers.splunk.com/answers/2649/same-fields-with-different-values-in-one-event" target="_blank"&gt;http://answers.splunk.com/answers/2649/same-fields-with-different-values-in-one-event&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 14:34:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Windows-security-events-search/m-p/34068#M7299</guid>
      <dc:creator>lukejadamec</dc:creator>
      <dc:date>2020-09-28T14:34:05Z</dc:date>
    </item>
    <item>
      <title>Re: Windows security events search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Windows-security-events-search/m-p/34069#M7300</link>
      <description>&lt;P&gt;You could try something like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index="MyIndex" EventCode="4625" | eval Username=(mvindex(Account_Name,1)) | stats count by Username,host | table Username,host,count
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Regarding "last login",you could simply do a search like:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index="MyIndex" EventCode="4625" | eval Username=(mvindex(Account_Name,1)) | dedup Username | table _time,Username,host
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I guess combining "last login" with the count of failed events is a little bit tricky. You could try appending a search.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Aug 2013 12:44:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Windows-security-events-search/m-p/34069#M7300</guid>
      <dc:creator>splunk68</dc:creator>
      <dc:date>2013-08-14T12:44:34Z</dc:date>
    </item>
  </channel>
</rss>

