Deployment Architecture

Citrix Target Server Image from Master Golden Image

apple75
New Member

We are utilizing a deployment server to push out UF agent config to our Citrix VM, however, not all devices are reporting into Deployment server---they are showing in Splunk cloud as all devices sending data

 

In working with support they suggested to rename  /opt/splunkforwarder/etc/instance.cfg to backup_instances.cfg (or something similar)

This seems to work for the device to register, however, this will be overwritten when a new master image push out is done

Has anyone encountered this before and what steps have you used to monitor devices on DS

Thanks,

Jeff

My engineering team uses the following script for Splunk config

Seal Script

# generalize splunk

Stop-Process -InputObject $p -Force

Start-Sleep -Seconds 3

if (get-service -Name SplunkForwarder | Where status -eq "stopped")

    {

        write-host "Splunk Service Stopped..."

    }

$Host.PrivateData.VerboseForegroundColor = 'Yellow'

start-process -nonewwindow -filepath "C:\Program Files\SplunkUniversalForwarder\bin\splunk.exe" -argumentlist 'clone-prep-clear-config' -wait -verbose

write-host "Splunk Machine ID removed..."

Labels (1)
0 Karma
Get Updates on the Splunk Community!

Index This | I’m short for "configuration file.” What am I?

May 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with a Special ...

New Articles from Academic Learning Partners, Help Expand Lantern’s Use Case Library, ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

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 ...