Splunk Enterprise Security

how to compare successful logins in the host with yesterday's

satyaallaparthi
Communicator

Hello,

I am getting successful logins from each server which is like 4000 per day from Each server. But some days that number is going high.
How can I compare successful logins with yesterday and how to get the difference between yesterday and today?

and create a notable event which is more than normal logins by comparing 2.

Any help would be appreciated!

Thanks,

0 Karma
1 Solution

mayurr98
Super Champion

Try this logic :

index=_internal earliest=-1d@d latest=now 
| timechart count span=1d 
| timewrap d 
| rename 1day_before as Yesterday latest_day as Today 
| eval diff=Yesterday-Today

View solution in original post

mayurr98
Super Champion

Try this logic :

index=_internal earliest=-1d@d latest=now 
| timechart count span=1d 
| timewrap d 
| rename 1day_before as Yesterday latest_day as Today 
| eval diff=Yesterday-Today
Get Updates on the Splunk Community!

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer at Splunk .conf24 ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...