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!

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...

New! Splunk Observability Search Enhancements for Splunk APM Services/Traces and ...

Regardless of where you are in Splunk Observability, you can search for relevant APM targets including service ...

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...