LoginSignup
4
6

More than 5 years have passed since last update.

【Splunk】自動起動設定を入れてみる

Posted at

Splunkをインストールしたあと、やっておくべきこととして自動起動設定があります。

RedHat系だったらchkconfigをいじるなどOSごとに色々とやり方はありますが、
Splunkは下記コマンドを実行しておけばOSごとにやるべき設定が勝手にされます
※ Splunkは「/opt」にインストールされた想定です

 # /opt/splunk/bin/splunk enable boot-start

上記コマンドが実行されると、下記メッセージが出てきます。(おそらく環境ごとにそんな違いないはず)

Init script installed at (自動起動スクリプトのインストール先、OSごとに違う)
Init script is configured to run at boot.

これをやっておけば、PCなりサーバなりが再起動されても勝手にSplunk起動します。

4
6
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
6