Class CustomDestinationResponseForwardDestinationElasticsearch

The Elasticsearch destination.

Hierarchy

  • CustomDestinationResponseForwardDestinationElasticsearch

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
auth: {
    [key: string]: any;
}

Basic access authentication.

Type declaration

  • [key: string]: any
endpoint: string

The destination for which logs will be forwarded to. Must have HTTPS scheme and forwarding back to Datadog is not allowed.

indexName: string

Name of the Elasticsearch index (must follow Elasticsearch's criteria).

indexRotation?: string

Date pattern with US locale and UTC timezone to be appended to the index name after adding - (that is, ${index_name}-${indexPattern}). You can customize the index rotation naming pattern by choosing one of these options:

  • Hourly: yyyy-MM-dd-HH (as an example, it would render: 2022-10-19-09)
  • Daily: yyyy-MM-dd (as an example, it would render: 2022-10-19)
  • Weekly: yyyy-'W'ww (as an example, it would render: 2022-W42)
  • Monthly: yyyy-MM (as an example, it would render: 2022-10)

If this field is missing or is blank, it means that the index name will always be the same (that is, no rotation).

Type of the Elasticsearch destination.

Generated using TypeDoc