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!

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

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

Accelerating Observability as Code with the Splunk AI Assistant

We’ve seen in previous posts what Observability as Code (OaC) is and how it’s now essential for managing ...