0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

[Splunk]Splunkユーザの登録

Posted at

[Splunk]Splunkユーザの登録

目的・背景

構築したSplunkの環境に、検証用ユーザを登録する

参考サイト

よく使うSplunkのCLIまとめ

手順

$ export SPLUNK_HOME=/usr/local/splunk
$ cd $SPLUNK_HOME

登録されているロールを確認してみる
$ sudo ./splunk list role | grep role:
role:		admin
role:		can_delete
role:		power
role:		splunk-system-role
role:		user

adminロールにユーザを登録
$ sudo ./splunk add user user1 -role admin -password xxxxx
User added.

userロールにユーザを登録
$ sudo ./splunk add user user2 -role user -password xxxxx
User added.

登録されているユーザを確認(指定したロールに登録されている)
$ sudo ./splunk list user
username:		admin
full-name:		Administrator
role:			admin

username:		user2
full-name:
role:			user

username:		user1
full-name:
role:			admin

おわりに

簡単にユーザの登録ができました。
このあと、ロールの違いによるコマンド実行の可否を確認する予定があります。
今回登録したユーザで検証を行います。

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?