Splunk Forwarder cant access "/var/log/messages"

Solution Verified - Updated -

Issue

Splunk log forwarder running under userID splunk cannot access /var/log/messages , throwing errors similar to :

05-05-2017 06:40:54.704 +0400 WARN TailingProcessor - Insufficient permissions to read file='/var/log/messages' (hint: Permission denied).

Environment

  • Red Hat Enterprise Linux (RHEL)
  • Splunk agent (Splunk Forwarder) running as unprivileged user splunk

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.