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

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

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

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!

Registration for Splunk University is Now Open!

Are you ready for an adventure in learning?   Brace yourselves because Splunk University is back, and it's ...

Splunkbase | Splunk Dashboard Examples App for SimpleXML End of Life

The Splunk Dashboard Examples App for SimpleXML will reach end of support on Dec 19, 2024, after which no new ...

Understanding Generative AI Techniques and Their Application in Cybersecurity

Watch On-Demand Artificial intelligence is the talk of the town nowadays, with industries of all kinds ...