Deployment Architecture

What meant by a silent installation of Splunk on Linux, and how do you do it?

saifuddin9122
Path Finder

Hello Splunkers

Can any one help in understanding what is silent installation for Splunk on Linux?

Is there any specific way to achieve it?

thanks in advance

0 Karma

dajomas
Path Finder

A silent install could only be achieved through a Shell script run as root.

In that script you should:
- Stop Splunk (if this is an update and if it is running, installing via RPM should take care of this as well)
- Install Splunk either via RPM or by extracting a TAR file (you will have to download either of these from the Splunk website at https://www.splunk.com/en_us/download/splunk-enterprise.html#tabs/linux
- Start Splunk as the splunk user, accepting the license and performing all update actions (if necessary) (for instance via this command: sudo -u splunk ". /opt/splunk/bin/setSplunkEnv; /opt/splunk/bin/splunk --answer-yes --no-prompt --accept-license")

Now if you want to ensure Splunk starts at boot time, have a look at this page: https://docs.splunk.com/Documentation/Splunk/6.6.0/Admin/ConfigureSplunktostartatboottime
However, if your system uses systemd, have a look at this page: https://answers.splunk.com/answers/59662/is-there-a-systemd-unit-file-for-splunk.html

jkat54
SplunkTrust
SplunkTrust

dajomas
Path Finder

I downvoted this post because the question is for a silent install on linux but the answer points to a how-to for installing splunk on the Windows command line

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