Deployment Architecture

Linux logging on Splunk

mksingh
New Member

I want to know industry standard for Linux system logging for security purpose. What files needs to be logged and how to capture command line commands logging?

0 Karma

mattymo
Splunk Employee
Splunk Employee

Hi mksingh,

That is quite a broad question/topic, but I would recommend you start here:

https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Security_Guide/chap-sy...

The actual configuration and logs you monitor will depend heavily on the flavor of the nix system (RHEL, HPUX, AIX), but as RHEL is mostly what you might see...check out the docs on the Linux audit system.

A couple good resources here as well:
https://www.function1.com/2015/07/splunking-the-linux-audit-system
https://splunkbase.splunk.com/app/2642/
http://security.blogoverflow.com/2013/01/a-brief-introduction-to-auditd/

Your best bet would be to consult a security and compliance SME in your field to ensure you are capturing what matters to securing the systems in use.

- MattyMo
Get Updates on the Splunk Community!

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL  The Splunk AI Assistant for SPL ...

Buttercup Games: Further Dashboarding Techniques (Part 5)

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...

Customers Increasingly Choose Splunk for Observability

For the second year in a row, Splunk was recognized as a Leader in the 2024 Gartner® Magic Quadrant™ for ...