Elasticsearch plugin

For more information about what this plugin does and the data streams it retrieves, see:

Elasticsearch

Monitor any metrics from your Elasticsearch environment using custom QueryDSL, Lucene queries and API calls.

How to add the data source

To add a data source click on the + next to Data Sources on the left-hand menu in SquaredUp. Search for the data source and click on it to open the Configure data source page.

Configuring the data source

  1. Display Name:
    Enter a name for your data source. This helps you to identify this data source in the list of your data sources.

  2. Instance URL:
    Enter the URL for your Elasticsearch environment.
    Where to find the Instance URL:

    The URL depends on your Elasticsearch environment:

    1. If you are using the Elastic cloud service, you need to enter the endpoint URL, which has the following format:
      https://CLUSTER_ID.REGION.CLOUD_PLATFORM.DOMAIN:PORT
    2. If you are running Elasticsearch in a different environment, ask your Elastic administrator for the instance URL and port number.
  3. Enter the username and password for your Elasticsearch environment.
  4. Optionally, select whether you would like to restrict access to this data source instance. By default, restricted access is set to off.

  5. Click Add.

    You can also add a data source from Settings > Data Sources > Add data source, but sample dashboards are not added when using this method.

Using the Elasticsearch data streams

Data streams

The following data streams are installed with this plugin.

Writing a custom data stream (advanced users)

  1. In SquaredUp, browse to Settings > Advanced > Data Streams.
  2. Click Add custom data stream.
  3. Add your custom data stream by entering the following settings:
    1. Name:
      Enter a display name for your data stream.

      The display name is the name that you use to identify your data stream in SquaredUp. It has no technical impact and doesn't need to be referenced in the data stream's code.

    2. Data source:
      Choose the data source this data stream is for.
      After you've chosen the data source the Entry Point field displays.
    3. Entry Point:
      Specify the data stream entry point and enter the Code below.
      To find out which entry point to select and get code examples for the Code field, see the help below.
  4. Click Save to save your data stream.

Was this article helpful?


Have more questions or facing an issue?