All Apps and Add-ons

How can I monitor successful and failed logins on Linux servers?

kranthi851
New Member

Hi ,

How can I monitor Linux servers successful & failed logins? I have a forwarder and Splunk Add-on for Unix and Linux installed on the server.

0 Karma

dbcase
Motivator

You can get the failed ones like this:

index=os process=sshd eventtype=failed_login

0 Karma

kbrown_splunk
Splunk Employee
Splunk Employee

Yes, just make sure you have permissions for the user running Splunk to your /var/log/ log directory and that you configure the Splunk_TA_nix inputs.conf [monitor:///var/log] enabled (This can be done via the GUI under the Apps menu
Apps->Splunk add-on for Nix

http://www.function1.com/2015/07/splunking-the-linux-audit-system

0 Karma
Get Updates on the Splunk Community!

A Season of Skills: New Splunk Courses to Light Up Your Learning Journey

There’s something special about this time of year—maybe it’s the glow of the holidays, maybe it’s the ...

Announcing the Migration of the Splunk Add-on for Microsoft Azure Inputs to ...

Announcing the Migration of the Splunk Add-on for Microsoft Azure Inputs to Officially Supported Splunk ...

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI! Discover how Splunk’s agentic AI ...