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!

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer at Splunk .conf24 ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

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

Combine Multiline Logs into a Single Event with SOCK: a Step-by-Step Guide for ...

Combine multiline logs into a single event with SOCK - a step-by-step guide for newbies Olga Malita The ...