<?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: Only Failed Users without Any other Successful attempts in Security</title>
    <link>https://community.splunk.com/t5/Security/Only-Failed-Users-without-Any-other-Successful-attempts/m-p/559035#M12400</link>
    <description>&lt;LI-SPOILER&gt;You still haven't got the _time on the first stats!&lt;/LI-SPOILER&gt;</description>
    <pubDate>Mon, 12 Jul 2021 07:06:58 GMT</pubDate>
    <dc:creator>ITWhisperer</dc:creator>
    <dc:date>2021-07-12T07:06:58Z</dc:date>
    <item>
      <title>Only Failed Users without Any other Successful attempts</title>
      <link>https://community.splunk.com/t5/Security/Only-Failed-Users-without-Any-other-Successful-attempts/m-p/558976#M12387</link>
      <description>&lt;P&gt;Hello Splunkers&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i want to print events for only the users who has failed login attempts but never allowed attempts.&lt;/P&gt;&lt;P&gt;here's my search index=MyApp eventype=authentication action=fail user=*&lt;/P&gt;&lt;P&gt;but this one prints all failures even if they have other successful attempt.&lt;/P&gt;&lt;P&gt;i only want users with only failed attempts without other successful attempts, i hope the picture below clears things:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="moayadalghamdi_0-1625999468283.png" style="width: 326px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/15028i404701A7E0597604/image-dimensions/326x206?v=v2" width="326" height="206" role="button" title="moayadalghamdi_0-1625999468283.png" alt="moayadalghamdi_0-1625999468283.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;green: user only have successful logins&lt;/P&gt;&lt;P&gt;Yellow: user have both successful/failed logins&lt;/P&gt;&lt;P&gt;Red: user only have failed logins&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i want the red area only&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Sun, 11 Jul 2021 10:38:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Only-Failed-Users-without-Any-other-Successful-attempts/m-p/558976#M12387</guid>
      <dc:creator>moayadalghamdi</dc:creator>
      <dc:date>2021-07-11T10:38:07Z</dc:date>
    </item>
    <item>
      <title>Re: Only Failed Users without Any other Successful attempts</title>
      <link>https://community.splunk.com/t5/Security/Only-Failed-Users-without-Any-other-Successful-attempts/m-p/558977#M12388</link>
      <description>&lt;LI-CODE lang="markup"&gt;| makeresults 
| eval _raw="user,attempt
A,success
B,fail
B,success
C,fail
A,success
B,fail
B,success
C,fail"
| multikv forceheader=1 
| fields - _* linecount



| stats values(attempt) as attempt dc(attempt) as count by user
| where attempt="fail" AND count = 1&lt;/LI-CODE&gt;</description>
      <pubDate>Sun, 11 Jul 2021 10:54:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Only-Failed-Users-without-Any-other-Successful-attempts/m-p/558977#M12388</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-07-11T10:54:21Z</dc:date>
    </item>
    <item>
      <title>Re: Only Failed Users without Any other Successful attempts</title>
      <link>https://community.splunk.com/t5/Security/Only-Failed-Users-without-Any-other-Successful-attempts/m-p/558978#M12389</link>
      <description>&lt;P&gt;you really deserve the rank&amp;nbsp;&lt;STRONG&gt;LEGEND&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot ^_^&lt;/P&gt;</description>
      <pubDate>Sun, 11 Jul 2021 11:02:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Only-Failed-Users-without-Any-other-Successful-attempts/m-p/558978#M12389</guid>
      <dc:creator>moayadalghamdi</dc:creator>
      <dc:date>2021-07-11T11:02:12Z</dc:date>
    </item>
    <item>
      <title>Re: Only Failed Users without Any other Successful attempts</title>
      <link>https://community.splunk.com/t5/Security/Only-Failed-Users-without-Any-other-Successful-attempts/m-p/558979#M12390</link>
      <description>&lt;P&gt;another help Mr. Whisperer&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i want to show this value as a single count to show it in a "single value" visualization.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again ^_^&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 11 Jul 2021 11:16:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Only-Failed-Users-without-Any-other-Successful-attempts/m-p/558979#M12390</guid>
      <dc:creator>moayadalghamdi</dc:creator>
      <dc:date>2021-07-11T11:16:02Z</dc:date>
    </item>
    <item>
      <title>Re: Only Failed Users without Any other Successful attempts</title>
      <link>https://community.splunk.com/t5/Security/Only-Failed-Users-without-Any-other-Successful-attempts/m-p/558981#M12391</link>
      <description>&lt;P&gt;Which count? The count of users who failed or the count of failures (by user or total)?&lt;/P&gt;</description>
      <pubDate>Sun, 11 Jul 2021 12:30:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Only-Failed-Users-without-Any-other-Successful-attempts/m-p/558981#M12391</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-07-11T12:30:06Z</dc:date>
    </item>
    <item>
      <title>Re: Only Failed Users without Any other Successful attempts</title>
      <link>https://community.splunk.com/t5/Security/Only-Failed-Users-without-Any-other-Successful-attempts/m-p/559017#M12392</link>
      <description>&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i had 27 results of distinct users who never had a successful login, i want those 27 results as a single count value&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="moayadalghamdi_0-1626070072049.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/15031iA8E6E7F69BD79D79/image-size/medium?v=v2&amp;amp;px=400" role="button" title="moayadalghamdi_0-1626070072049.png" alt="moayadalghamdi_0-1626070072049.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i want to show it like this&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="moayadalghamdi_1-1626070183613.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/15032i5FC6713A3719BD6F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="moayadalghamdi_1-1626070183613.png" alt="moayadalghamdi_1-1626070183613.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this is a 3d search with span=1d, i want something similar.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks ^_^&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jul 2021 06:10:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Only-Failed-Users-without-Any-other-Successful-attempts/m-p/559017#M12392</guid>
      <dc:creator>moayadalghamdi</dc:creator>
      <dc:date>2021-07-12T06:10:34Z</dc:date>
    </item>
    <item>
      <title>Re: Only Failed Users without Any other Successful attempts</title>
      <link>https://community.splunk.com/t5/Security/Only-Failed-Users-without-Any-other-Successful-attempts/m-p/559020#M12393</link>
      <description>&lt;P&gt;Add&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| stats count&lt;/LI-CODE&gt;&lt;P&gt;to the end to get the 27&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jul 2021 06:34:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Only-Failed-Users-without-Any-other-Successful-attempts/m-p/559020#M12393</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-07-12T06:34:49Z</dc:date>
    </item>
    <item>
      <title>Re: Only Failed Users without Any other Successful attempts</title>
      <link>https://community.splunk.com/t5/Security/Only-Failed-Users-without-Any-other-Successful-attempts/m-p/559023#M12395</link>
      <description>&lt;P&gt;sorry but i need it in timechart, so i can see the changes overtime.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i used&amp;nbsp;&lt;/P&gt;&lt;P&gt;| timechart count&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;| timechart span=1d count&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but no statistics neither visuals was shown.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;pleas help with it, thanks ^_^&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jul 2021 06:43:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Only-Failed-Users-without-Any-other-Successful-attempts/m-p/559023#M12395</guid>
      <dc:creator>moayadalghamdi</dc:creator>
      <dc:date>2021-07-12T06:43:35Z</dc:date>
    </item>
    <item>
      <title>Re: Only Failed Users without Any other Successful attempts</title>
      <link>https://community.splunk.com/t5/Security/Only-Failed-Users-without-Any-other-Successful-attempts/m-p/559025#M12396</link>
      <description>&lt;P&gt;It would help if you were clear from the outset what the full requirement was! Try this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| bin _time span=1d
| stats values(attempt) as attempt dc(attempt) as count by _time user
| where attempt="fail" AND count = 1
| stats count by _time&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 12 Jul 2021 06:47:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Only-Failed-Users-without-Any-other-Successful-attempts/m-p/559025#M12396</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-07-12T06:47:44Z</dc:date>
    </item>
    <item>
      <title>Re: Only Failed Users without Any other Successful attempts</title>
      <link>https://community.splunk.com/t5/Security/Only-Failed-Users-without-Any-other-Successful-attempts/m-p/559030#M12397</link>
      <description>&lt;P&gt;sorry but its not working.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;here's the search.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="moayadalghamdi_1-1626072690959.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/15034iD7C229991A228B4A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="moayadalghamdi_1-1626072690959.png" alt="moayadalghamdi_1-1626072690959.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and here's the search with the count by _time&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="moayadalghamdi_0-1626072655451.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/15033i071F24420DC92D74/image-size/medium?v=v2&amp;amp;px=400" role="button" title="moayadalghamdi_0-1626072655451.png" alt="moayadalghamdi_0-1626072655451.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jul 2021 06:52:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Only-Failed-Users-without-Any-other-Successful-attempts/m-p/559030#M12397</guid>
      <dc:creator>moayadalghamdi</dc:creator>
      <dc:date>2021-07-12T06:52:17Z</dc:date>
    </item>
    <item>
      <title>Re: Only Failed Users without Any other Successful attempts</title>
      <link>https://community.splunk.com/t5/Security/Only-Failed-Users-without-Any-other-Successful-attempts/m-p/559031#M12398</link>
      <description>&lt;P&gt;That isn't the search with _time that I suggested - you need to bin the time into days, add it to the first stats so that _time in available for the second stats. Please read and implement the suggestions carefully before saying they don't work. I can't guarantee to get it right every time, but if you don't try what is suggested, how will we know if it works or not?&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jul 2021 06:57:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Only-Failed-Users-without-Any-other-Successful-attempts/m-p/559031#M12398</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-07-12T06:57:30Z</dc:date>
    </item>
    <item>
      <title>Re: Only Failed Users without Any other Successful attempts</title>
      <link>https://community.splunk.com/t5/Security/Only-Failed-Users-without-Any-other-Successful-attempts/m-p/559033#M12399</link>
      <description>&lt;P&gt;sorry for that, i took the wrong screen shot.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;here's the actual screenshot with the&amp;nbsp;&lt;STRONG&gt;bin&amp;nbsp;&lt;/STRONG&gt;command.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="moayadalghamdi_0-1626073274273.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/15035i0D366F76494CDD40/image-size/medium?v=v2&amp;amp;px=400" role="button" title="moayadalghamdi_0-1626073274273.png" alt="moayadalghamdi_0-1626073274273.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;im so sorry to bother you.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jul 2021 07:02:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Only-Failed-Users-without-Any-other-Successful-attempts/m-p/559033#M12399</guid>
      <dc:creator>moayadalghamdi</dc:creator>
      <dc:date>2021-07-12T07:02:52Z</dc:date>
    </item>
    <item>
      <title>Re: Only Failed Users without Any other Successful attempts</title>
      <link>https://community.splunk.com/t5/Security/Only-Failed-Users-without-Any-other-Successful-attempts/m-p/559035#M12400</link>
      <description>&lt;LI-SPOILER&gt;You still haven't got the _time on the first stats!&lt;/LI-SPOILER&gt;</description>
      <pubDate>Mon, 12 Jul 2021 07:06:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Only-Failed-Users-without-Any-other-Successful-attempts/m-p/559035#M12400</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-07-12T07:06:58Z</dc:date>
    </item>
    <item>
      <title>Re: Only Failed Users without Any other Successful attempts</title>
      <link>https://community.splunk.com/t5/Security/Only-Failed-Users-without-Any-other-Successful-attempts/m-p/559036#M12401</link>
      <description>&lt;LI-SPOILER&gt;it worked!&lt;BR /&gt;&lt;BR /&gt;thanks man, you're the best !&lt;/LI-SPOILER&gt;</description>
      <pubDate>Mon, 12 Jul 2021 07:12:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Only-Failed-Users-without-Any-other-Successful-attempts/m-p/559036#M12401</guid>
      <dc:creator>moayadalghamdi</dc:creator>
      <dc:date>2021-07-12T07:12:40Z</dc:date>
    </item>
  </channel>
</rss>

