Connect to Elasticsearch from ArcGIS Pro

You can connect from ArcGIS Pro to an Elasticsearch cluster to add spatial data to a map.

Create a connection file

In ArcGIS Pro, use the Database Connection dialog box to create a connection to an Elasticsearch cluster.

Provide host URL and credentials to connect to Elasitcsearch

  1. Open the Catalog pane in ArcGIS Pro.
  2. Right-click Databases or a folder under Folders and click New Database Connection.
  3. Choose Elasticsearch from the Database Platform drop-down list.
  4. In the Host URL field, provide the URL that will connect you to the Elasticsearch cluster.

    If the cluster communicates using a port other than port 80 for http connections or port 443 for https connections, append a colon (:) and the port number to the end of the URL. For example, if the host https://sub.dom2.net is communicating over port 54321, type https://sub.dom2.net:54321 for the host URL.

  5. Only basic authentication is supported at this release, so the Authentication Type option cannot be altered.
  6. Provide valid basic authentication credentials in the User Name and Password fields.
  7. Optionally, uncheck Save user name and password if you prefer not to save your login information as part of the connection; doing this can help maintain the security of the data. However, if you do this, you will be prompted to provide a username and password every time you connect.

    Note:

    Save user name and password must be checked if you want to search ArcGIS Pro to locate data accessed through this connection file.

  8. Type a name for the connection file in the Connection File Name field.

    As you provide connection information, a default name is created. You can use the default, or type a more descriptive file name.

    This is the name that will appear in the Catalog pane and view, and the name of the .dbconn file stored on disk.

  9. Click Validate to confirm that the connection information is valid and the instance is accessible.
  10. Click OK to create the connection file.

A database connection appears under Databases in the Catalog pane, and a connection file (.dbconn) is created in the ArcGIS Pro project directory.

Ensure the account you used for the connection has the required privileges to access content in the Elasticsearch cluster.

Next steps

After you connect to Elasticsearch, you can add data to a map to visualize and query it.