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!
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.
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.
@pfabrizi... Is this for a forwarder or enterprise install?
enterprise install. I have 21 devices with my day1 and more as time goes on.