Table of Contents

Elasticsearch Plugin

This plugin allows you to send alarms and metrics directly to an Elasticsearch instance
Alarm, metrics and Metadata can be indexed in separate Elasticsearch indices

Configuration

Connection parameters

Parameter Description Mandatory
Active Enables or disables the Elasticsearch plugin Yes
Configuration Choose between Standard Configuration or Cloud Configuration Yes
Name A unique name for the plugin instance Yes
URL The URL (with HTTPS for a secure connection) Yes (if Standard Config selected)
Port The port used to connect to Elasticsearch (Default is 9200) Yes (if Standard Config selected)
Cloud ID The Cloud ID used for connecting to a cloud-based Elasticsearch instance (Cloud Config) Yes (if Cloud Config selected)
API Key The API key for authentication (Cloud Config) Yes (if Cloud Config selected)
Username The username for Elasticsearch authentication No
Password The password for Elasticsearch authentication No
Properties A semicolon-separated list of additional Elasticsearch properties No

Example:

Properties

Data configuration

Alarms parameters
Parameter Description Mandatory
Send alarms If active, alarms received by the plugin will be sent to Elasticsearch No
Track alarms history If active, enables tracking of alarm history No
Alarm Index The Elasticsearch index where alarms will be stored Yes (if Send alarms checked)
Metrics parameters
Parameter Description Mandatory
Send metrics If active, metrics received by the plugin will be sent to Elasticsearch No
Track metrics history If active, enables tracking of sent metrics No
Metric Index The Elasticsearch index where metrics will be stored Yes (if Send metrics checked)
Metadata parameters
Parameter Description Mandatory
Send metadata If active, metadata received by the plugin will be sent to Elasticsearch No
Track metadata history If active, enables tracking of sent metadata No
Split metadata If active, flattens metadata before send it No
Metadata Index The Elasticsearch index where metadata will be stored Yes (if Send metadata checked)
Data queue
Max queue size The maximum size of the queue holding alarms and metrics Yes

Example:

Custom alarm payload

Enable Custom Payload for Alarms If active, allows customization of the alarm payload No
Alarm Payload The custom payload template for alarms Yes (if Custom Payload is enabled)

Example:

Using Custom Payload

Available Variables

You can use variables from the following categories in your payload template:

Notes:

Troubleshooting

If you encounter issues: