Getting Data In

assigning read permission for the log file on Linux

krishnacasso
Path Finder

We need to monitor a log file on linux with the splunk forwarder(splunk user account which is local). Log file is owned by another user account. Tried assigning the read permission using the chmod command but this not working since log file get rolled over when it reached to 10MB. So permissions were not carried to the file. Can some help me with the best practice you follow to assign the permissions to log file.

Thanks.

Tags (1)
0 Karma

jkat54
SplunkTrust
SplunkTrust

You generally need to modify the process that creates the files or put them in a directory that forces the correct permissions on all files within.

http://superuser.com/questions/264383/how-to-set-file-permissions-so-that-new-files-inherit-same-per...

0 Karma
Get Updates on the Splunk Community!

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...