Hi Fellas!
I just wanted to ask if it would be possible for a Splunk UF to monitor logs that is not accessible to its underlying user.
For example, I am running my Splunk UF instance under the splunk user and I am try to capture data from files under the directory /var/logs/appservicename/*.log which is owned by root user. Given the I have the correct configuration at inputs.conf and outputs.conf, will the data be transmitted to my indexer instance?
Hi @MrYanYan,
if the user thet you user to run Splunk hasn't the right to read the files in a folder, you cannot do it obviously!
The only ways are:
Ciao.
Giuseppe
@MrYanYan Splunk user must be able to read the file owned by root user to monitor the file.
Hi @MrYanYan,
if the user thet you user to run Splunk hasn't the right to read the files in a folder, you cannot do it obviously!
The only ways are:
Ciao.
Giuseppe
Got it @gcusello , I just cant find an article that would support this observation of mine.
Thank you! :😄