❗This article is intended more for those utilizing our generic REST Alerts API integration. The other out-of-the-box integrations will have their own mechanisms for the primary and secondary properties.
primary_property contains the name of tag being used as the primary property of an alert, and secondary_property contains the name of the tag being used as the secondary property of an alert.
BigPanda uses the primary_property to construct the titles, and the secondary_property to construct the subtitles of an incident.
You can use these properties to set the tags that you want your alert to use as the primary and secondary properties. For example, if the following payload is sent:
"check": "This is a test",
"application": "BigPanda Console",
by default, BigPanda would use the tag "host" as primary property, and "check" as the secondary property. However, since the payload above declares the primary and secondary properties, BigPanda will use the tags "application" and "cluster" instead.
BigPanda sets the primary property to one of the following tags (in order of precedence):
1. User defined (i.e. "primary_property: TAG_NAME")
👉 Note: If no primary property is set or no default tag is found, BigPanda will not accept the payload.
BigPanda sets the secondary property to one of the following tags (in order of precedence):
1. User defined (i.e. "secondary_property: TAG_NAME")
👉 Note: If no secondary property is set or tag is not found/defined, BigPanda will accept the payload. However, only the value of the primary property will be used to identify the alert.