This end point allows you to query for event details.
k9_get_events(event_id = NULL, start = NULL, end = NULL, priority = NULL, sources = NULL, tags = NULL, .split_request = TRUE)
event_id | Event ID. |
---|---|
start | POSIX timestamp. |
end | POSIX timestamp. |
priority | Priority of events. |
sources | Sources of events. A |
tags | Tags of events. A named |
.split_request | if |
http://docs.datadoghq.com/api/?lang=console#events
# NOT RUN { # by default get all events happend from an hour ago k9_get_events() # get all events happend in this week k9_get_events(start = Sys.Date() - 7, end = Sys.Date()) # specify an event by ID k9_get_events(event_id = "112233445566") # specify tag k9_get_events(tags = list(role = "db")) # }