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!

Technical Workshop Series: Splunk Data Management and SPL2 | Register here!

Hey, Splunk Community! Ready to take your data management skills to the next level? Join us for a 3-part ...

Spotting Financial Fraud in the Haystack: A Guide to Behavioral Analytics with Splunk

In today's digital financial ecosystem, security teams face an unprecedented challenge. The sheer volume of ...

Solve Problems Faster with New, Smarter AI and Integrations in Splunk Observability

Solve Problems Faster with New, Smarter AI and Integrations in Splunk Observability As businesses scale ...