labels
XML section name
<labels>
</labels>
The labels section of ossec.conf
allows additional user-defined information about agents to be included in alerts. When email notifications are enabled, this additional data is also contained in the email alerts without any further configuration.
Options
label
This option specifies the additional information that will appear in alerts. Labels can be nested in JSON formatted alerts by separating the "key" terms by a period.
Attributes:
key |
The title that will describe the information of the label. |
|
Allowed value |
Any string |
|
hidden |
For labels that are hidden by default. |
|
Allowed value |
yes |
Note
In internal_options.conf
, hidden labels can be set to be displayed in alerts.