Getting Data In

running permissions for splunk user of forwarder on linux and solaris

fernandoandre
Communicator

Hi

I have some universal forwaders installed on linux (suse) and solaris.

I have a user "splunk" to log to those machines and make restart to the forwarder service if necessary.

However, if I do that with splunk user, the forwarder stops sending data to my Indexer. If however I do that with a root user, the forwarder starts sending data again to Indexer.

What are the permissions a user needs to controls the splunk forwarder service in a *nix machine??

(this doesnt help - http://docs.splunk.com/Documentation/Splunk/4.3/installation/RunSplunkasadifferentornon-rootuser)

Thank you

0 Karma
1 Solution

fernandoandre
Communicator

Problem solved!
The user need read permissions to the folder where logs are being written (which it didn't have)! It doesn't have to do with the permissions for starting/stopping the service of the forwarder.

View solution in original post

0 Karma

fernandoandre
Communicator

Problem solved!
The user need read permissions to the folder where logs are being written (which it didn't have)! It doesn't have to do with the permissions for starting/stopping the service of the forwarder.

0 Karma

krishnacasso
Path Finder

Can you please guide how you assigned the permissions to log file. I used chmod to assign the read permissions but it is not working. When the file get rolled over the permissions were not carried so forwarder stops sending the data.

0 Karma
Get Updates on the Splunk Community!

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...