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!

Routing Data to Different Splunk Indexes in the OpenTelemetry Collector

This blog post is part of an ongoing series on OpenTelemetry. The OpenTelemetry project is the second largest ...

Getting Started with AIOps: Event Correlation Basics and Alert Storm Detection in ...

Getting Started with AIOps:Event Correlation Basics and Alert Storm Detection in Splunk IT Service ...

Register to Attend BSides SPL 2022 - It's all Happening October 18!

Join like-minded individuals for technical sessions on everything Splunk!  This is a community-led and run ...