Integrating with Elasticsearch
Elasticsearch is a distributed, open-source search and analytics engine widely used for storing, searching, and analyzing log and event data.
As a tenant administrator or a user with the II Admin role, configure a connection with Elasticsearch to collect metrics and events data.
You can view the collected data in various BMC Helix applications and derive the following benefits:
BMC Helix application | Type of data collected or viewed | Benefits |
|---|---|---|
BMC Helix Operations Management | Events | Use a centralized event view to monitor, filter, and manage events, and perform event operations in one place. Process events to help identify actionable events quickly from a large volume of event data. For more information, see Monitoring events and reducing event noise. |
BMC Helix Operations Management | Metrics | Use alarm and variate policies to detect anomalies and eliminate false positives for more accurate results while monitoring the health of your system. For more information, see Detecting anomalies by using static and dynamic thresholds. |
BMC Helix Dashboards | Events and metrics | Create dashboards to get a consolidated view of data collected from third-party products across your environment. Improve the efficiency of your system by monitoring the key performance metrics and respond to issues quickly to minimize the down time. For more information, see Creating custom dashboards. |
Supported version
BMC Helix Intelligent Integrationssupports Elasticsearch version 8.13.4 for data collection.
Before you begin
Make sure you perform the following actions before you configure a connection with Elasticsearch:
Elasticsearch requirements
- Identify the paths where the hostname, monitor name, monitor type, and metric values are present in the index's data payloads.
- Prepare the events and metrics JSLT.
BMC Helix Intelligent Integrations receives the events and metrics from the devices and applies the mapping defined in the JSLT to transform them into BMC Helix Operations Management understandable events and metrics (in JSON format).
BMC Helix Intelligent Integrations requirements
- Choose the BMC Helix Intelligent Integrations on-premises deployment modes and review the corresponding port requirements. For information about various deployment modes and port requirements, see Deployment scenarios.
- Make sure that the on-premises gateway is able to reach the third-party product on the required port (default is 9200).
In the preceding list, the third-party product refers to Elasticsearch.
Task 1: To configure the connection with Elasticsearch
- To access the BMC Helix Intelligent Integrations on-premises gateway, use the following URL:
https://<hostName>:<portNumber>/swpui - On the CONNECTORS tab, click
in the SOURCES panel. Click the Elasticsearch tile.
- Specify the following details for the source connection:
Specify a unique instance name.
- Specify the Elasticsearch host name.
- Specify the Elasticsearch HTTP or HTTPS port number, depending on the connection protocol (the default port number is 9200).
- Select the HTTPS option to use an HTTPS connection to the Elasticsearch host.
- In the Max connections field, specify the number of maximum concurrent REST API requests that should be executed during a collection schedule (default value is 5).
- Select one of the following authentication methods:
- To use API authentication, perform the following steps:
- Select the Uses API key checkbox.
- Enter the API key to connect to the Elasticsearch host.
Specify a valid API key to access the Elasticsearch API. Make sure that the API key has the required permissions to access the API. For more information, see the Elasticsearch documentation - Create an API key.
- To use user authentication, perform the following steps:
- Select the Uses Basic Auth checkbox.
- Enter the user name and password for the Elasticsearch host.
- To use API authentication, perform the following steps:
- Click VALIDATE AND CREATE.
The specified connection details are validated, and the corresponding source connection is created in the Source Connection list. Select the source connection that you created from the list if it is not selected already.
- Make sure that you select the options for the required data types to collect data.
Configure the collectors for the selected data types by clicking the respective data type in the Collectors section.
- To create the required collector streams for the selected data types, click CREATE COLLECTORS.
- Configure the distributors for the selected data types by clicking the respective data type in the Distributors section.
- In the Distributors section, configure the JSLT mapping for events and metrics by performing the following steps:
- To open the JSON configuration, click Edit JSON.
- Set the jsltField parameter to an empty string as follows:
"jsltField":"" - Exit the Edit JSON mode.
The JSLT mapping field is enabled. - In the JSLT mapping field, enter the required JSLT mapping.
See the Elasticsearch requirements section for sample events and metrics JSLT mapping. - Save the configuration.
Make sure you set up the mappings for both events and metrics.
- To create the required distributor streams for the selected data types, click CREATE DISTRIBUTORS.
Click one of the following buttons:
- SAVE STREAM: Click if you plan to edit the connection details before starting the stream for data collection. After you save the stream, the connector that you just created is listed in the SOURCES panel. Move the slider to the right to start the data stream.
- SAVE AND START STREAM: Click to save the connection details and start the data collection immediately.
Task 2: To verify the connection
From BMC Helix Intelligent Integrations, on the SOURCES panel, confirm that the data streams for the connection you created are running. Data streaming is indicated by moving colored arrows.

- A moving blue arrow (
) indicates that the event stream is running. Event data will be pushed according to the configured Collection Schedule interval. - A moving red arrow (
) indicates that the metric stream is running. Metric data will be pushed according to the configured Collection Schedule interval.
Task 3: To view data in BMC Helix applications
View data collected from Elasticsearch in multiple BMC Helix applications.
To view events in BMC Helix Operations Management
- In BMC Helix Operations Management, select Monitoring and then select Events.
- Filter the events by the ElasticsearchEvent class.

For more information about events, see Monitoring and managing events.
To view metrics in BMC Helix Operations Management
- In BMC Helix Operations Management, select Monitoring > Devices.
- Click the link for the device that has received metrics from Elasticsearch.
- On the Monitors tab, click the monitor that contains the received metrics.
The following figure shows the graph for a sample metric on the Performance Overview tab on the Monitor Details page.
For information about metrics, see Viewing collected data.