Create Event
The following fields are readonly and will be ignored when passed in the request: id
, isEphemeral
, isUserEvent
, runningState
, canDelete
, canClose
, creatorType
, createdAt
, updatedAt
, createdEpochMillis
, updatedEpochMillis
, updaterId
, creatorId
, and summarizedEvents
Request
URI
POST
https://{api_host}/api/v2/event
COPY
Request Body
Example Body:
{ "name": "Event API Example", "annotations": { "severity": "info", "type": "event type", "details": "description" }, "tags" : [ "eventTag1" ], "startTime": 1490000000000, "endTime": 1490000000001 }
Event
of type(s)
application/json
Optional
Show optional properties
{
"name": "string",
"annotations": {},
"startTime": 0
}
{
"computedHlps": [
{
"severity": "string",
"host": "string",
"startTime": 0,
"label": "string",
"observed": 0,
"firing": 0,
"tags": {
"tags": "string"
}
}
],
"table": "string",
"dimensions": {
"dimensions": [
"string"
]
},
"name": "string",
"annotations": {
"annotations": "string"
},
"id": "string",
"startTime": 0,
"endTime": 0,
"createdEpochMillis": 0,
"updatedEpochMillis": 0,
"tags": [
"string"
],
"metricsUsed": [
"string"
],
"createdAt": 0,
"hosts": [
"string"
],
"summarizedEvents": 0,
"alertTags": [
"string"
],
"isUserEvent": false,
"isEphemeral": false,
"creatorId": "string",
"updaterId": "string",
"updatedAt": 0,
"runningState": "string",
"canDelete": false,
"canClose": false,
"creatorType": [
"string"
]
}
Responses
200
successful operation
Returns
ResponseContainerEvent
of type(s)
application/json
"ResponseContainerEvent Object"
object
status
Required
status
object
response
Optional
Wavefront Event
Code Samples
COPY
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"annotations:"object","name:"string","startTime:"integer"}' https://{api_host}/api/v2/event
Event Operations
GET
Get All Events With Time Range
POST
Create Event
GET
Get Alert Firing Events
GET
Get Event
PUT
Update User Event
DELETE
Delete User Event
GET
Get Alert Firing Details
GET
Get Alert Event Queries Slug
POST
Close User Event
GET
Get Related Events With Time Span
GET
Get Event Tags
POST
Set Event Tags
PUT
Add Event Tag
DELETE
Remove Event Tag