Closed ojongerius closed 8 years ago
events('sources:nagios status:error,warning priority:normal tags: "string query"').rollup("count").last("1h")"
event, the event query string:
string_query free text query to match against event title and text.
sources event sources (comma-separated).
status event statuses (comma-separated). Valid options: error, warn, and info.
priority event priorities (comma-separated). Valid options: low, normal, all.
host event reporting host (comma-separated).
tags event tags (comma-separated).
excluded_tags exluded event tags (comma-separated).
rollup the stats rollup method. count is the only supported method now.
last the timeframe to roll up the counts. Examples: 60s, 4h. Supported timeframes: s, m, h and d.
Made obsolete by generic monitor.
See http://docs.datadoghq.com/api/ for details.