All Apps and Add-ons

How can automatic update checking be disabled for Splunkbase apps?

Ellen
Splunk Employee
Splunk Employee

Due to my environment's proxy and firewall setup, we cannot have automatic update checks occurring for Splunkbase apps.

Where and what settings are available to do this?

Tags (2)
1 Solution

Ellen
Splunk Employee
Splunk Employee

As of 4.2, SplunkWeb's application management allows the properties of an app to be edit to disable the Splunkbase automatic update checking.

The options available are to set this globally or individually per app.

Globally:

Modify in your local copy of $SPLUNK_HOME/etc/system/local/server.conf with:

[applicationsManagement]
allowInternetAccess = false

Per App:

1) Navigate in SplunkWeb > Manager > Apps > select the Splunkbase apps's "Edit Properties" link and change for "Update checking" from Yes to No

OR

2) In the desired app's $SPLUNK_HOME/etc/apps/ local/app.conf (if this does not exist, create one) and include:

[package]
check_for_updates = 0

for example using the Deployment Monitor app,
$SPLUNK_HOME/etc/apps/SplunkDeploymentMonitor/local/app.conf add the stanza entry

[package]
check_for_updates = 0 

Note: Manual changes to the configuration files will require a Splunk restart.

Additional references for these attribute details can be found in:

$SPLUNK_HOME/etc/system/README/server.conf.spec

$SPLUNK_HOME/etc/system/README/app.conf.spec

Separately if you are interested in disabling the login message that a new Splunk version is available go here:
http://splunk-base.splunk.com/answers/2116/how-can-i-disable-the-login-notification-message-that-a-n...

View solution in original post

aturhano
Loves-to-Learn

Does globally setting allowInternetAccess = false prevent other app to get for example threat feeds from the internet??

0 Karma

Ellen
Splunk Employee
Splunk Employee

As of 4.2, SplunkWeb's application management allows the properties of an app to be edit to disable the Splunkbase automatic update checking.

The options available are to set this globally or individually per app.

Globally:

Modify in your local copy of $SPLUNK_HOME/etc/system/local/server.conf with:

[applicationsManagement]
allowInternetAccess = false

Per App:

1) Navigate in SplunkWeb > Manager > Apps > select the Splunkbase apps's "Edit Properties" link and change for "Update checking" from Yes to No

OR

2) In the desired app's $SPLUNK_HOME/etc/apps/ local/app.conf (if this does not exist, create one) and include:

[package]
check_for_updates = 0

for example using the Deployment Monitor app,
$SPLUNK_HOME/etc/apps/SplunkDeploymentMonitor/local/app.conf add the stanza entry

[package]
check_for_updates = 0 

Note: Manual changes to the configuration files will require a Splunk restart.

Additional references for these attribute details can be found in:

$SPLUNK_HOME/etc/system/README/server.conf.spec

$SPLUNK_HOME/etc/system/README/app.conf.spec

Separately if you are interested in disabling the login message that a new Splunk version is available go here:
http://splunk-base.splunk.com/answers/2116/how-can-i-disable-the-login-notification-message-that-a-n...

Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...