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!

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

Integrating Splunk Search API and Quarto to Create Reproducible Investigation ...

 Splunk is More Than Just the Web Console For Digital Forensics and Incident Response (DFIR) practitioners, ...

Congratulations to the 2025-2026 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...