Splunk Search

How do I filter successful events since I am getting too many?

vikramyadav
Contributor

When I login I get too many logon events. How do I filter successful events?
This is the query:-

index="wineventlog" | timechart count span=1m 

And I'm also trying to minimize event size by the add-on "windows_eventsize_reducer" help me to reduce the events.

somesoni2
Revered Legend

Have a look at this

https://gosplunk.com/failed-versus-successful-logon-attempts/
https://answers.splunk.com/answers/127012/how-can-i-use-windows-events-to-monitor-logon-sessions.htm...

You should be able to use the searches in there to figure out the event code filter that you need to apply to your query.

Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...