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!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...