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!

Introducing the Splunk Developer Program!

Hey Splunk community!  We are excited to announce that Splunk is launching the Splunk Developer Program in ...

Splunkbase Year in Review 2024

Reflecting on 2024, it’s clear that innovation and collaboration have defined the journey for Splunk ...

Developer Spotlight with Brett Adams

In our third Spotlight feature, we're excited to shine a light on Brett—a Splunk consultant, innovative ...