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 Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Shape the Future of Splunk: Join the Product Research Lab!

Join the Splunk Product Research Lab and connect with us in the Slack channel #product-research-lab to get ...