All Apps and Add-ons

not receiving logs from auditd enabled linux server

riqbal47010
Path Finder

Hi everyone,

to collect auditd logs from /var/log/audit.log, I just add TA-auditd and removed standard unix TA. the default TA-auditd does not have any inputs.conf file.
there are no logs i check with
index=* sourcetype= linux:audit

whereas I can see in _internal index that events are coming.

0 Karma

codebuilder
Influencer

By default, the Splunk user (splunk) does not have access to /var/log which is owned by root. Therefore it cannot access the log files there (auditd.log) for ingestion.

You'll need to modify the privileges for the Splunk user, or change ownership of that file to splunk:splunk e.g.

----
An upvote would be appreciated and Accept Solution if it helps!
0 Karma

rendi7936
New Member

Hello,
Is second lookup (ldapsearch) is a must for configuring this apps ?
https://github.com/doksu/splunk_auditd/wiki/Installation-and-Configuration

Because i do not have LDAP, so i skip it.

My last step for configuring Linux Auditd.
1. I configure splunk user to go in root group.
2. grant root privileges to splunk user.
3. login as splunk user and try access /var/log/audit/audit.log. If this works, i prefer it is an ok.

But, i do not get linux:audit data in my Splunk.
Is there something that i missing ?
Am i should install CIM too ?

At this moment, I am using Splunk 7.3.5.

It's so wierd that linux-auditd only works when i manually added auditd.log.
I suppose it should works automatically when install linux-auditd.

0 Karma

rendi7936
New Member

Do you have solved this problem ?
Is this happen because group permission that used by auditd ?

I change the group permission that used by auditd from root to splunk. But, it doesnot solved this problem.

i also installed Auditd Addons, too

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

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

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...

Index This | How many sevens are there between 1 and 100?

August 2025 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with this ...