Tags in Splunk are useful for grouping events with related field values. Unlike Event Types, which are based on specified search commands, Tags are created and mapped to specific field-value combinations. Multiple Tags can be assigned to the same field-value combination.
A common scenario of using Tags is for classifying IP addresses. In the Eventgen logs, three IP addresses are automatically generated. We will create Tags against these IP addresses to allow us to classify them:
|10.2.1.33||main, patched, and east|
|10.2.1.34||main, patched, and west|
|10.2.1.35||backup and east|
We are going to group IP addresses by purpose, patch status, and geolocation in the server farm of three servers ...