PRTG Manual: Tags
For every object in your setup, you can define tags in the object settings to additionally categorize them. Although some tags are predefined when you add objects, you can add further tags. For example, you can mark all of the bandwidth sensors that are especially important for you with the tag bandwidth_important.
The keys enter, space, or comma confirm a tag.
You can also change tags for several objects simultaneously via the multi-edit function.
It is not possible to enter tags with a leading plus (+) or minus (-) sign, nor tags with parentheses (()) or angle brackets (<>).
The tags in the settings of an object are automatically inherited by all other objects underneath in the object hierarchy. You can view inherited tags in section Parent Tags in the settings of a sensor, device, or group. So, for example, a device with the tag myExampleTag automatically passes on this tag to all sensors that you add to the device. These sensors appear in lists whenever you search for myExampleTag. This is useful, for example, when you include sensors by tag in reports settings, because you do not have to manually tag every single sensor.
You cannot disable inheritance for tags.
You can use tags to filter table lists for specific objects, or to add sensors to libraries and reports. For example, you can add all sensors that have the tag bandwidth_important. You can also use more than one tag to filter for objects like sensors.
When you filter with tags, you can also use plus (+) and minus (–) signs in front of the tags to include or exclude them:
- Tags with + must exist for an object to be shown
- Tags with – must not exist for an object to be shown
- At least one tag of the tags without either a + or – must exist on an object
The filter shows an object only if all three conditions are true. The order of the tags in a tag field does not matter.
For example, if you enter –windows into a tag field, all sensors or devices that do not have "windows" as tag are shown. With +windows or windows you filter for objects that are tagged with "windows".
You can use more than one logical operator in a tag field: For example, if you enter +netflow –bandwidth_important into a tag field, the corresponding list, library, or report includes all sensors that are tagged with "netflow" but not with the tag "bandwidth_important". If you enter netflow bandwidth_important, a sensor must have the tag "netflow" or "bandwidth_sensor" or both to be included.
For performance reasons, PRTG has a display limit of 1000 tags when you filter By Tag under Sensors in the main menu bar. If you have more than 1000 tags, no tags are shown here. You can still use tags in this case, for example, for filters and searches.