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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas     Cisco Live 2026 is almost here, and this ...

What Is the Name of the USB Key Inserted by Bob Smith? (BOTS Hint, Not the Answer)

Hello Splunkers,   So you searched, “what is the name of the usb key inserted by bob smith?”  Not gonna lie… ...

Automating Threat Operations and Threat Hunting with Recorded Future

    Automating Threat Operations and Threat Hunting with Recorded Future June 29, 2026 | Register   Is your ...