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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...