Getting Data In

Is it possible to symbolically link conf files in etc/apps to /etc/deployment-apps on a heavy forwarder?

sw5269
New Member

I have a client system that we are splunking who is using a set of heavy forwarders.
Our Splunk system does not have access to their universal forwarders.
When deployment is conducted from my system to their Heavies the admins of the Heavies take the updated files deployed to their etc/apps and then copy them to their /etc/deployment-apps prior to deploying them out to their universal forwarders.
Is it possible to symbolically link the conf files that get deployed, in their etc/apps dir, to their etc/deployment-apps so that when I deploy to them their intermediate step of having to copy those files from apps to deployment-apps is eliminated?
As a further step is it possible when I deploy to their Heavies, to kick off a script on their Heavies to run the "splunk reload deploy-server -class" command thereby eliminating the necessity of having to duplicate efforts on a system that I dont actually have access too.

0 Karma

MuS
Legend

Hi sw5269,

if you want to kick off a script running splunk reload deploy-server -class anyway, why not simply run a nightly cron jobs which runs for example

rsync -au etc/apps/ etc/deployment-apps/ and then kicks off
splunk reload deploy-server -class.

This way you know exactly where to check if the deploy to the final UF's fails. You could even output the result of this script into splunk> ...

cheers, MuS

Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...