Splunk Enterprise

How do we upgrade the app "Python for Scientific Computing" on Linux?

Naoki
New Member

We are now using the Python for Scientific Computing app (v2.0.2) on a on-premise Linux instance, and planning to upgrade the app to the latest version 4.2.3.

When upgrading, should we just upload the app package through the splunk web and check the upgrade checkbox?

Python for Scientific Computing (for Linux 64-bit) | Splunkbase

Labels (2)
0 Karma

livehybrid
SplunkTrust
SplunkTrust

Hi @Naoki 

If you are using a standalone SearchHead then yet you can upload via the UI, ticking the upgrade button - however you might hit issues due to the size of the tarball file being higher than the limits.conf set for file uploads.

To overcome this see the following snippet from https://splunk.my.site.com/customer/s/article/Python-for-Scientific-Computing

1) To upgrade via UI needs to change max_upload_size at path $SPLUNK_HOME/etc/system/local/web.conf: 

[settings]
max_upload_size = 2048

2) For clustered environment, increase the bundle size to the same setting as max_content_length on the SHs as follow:

    1. Navigated to /opt/splunk/etc/system/local/distsearch.conf on the server.
    2. Append/Update the following parameters:-
 
    [replicationSettings]
    maxBundleSize = 2048 or 3072

   3. Save the file and restart all SHs.

 Alternatively you can copy it to the Splunk instance's app folder ($SPLUNK_HOME/etc/apps) overwritting the previous content. 

If in any doubt please make a backup copy of the PSC app on your Splunk instance first.

🌟 Did this answer help you? If so, please consider:

  • Adding karma to show it was useful
  • Marking it as the solution if it resolved your issue
  • Commenting if you need any clarification

Your feedback encourages the volunteers in this community to continue contributing

Get Updates on the Splunk Community!

Unlock Database Monitoring with Splunk Observability Cloud

  In today’s fast-paced digital landscape, even minor database slowdowns can disrupt user experiences and ...

Purpose in Action: How Splunk Is Helping Power an Inclusive Future for All

At Cisco, purpose isn’t a tagline—it’s a commitment. Cisco’s FY25 Purpose Report outlines how the company is ...

[Upcoming Webinar] Demo Day: Transforming IT Operations with Splunk

Join us for a live Demo Day at the Cisco Store on January 21st 10:00am - 11:00am PST In the fast-paced world ...