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!

[Puzzles] Solve, Learn, Repeat: Dynamic formatting from XML events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

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