splunk
¶
Interface with the Splunk API.
Important
This module requires the general Splunk setup.
- saltext.splunk.modules.splunk.list_users(profile='splunk')[source]¶
List all users in the splunk DB
CLI Example:
salt myminion splunk.list_users
- saltext.splunk.modules.splunk.get_user(email, profile='splunk', **kwargs)[source]¶
Get a splunk user by name/email
CLI Example:
salt myminion splunk.get_user 'user@example.com' user_details=false salt myminion splunk.get_user 'user@example.com' user_details=true
- saltext.splunk.modules.splunk.create_user(email, profile='splunk', **kwargs)[source]¶
create a splunk user by name/email
CLI Example:
salt myminion splunk.create_user user@example.com roles=['user'] realname="Test User" name=testuser