Event

An Event is an alarm raised by an external monitoring system and collected by a Cloudforet plugin.

Package : spaceone.api.monitoring.v1

Event

Event Methods:

create

POST /monitoring/v1/webhook/{webhook_id}/{access_key}/events

Creates a new Event. The Event creation process starts with validation checking whether the input data is from a webhook or not. After the input data is validated, the data is processed and used to create the Event.

TypeMessage

Request

Response

get

GET /monitoring/v1/event/{event_id}

Gets a specific Event matching the input parameters, event_id and domain_id. Prints detailed information about the Event.

TypeMessage

Request

Response

{
    "event_id": "event-4e16ba3bd384",
    "domain_id": "domain-58010aa2e451"
}

list

GET /monitoring/v1/events

POST /monitoring/v1/events/search

Gets a list of all Events. You must specify the domain_id. You can use a query to get a filtered list of Events.

TypeMessage

Request

Response

{
    "query": {},
    "domain_id": "domain-58010aa2e451"
}

stat

POST /monitoring/v1/events/stat

TypeMessage

Request

Response

Message

CreateEventRequest

FieldTypeRequiredDescription

webhook_id

string

access_key

string

data

EventInfo

FieldTypeDescription

event_id

string

event_key

string

event_type

string

title

string

description

string

severity

string

rule

string

resource

provider

string

account

string

image_url

string

raw_data

additional_info

alert_id

string

webhook_id

string

project_id

string

domain_id

string

created_at

string

occurred_at

string

EventQuery

FieldTypeRequiredDescription

query

event_id

string

event_key

string

event_type

string

severity

string

resource_id

string

provider

string

account

string

alert_id

string

webhook_id

string

project_id

string

domain_id

string

EventResource

FieldTypeDescription

resource_id

string

resource_type

string

name

string

EventStatQuery

FieldTypeRequiredDescription

query

domain_id

string

EventsInfo

FieldTypeDescription

results

total_count

GetEventRequest

FieldTypeRequiredDescription

event_id

string

domain_id

string

only

list of string

Last updated