Getting Data In

How to push *.conf to universal forwarders?

DUThibault
Contributor

I've got my Universal Forwarder doing indexing on some data sources for my Splunk instance. After spending some time directly editing the Universal Forwarder's /opt/splunkforwarder/etc/apps/_server_app_<class>/local/ directory (tweaking inputs.conf and creating props.conf and transforms.conf) only to have Splunk Web wipe the latter two files whenever I changed the data inputs on the Universal Forwarder, I figured out that I should edit those files on the Splunk instance, in its /opt/splunk/etc/deployment-apps/_server_app_<class>/local/ directory. Changes to inputs.conf (from Splunk Web) are sent to the Universal Forwarder without wiping props.conf and transforms.conf. Better.

But now, when I tweak props.conf and transforms.conf on the Splunk instance (without going through Splunk Web), the changes aren't copied across. Only inputs.conf gets synced. How do I get Splunk to push props.conf and transforms.conf to the Universal Forwarder?

0 Karma
1 Solution

DUThibault
Contributor

As somesoni2 indicated, the solution is to issue the command line splunk reload deploy-server on the main instance (the deployment server). There is apparently no such facility in the Splunk Web pages.

View solution in original post

0 Karma

DUThibault
Contributor

As somesoni2 indicated, the solution is to issue the command line splunk reload deploy-server on the main instance (the deployment server). There is apparently no such facility in the Splunk Web pages.

0 Karma

somesoni2
Revered Legend

If you change the files directly on the file system on the Deployment Server (your Splunk Enterprise instance is acting as Deployment server), you'd need to run splunk reload deployment-server command for DS to pickup changes and make it available for your Splunk UF to download. See this for reload command information
https://docs.splunk.com/Documentation/Splunk/7.0.2/Updating/Updateconfigurations#2._Reload_the_deplo...

DUThibault
Contributor

I knew it had to be something like that. The question that comes up then is: Why isn't there a reload option in the Settings: (Distributed environment) Forwarder management page?

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Laser Bananas and Edge Hubs: Exploring Operational Technology (OT) Data Through a ...

  OT is a different environment to traditional IT and can have interesting challenges when interfacing the ...

Event Series: Mastering AI Tokenomics and Splunk Agent Observability

Beyond the Black Box: Correlating AI Performance and Tokenomics with Splunk Agent Observability   As ...

span_metrics: The OpenTelemetry-Idiomatic Way to See Inside Your Services

You open a trace in Splunk Observability Cloud and everything looks fine. One root span, order-pipeline, with ...