Splunk Search

How to write the search to get the user logon and logoff details on Splunk search head?

lksridhar
Explorer

Hi Folks,

Could you please help me to get the search for Ldap user logon and logoff activity on Splunk search head?

Thanks,
Sridhar

0 Karma

brreeves_splunk
Splunk Employee
Splunk Employee

To Confirm @somesoni2's comment

index=_audit action=login*

Does pull logins. There are no logouts logged, as most people just close the window. But I tested by actually logging out, and didn't find any events generated.

0 Karma

somesoni2
Revered Legend

You're looking for logs for user login to your Splunk? If yes, then I don't believe there is any logoff events being generated in Splunk but you can use following to see the log-in events.

index=_audit action=login*
Get Updates on the Splunk Community!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...