Documentation: 3.0.2
Print Version Contents
This page last updated: 10/29/07 11:10am

Tag hosts

Tagging hosts is useful for knowledge capture and sharing, and for crafting more precise searches. Hosts can be tagged with one or more words describing their function or type, enabling users to easily search for all activity on a group of similar servers.

via SplunkWeb

You can use the drop down arrow next to the host field in SplunkWeb to tag your hosts. Choose Edit tags for this host.

http://www.splunk.com/assets/doc-images/30_admin11_taghostweb/host.jpg

Then, enter your tags, separated by commas:

http://www.splunk.com/assets/doc-images/30_admin11_taghostweb/hosttag.jpg

Host tags vs host names

Host name is extracted at indexing time. Host tags can be added to any host for additional information during searches. Each event can have only one host name, but multiple host tags.

For example, if your Splunk server is receiving compliance data from a specific host, tagging that host with compliance will help your compliance searches. With host tags, you can create a loose grouping of data without masking the underlying host name.

Comments

  1. How to search for a host tag should appear here, or a link to where it's explained.

  2. Add the CLI to modify host tags. One rarely wants to tag a single host and maintenance of large installations means scripting and CLI

Log in to comment.