Skip to main content
Version: 0.9

Elasticsearch

Experimental
Creates:
AssetsLineage

Configure in the UI

This plugin can be configured directly in the Marmot UI with a step-by-step wizard.

View Guide

The Elasticsearch plugin discovers indices, data streams and aliases from Elasticsearch clusters.

Required Permissions

The connecting user needs monitor cluster privilege and view_index_metadata on indices. The built-in viewer role is usually sufficient.

Example Configuration


addresses:
- "https://elasticsearch.company.com:9200"
username: "elastic"
password: "changeme"
tags:
- "elasticsearch"
- "search"

Configuration

The following configuration options are available:

PropertyTypeRequiredDescription
addresses[]stringfalseList of Elasticsearch node URLs
api_keystringfalseAPI key for authentication (mutually exclusive with username/password)
ca_cert_pathstringfalsePath to a custom CA certificate file
cloud_idstringfalseElastic Cloud ID for connecting to Elastic Cloud
external_links[]ExternalLinkfalseExternal links to show on all assets
filterFilterfalseFilter discovered assets by name (regex)
include_aliasesboolfalseDiscover aliases
include_data_streamsboolfalseDiscover data streams
include_index_statsboolfalseCollect document count and store size metrics
include_system_indicesboolfalseInclude system indices (prefixed with .)
passwordstringfalsePassword for basic authentication
tagsTagsConfigfalseTags to apply to discovered assets
tls_skip_verifyboolfalseSkip TLS certificate verification
usernamestringfalseUsername for basic authentication

Available Metadata

The following metadata fields are available:

FieldTypeDescription
alias_namestringName of the alias
analyzerstringAnalyzer used for the field
backing_indicesintNumber of backing indices
clusterstringName of the Elasticsearch cluster
creation_datestringDate and time when the index was created
data_stream_namestringName of the data stream
docs_countint64Number of documents in the index
field_namestringFull dotted path of the field
field_typestringElasticsearch field type (keyword, text, long, etc.)
filter_definedstringWhether a filter is defined on the alias
generationintCurrent generation of the data stream
healthstringHealth status of the index (green, yellow, red)
ilm_policystringILM policy applied to the data stream
indexstringWhether the field is indexed
index_namestringName of the index
indicesstringComma-separated list of indices the alias points to
is_write_indexstringWhether the alias has a designated write index
replicasintNumber of replica shards
shardsintNumber of primary shards
statusstringHealth status of the data stream
statusstringOpen/close status of the index
store_sizestringTotal store size of the index
templatestringIndex template used by the data stream
timestamp_fieldstringName of the timestamp field
uuidstringUUID of the index