PRTG Manual: Tags
For every object in your setup, you can define tags in the object settings to additionally categorize these objects. Although some tags are predefined when you add objects, you can add further tags. For example, you can mark all bandwidth sensors that are especially important for you with the tag bandwidthimportant.
To confirm a tag, use the Enter key, the Spacebar key, or a comma.
Use the multi-edit function to simultaneously change tags for several objects.
It is not possible to enter tags with a leading plus (+) or minus (-) sign, nor tags with parentheses (()) or angle brackets (<>).
Tags in object settings 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.
For example, a device with the tag netflow automatically passes on this tag to all sensors that you add to the device. This is useful, for example, if you include sensors by tag in reports settings. PRTG adds all sensors with the tag netflow to the report so that you do not have to manually tag every single sensor.
You cannot disable the inheritance of tags.
When you filter by tags, you can also use the plus sign (+) or the minus sign (-) to categorize tags as must have or must not have.
- Use a tag with a leading + to specify that objects with this tag must be included.
- Use a tag with a leading – to specify that objects with this tag must not be included.
- Use tags without a leading plus or minus sign to specify that objects need to have at least one of these tags to be included.
The filter only shows an object if all three conditions are met. The order of the tags in a tag field does not matter.
Here are some examples that show how to filter by tags:
- If you enter –netflow, the table list, library, or report includes all objects that do not have this tag. With the tags +netflow or netflow, you filter for objects that have this tag.
- If you enter +netflow –bandwidthimportant, the table list, library, or report includes all objects that have the tag 'netflow', but excludes all objects that have the tag 'bandwidthimportant'.
- If you enter netflow bandwidthimportant, the table list, library, or report includes all objects that have either the tag 'netflow' or the tag 'bandwidthimportant' or both tags.
For performance reasons, PRTG has a display limit of 1,000 tags when you select Sensors | By Tag in the main menu bar. If you have more than 1,000 tags, PRTG shows no tags here. You can, however, still use tags for filters and searches, for example.