Monitoring Splunk

Unable to view RHEL Audit Logs in Splunk

bedwards
Loves-to-Learn Lots

My audit logs are not being sent to splunk. The inputs.conf file is configured to monitor everything under /var/log. Please see below. Any assistance would be helpful, Thanks.

[monitor:///var/log]
disabled=false
index=linux
sourcetype=linux_messages_syslog

 

I also tried to specify the log in the inputs.conf file as seen below. But still no luck.

[monitor:///var/log/audit/audit.log]
disabled=false
index=linux
sourcetype=linux_audit

 

Labels (2)
0 Karma

isoutamo
SplunkTrust
SplunkTrust

If/when you are running UF as non root user, you must give access to those logs to that specific user. You could check if this is the issue by trying to use less/more to see the content of those files by splunk user.

r. Ismo

0 Karma

bedwards
Loves-to-Learn Lots

I'm running UF as root user.

Tags (1)
0 Karma

isoutamo
SplunkTrust
SplunkTrust
Can you see any logs e.g. internal from this UF or are those /var/logs only ones which are missing?

There are several other threads for troubleshooting log collections. Have you try those already?
0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Data Persistence in the OpenTelemetry Collector

This blog post is part of an ongoing series on OpenTelemetry. What happens if the OpenTelemetry collector ...

Thanks for the Memories! Splunk University, .conf25, and our Community

Thank you to everyone in the Splunk Community who joined us for .conf25, which kicked off with our iconic ...

Introducing Splunk 10.0: Smarter, Faster, and More Powerful Than Ever

Now On Demand Whether you're managing complex deployments or looking to future-proof your data ...