Splunk has been configured to run as an unprivileged user "splunk".
A Deployment Server (DS) is used to send this configuration to the Linux servers the issue is present in some not all forwarding instances.
The logs are being generated.
Troubleshooting
1. Four logs are managed on all UF's
/var/log/cron
/var/log/secure
/var/log/messages
/var/log/audit/audit.log
2. On an impacted forwarder confirm the list of monitored files
splunk list monitor
Switch to privileged user splunk.
su - splunk
and
ls -l
To confirm that read permission is granted for the file
Read permission on audit.log
As per splunkd.log see permission on audit.log:
Error
4.
getfacl /var/log/audit/audit.log
Access Control List is enabled and read permission denies others including Splunk user
To confirm execute:
cat /var/log/audit/audit.log
Renders permission denied error
Set the read permissions (for all missing files) for /var/log/audit/audit.log to user splunk in the Access Control List (ACL)
setfacl -m u:splunk:r /var/log/audit/audit.log
Restart Splunk. Confirm to see the file ingested and searchable.
The restart may not be needed, when the next scheduled interval runs it will read and ingest the files.
For more details about ACL:
Files and directories have permission sets for the owner of the file, the group associated with the file, and all other users for the system. However, these permission sets have limitations. For example, different permissions cannot be configured for different users. Thus, Access Control Lists (ACLs) implementation..
Splunk Documentation:
system_administrators_guide Access_control_lists
Splunk Can't Access "/var/log/messages" Red Hat Solution: 3072211
| Revision | Publish Date | Comments |
|---|---|---|
1.0 |
29-Sep-2026
|
Initial Release |