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!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...