Installation

Can you automate selecting the device type and pointing to the license server in installing SPLUNK on Linux?

pfabrizi
Path Finder

I have a python script for installing SPLUNK on Linux. the script is unzipping the tar file, setting the ownership, setting the boot start and starting splunk. Is it possible to automate selecting the device type and pointing to license server?

Thanks!

Labels (2)
0 Karma
1 Solution

jowenssi
Path Finder

You can put a server.conf file (or better yet an app containing a server.conf file) that sets the license server with:

[license]
master_uri = [self|<uri>]
* An example of <uri>: <scheme>://<hostname>:<port>

Referenced from: https://docs.splunk.com/Documentation/Splunk/7.1.1/Admin/Serverconf

You can use python to check the hostname or another variable to check if the Splunk role would require a License Master.

View solution in original post

0 Karma

jowenssi
Path Finder

You can put a server.conf file (or better yet an app containing a server.conf file) that sets the license server with:

[license]
master_uri = [self|<uri>]
* An example of <uri>: <scheme>://<hostname>:<port>

Referenced from: https://docs.splunk.com/Documentation/Splunk/7.1.1/Admin/Serverconf

You can use python to check the hostname or another variable to check if the Splunk role would require a License Master.

0 Karma

brdr
Contributor

@pfabrizi... Is this for a forwarder or enterprise install?

0 Karma

pfabrizi
Path Finder

enterprise install. I have 21 devices with my day1 and more as time goes on.

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