villaigo.blogg.se

Rest command splunk
Rest command splunk









rest command splunk
  1. #Rest command splunk how to
  2. #Rest command splunk manual

Verifies the integrity of a bucket with the optional parameter verbose. splunk check-integrity -index $SPLUNK_HOME/var/lib/splunk/defaultdb/ Ģ. Verifies the integrity of an index with the optional parameter verbose. For shcluster-bundle examples, see Deploy a configuration bundle in the Distributed Search manual.ġ.

rest command splunk

splunk apply cluster-bundle -skip-validationģ. Skip-validation is an optional argument to skip bundle validation on the indexer cluster manager and peers. Makes validated bundle active on peers.Ģ. splunk anonymize file -source /tmp/messages -name_terms $SPLUNK_HOME/bin/Mynames.txtġ. Anonymizes Mynames.txt using name-terms, a file containing a list of common English personal names. splunk anonymize file -source /tmp/messagesĢ. Replaces identifying data, such as usernames and IP addresses, in the file located at /tmp/messages. splunk add cluster-manager -secret testsecret -multisite falseġ. Adds another indexer cluster manager node to the list of instances the search head searches across. Adds monitor directory and file inputs to source /var/log.Ģ.

#Rest command splunk manual

If you're looking for additional uses or options for a CLI command object, review the REST API Reference Manual and search for the object name.Įxec, forward-server, index, licenser-pools, licenses, manager, monitor, oneshot, saved-search, search-server, tcp, udp, userġ. Most administrative CLI commands are offered as an alternative interface to the Splunk Enterprise REST API without the need for the curl command. An object is something you perform an action on. See the "Universal parameters" section of Get help with the CLI.Ī command is an action that you can perform. Some commands can take extra parameters like -uri or -auth.Some commands have a default parameter that can be specified by its value alone.Some commands don't require an object or parameters.The general syntax for a CLI command is this: Read more about setting up and managing Splunk users and roles in the About users and roles topic in the Admin Manual. Most actions require you to have Splunk admin privileges. Your Splunk role configuration dictates what actions (commands) you can execute.

#Rest command splunk how to

If you're looking for details about how to run searches from the CLI, see About CLI searches in the Search Reference. This topic discusses the administrative CLI commands, which are the commands used to manage or configure your Splunk server and distributed deployment.įor information about accessing the CLI and what is covered in the CLI help, see the previous topic, Get help with the CLI.











Rest command splunk