Object representing an event.

Hierarchy

  • EventCreateRequest

Constructors

Properties

additionalProperties?: {
    [key: string]: any;
}

A container for additional, undeclared properties. This is a holder for any undeclared properties as specified with the 'additionalProperties' keyword in the OAS document.

Type declaration

  • [key: string]: any
aggregationKey?: string

An arbitrary string to use for aggregation. Limited to 100 characters. If you specify a key, all events using that key are grouped together in the Event Stream.

alertType?: EventAlertType

If an alert event is enabled, set its type. For example, error, warning, info, success, user_update, recommendation, and snapshot.

dateHappened?: number

POSIX timestamp of the event. Must be sent as an integer (that is no quotes). Limited to events no older than 18 hours

deviceName?: string

A device name.

host?: string

Host name to associate with the event. Any tags associated with the host are also applied to this event.

priority?: v1.EventPriority

The priority of the event. For example, normal or low.

relatedEventId?: number

ID of the parent event. Must be sent as an integer (that is no quotes).

sourceTypeName?: string

The type of event being posted. Option examples include nagios, hudson, jenkins, my_apps, chef, puppet, git, bitbucket, etc. A complete list of source attribute values available here.

tags?: string[]

A list of tags to apply to the event.

text: string

The body of the event. Limited to 4000 characters. The text supports markdown. To use markdown in the event text, start the text block with %%% \n and end the text block with \n %%%. Use msg_text with the Datadog Ruby library.

title: string

The event title.

Generated using TypeDoc