Splunk Search

Displaying unwanted user names on the output

brpsingara
Explorer

Below is my code and I want to display only "Druv" Failed logins. But, I see the user name 'None' , 'Karla' and other few names.

How avoid the unwanted users in the output

index=wineventlog source="WinEventLog:Security" sourcetype=WinEventLog:Security EventCode=4625 where Account_Name=Druv
| stats count by _time, Workstation_Name,Account_Name,dest, dest_nt_domain, product, app, action, EventCode, EventCodeDescription, Failure_Reason, name 
| sort  _time
| where Account_Name!="-"

Thanks in advance

Tags (1)
0 Karma

to4kawa
Ultra Champion
index=wineventlog source="WinEventLog:Security" sourcetype=WinEventLog:Security EventCode=4625 Account_Name="Druv"
 | stats count by _time, Workstation_Name,Account_Name,dest, dest_nt_domain, product, app, action, EventCode, EventCodeDescription, Failure_Reason, name 
 | sort  _time

I exclude where. typo?

0 Karma

brpsingara
Explorer

thank you

0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...