Getting Data In

How does the user:group get set for a deployed app to the universal forwarder?

fblau
Explorer

When I deploy an app to my universal forwarder, it has root:root ownership. Is there any way to set that to another user that is better suited to running on the forwarder?

esix_splunk
Splunk Employee
Splunk Employee

Permissions are retained from Unix to Unix hosts, and Windows to Windows hosts.

However a Linux DS deploying to Windows, and vice-a-versa, a Windows DS deploying to Linux will not retain permissions file system permissions.

This typically is only a problem in the *Nix world, where you're running your DS as 'splunk' or a non-root id, and you actually want it to be root or a different uid on the client.

In the case where you are deploying to different OS's, it's better to setup a script to chown the $splunk_home$/etc/apps and run that frequently as you need to.

Windows works a bit differently, as you can setup the filesystem to inherit from the parent folder and this typically works as designed.

woodcock
Esteemed Legend

it makes a HUGE difference if your DS is Windows or Linux so which is it? If it is Linux, the permissions should be preserved but if your DS is Windows and your DC is Linux, you may be in for trouble; the last time I tried that I could not make it work but it was V5...

Get Updates on the Splunk Community!

Your Guide to SPL2 at .conf24!

So, you’re headed to .conf24? You’re in for a good time. Las Vegas weather is just *chef’s kiss* beautiful in ...

Get ready to show some Splunk Certification swagger at .conf24!

Dive into the deep end of data by earning a Splunk Certification at .conf24. We're enticing you again this ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Now On-Demand Join us to learn more about how you can leverage Service Level Objectives (SLOs) and the new ...