<?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: Tracking failed logins followed by successful logins using the transaction command in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Tracking-failed-logins-followed-by-successful-logins-using-the/m-p/576571#M200937</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/239762"&gt;@My&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;I don't like transaction command and I use it only when I haven't any other solution.&lt;/P&gt;&lt;P&gt;In your case, you could do this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=wineventlog sourcetype=xmlwineventlog:Security EventCode IN (4624,4625)
| stats dc(EventCode) AS dc_eventcode count(eval(EventCode=4625)) AS failed BY user host
| where dc_eventcode&amp;gt;1 AND failed&amp;gt;5&lt;/LI-CODE&gt;&lt;P&gt;in this way you have the filter for more than 5 failed logins and a successful login grouped for user and host.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
    <pubDate>Mon, 29 Nov 2021 09:08:03 GMT</pubDate>
    <dc:creator>gcusello</dc:creator>
    <dc:date>2021-11-29T09:08:03Z</dc:date>
    <item>
      <title>Tracking failed logins followed by successful logins using the transaction command</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Tracking-failed-logins-followed-by-successful-logins-using-the/m-p/576549#M200931</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am trying to track failed logons followed by a successful one using the transaction command and the following criteria:&lt;/P&gt;&lt;P&gt;Limit the time span to 5 min,&amp;nbsp; add a startswith so each transaction will begin with a logon failure, add an endswith so each transaction will end with logon success and add a | where to find when the eventcount exceeds 3&lt;/P&gt;&lt;P&gt;this is what I have so far&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="My_0-1638152521000.png" style="width: 1028px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/17028iAD1003AC5ACEFF08/image-dimensions/1028x85?v=v2" width="1028" height="85" role="button" title="My_0-1638152521000.png" alt="My_0-1638152521000.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Nov 2021 02:25:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Tracking-failed-logins-followed-by-successful-logins-using-the/m-p/576549#M200931</guid>
      <dc:creator>My</dc:creator>
      <dc:date>2021-11-29T02:25:02Z</dc:date>
    </item>
    <item>
      <title>Re: Tracking failed logins followed by successful logins using the transaction command</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Tracking-failed-logins-followed-by-successful-logins-using-the/m-p/576570#M200936</link>
      <description>&lt;P&gt;I don't see what's wrong with this, except that I don't understand the "where eventcount &amp;gt;3". Without that I expect that it should give you the right results. Or what is it exactly that you are missing?&lt;/P&gt;</description>
      <pubDate>Mon, 29 Nov 2021 08:57:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Tracking-failed-logins-followed-by-successful-logins-using-the/m-p/576570#M200936</guid>
      <dc:creator>rrovers</dc:creator>
      <dc:date>2021-11-29T08:57:46Z</dc:date>
    </item>
    <item>
      <title>Re: Tracking failed logins followed by successful logins using the transaction command</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Tracking-failed-logins-followed-by-successful-logins-using-the/m-p/576571#M200937</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/239762"&gt;@My&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;I don't like transaction command and I use it only when I haven't any other solution.&lt;/P&gt;&lt;P&gt;In your case, you could do this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=wineventlog sourcetype=xmlwineventlog:Security EventCode IN (4624,4625)
| stats dc(EventCode) AS dc_eventcode count(eval(EventCode=4625)) AS failed BY user host
| where dc_eventcode&amp;gt;1 AND failed&amp;gt;5&lt;/LI-CODE&gt;&lt;P&gt;in this way you have the filter for more than 5 failed logins and a successful login grouped for user and host.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Mon, 29 Nov 2021 09:08:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Tracking-failed-logins-followed-by-successful-logins-using-the/m-p/576571#M200937</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2021-11-29T09:08:03Z</dc:date>
    </item>
  </channel>
</rss>

