Getting Data In

Is it possible to use a deployed app on a UF to add local configuration files for a separate app?

cnestrud
Explorer

I'm considering using the deployment server to distribute an app per UF with settings specific to that UF. One app being used is splunk_ta_nix which uses local/inputs.conf to enable desired inputs. Is it possible to include this file in a separate app? The idea is that the OS of the UF would cause splunk_ta_nix to be installed, then the per-UF app would install splunk_ta_nix settings to enable specific inputs.

I considered using a scripted input to copy a file from the per-UF app directory to the etc/apps/splunk_ta_nix/local directory, but it doesn't look like that is possible on a universal forwarder.

0 Karma
1 Solution

martin_mueller
SplunkTrust
SplunkTrust

That's possible, specific settings in your_host_specific_app/local/inputs.conf will override splunk_ta_nix/default/inputs.conf.

http://docs.splunk.com/Documentation/Splunk/6.3.3/admin/Wheretofindtheconfigurationfiles

View solution in original post

martin_mueller
SplunkTrust
SplunkTrust

That's possible, specific settings in your_host_specific_app/local/inputs.conf will override splunk_ta_nix/default/inputs.conf.

http://docs.splunk.com/Documentation/Splunk/6.3.3/admin/Wheretofindtheconfigurationfiles

cnestrud
Explorer

"scripted input" should be "python script", though I'm hopeful that someone will mention a better solution.

0 Karma
Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

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

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...