Getting Data In

Scripts Directory & upgrades

Jarohnimo
Builder

Do the scripts you place in opt/splunk/bin/scripts

Remain persistent even after upgrades? Can someone provide documentation that explains?

Note: the scripts we need are not for the app context, so placing them there for us won't work.

Thanks

 

 

 

 

Labels (2)
0 Karma
1 Solution

harsmarvania57
Ultra Champion

Hi,

After splunk upgrade, scripts in /opt/splunk/bin/scripts should be there as it is but on safer side I'll suggest you to take backup before upgrade.

View solution in original post

0 Karma

harsmarvania57
Ultra Champion

Hi,

After splunk upgrade, scripts in /opt/splunk/bin/scripts should be there as it is but on safer side I'll suggest you to take backup before upgrade.

0 Karma

Jarohnimo
Builder

Thanks,

 

Can you please point me to any documentation that supports this? I felt like this was the case as a vaguely remember upgrading and it still working.... but am engaging with a customer and like to have the doc reference if possible

 

Thanks

 

 

 

 

0 Karma

harsmarvania57
Ultra Champion

I am not aware of any documentation, when you upgrade splunk it will overwrite any existing files and/or place any new files in directories. As /opt/splunk/bin/scripts is empty directory when you fresh install splunk so I am not expecting splunk will remove or overwrite any files in /opt/splunk/bin/scripts directory during upgrade.

0 Karma
Get Updates on the Splunk Community!

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...