Skip to main content
Version: 0.9

OpenSearch

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 OpenSearch plugin discovers indices, data streams and aliases from OpenSearch clusters.

Required Permissions

The connecting user needs cluster_monitor and indices_monitor permissions. The built-in readall role is usually sufficient.

Example Configuration


addresses:
- "https://opensearch.company.com:9200"
username: "admin"
password: "admin"
tags:
- "opensearch"
- "search"

Configuration

The following configuration options are available:

PropertyTypeRequiredDescription
addresses[]stringfalseList of OpenSearch node URLs
ca_cert_pathstringfalsePath to a custom CA certificate file
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 OpenSearch 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_typestringOpenSearch 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)
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