Establish connectivity to Elasticsearch

An Administrator can use the process described in this article to create a new Plugin Data Source to fetch data using Elasticsearch.


  1. Java 8 software must be installed and running on the same server as the Metric Insights' Data Collector.
  2. Elasticsearch configuration file must be created and added to the /Insightd (Windows) or /datacollector (Linux) directory.
Add the configuration file to /Insightd or /datacollector directory

The config file should contain the following Parameter Values:

  1. Cluster Name
  2. Inner Api Port

Place the Elasticsearch configuration file at:

  1. C:\Program Files (x86)\Metric Insights\Insightd\plugins (for Windows-based Data Collectors)
  2. opt/mi/datacollector/plugins (for Linux-based Data Collectors)

1. Access Admin > Data Sources

At the bottom of the screen click [+ New Data Source].

The Select the Type of New Data Source pop-up opens.

2. Select "Other" Data Source Type and choose "Elasticserach" from the drop-down list

Proceed with creating a Data Source by moving to the Next step.

3. Provide the Required Elasticsearch Parameters


  1. Data Source Name is defaulted but you may modify it
  2. Server: specify the endpoint server (can be local or remote)
  3. Username: Note that your Username must be in the same format that your Elasticsearch server uses for authentication
  4. Plugin Password: enter your password credential


  1. Elasticsearch cluster name: provide the name of your Elasticsearch cluster
  2. Elasticsearch Trasport API port: input the API communication port

Save your entries and Test Connection.

4. Advanced Configuration

If your connection is successful, you may move on to Advanced settings:

  1. Use Remote Data Collector: is set to "no" by default
    • If required, switch to "yes" and add a Remote Data Collector by clicking [+New Remote Collector] under Remote Collectors settings
  2. Object List Refresh Trigger: from the dropdown, select the Trigger that will be used to fetch data via the Elasticsearch plugin
  3. Object Selection Method: specify how Elasticsearch Reports will be fetched
  4. Optionally, state the maximum number of concurrent Threads to utilize during data and/or image fetch to be used in background processing when the system updates Reports for this Data Source
    • If you do not specify any value for this setting, batch data collection processing will be single-threaded

5. Other Settings

  1. You can create Datasets or Elements directly from the respective tabs
  2. Click Permissions to assign permissions to the Data Source to Groups or Power Users

5.1. Elements that can be created from the Plugin Editor


Add your comment

E-Mail me when someone replies to this comment