@alertmanager(= != =~ !~)$value
|
Match alerts based on the Alertmanager instance name they were collected from.
@alertmanager=prod |
Match alerts collected from Alertmanager instance named prod . |
@alertmanager!=dev |
Match alerts collected from Alertmanager instances except for the one named dev . |
@alertmanager=~prod |
Match alerts collected from Alertmanager instances with names matching regular expression .*prod.* . |
|
@receiver(= != =~ !~)$value
|
Match alerts based on the receiver name.
@receiver=default |
Match alerts sent to the default receiver. |
@receiver!=hipchat |
Match alerts not sent to the hipchat receiver. |
@receiver=~email |
Match alerts sent to any receiver with name matching regular expression /.*email.*/ . |
|
@state=(active suppresed unprocessed)
|
Match alerts based on the state.
@state=active |
Match only active alerts. |
@state=suppressed |
Match only suppressed alerts. |
@state=unprocessed |
Match only unprocessed alerts. |
|
@silence_author(= != =~ !~)$value
|
Match alerts based on the author of silence.
@silence_author=me@domain1.com |
Match alerts silenced by me@domain1.com. |
@silence_author!=me@domain1.com |
Match alerts not silenced by me@domain1.com. |
@silence_author=~@domain2.com |
Match alerts silenced by username that match regular expression /.*@domain2.com.*/ . |
|
@silence_jira(= != =~ !~)$value
|
Match alerts based on the jira linked in the silence. This only works if JIRA regexp are enabled and able to match JIRA ids in the silence comment body.
@silence_jira=PROJECT-123 |
Match silenced alerts where detected JIRA issue id is equal to PROJECT-123. |
@silence_jira!=PROJECT-123 |
Match silenced alerts where there was no JIRA issue id detected or it was not equal to PROJECT-123. |
@silence_jira=~PROJECT |
Match silenced alerts where dectected JIRA issue id matches regular expression /.*PROJECT.*/ . |
|
@limit=$value
|
Limit number of displayed alerts. Value must be a number >= 1.
@limit=10 |
Limit number of displayed alerts to 10. |
@limit=550 |
Limit number of displayed alerts to 550. |
|
@age(< >)$value
|
Match alerts based on creation timestamp.
@age>15m |
Match alerts older than 15 minutes. |
@age>1h |
Match alerts older than 1 hour. |
@age<10h30m |
Match alerts newer than 10 hours and 30 minutes. |
|