Module for interop with the Splunk API
New in version 2016.3.0.
splunk-sdk python module
Configure this module by specifying the name of a configuration profile in the minion config, minion pillar, or master config. The module will use the 'splunk' key by default, if defined.
For example:
splunk:
username: alice
password: abc123
host: example.splunkcloud.com
port: 8080
create a splunk user by name/email
CLI Example:
salt myminion splunk.create_user user@example.com roles=['user'] realname="Test User" name=testuser
Delete a splunk user by email
CLI Example:
salt myminion splunk_user.delete 'user@example.com'
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
List all users in the splunk DB
CLI Example:
salt myminion splunk.list_users
Create a splunk user by email
CLI Example:
salt myminion splunk.update_user example@domain.com roles=['user'] realname="Test User"
Generated on October 23, 2024 at 09:02:06 UTC.
You are viewing docs for the latest stable release, 3007.1. Switch to docs for the previous stable release, 3006.9, or to a recent doc build from the master branch.
© 2024 VMware, Inc. | Privacy Policy