marmotdata/elasticsearch
Discover indices, data streams, and aliases from Elasticsearch clusters
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.
In the UI
Point and click, no config file needed.
- Open Runs and choose Create pipeline.
- Pick Elasticsearch from the plugin list.
- Fill in the settings, set a schedule and save.
With the CLI
Save a YAML config, then run marmot ingest.
Not using plugins? Other ways to populate Marmot
Configuration
Fields marked Required must be set.
tagsList of textTags to apply to discovered assets
external_linksList of groupsExternal links to show on all assets
nameTextDisplay name for the link
iconTextIcon identifier for the link
urlTextURL to the external resource
filterGroup of settingsFilter discovered assets by name (regex)
includeList of textInclude patterns for resource names (regex)
excludeList of textExclude patterns for resource names (regex)
zoneTextTells this system apart from others of the same technology and becomes part of every asset's MRN
addressesList of textList of Elasticsearch node URLs
cloud_idTextElastic Cloud ID for connecting to Elastic Cloud
usernameTextUsername for basic authentication
passwordSecretPassword for basic authentication
api_keySecretAPI key for authentication (mutually exclusive with username/password)
tls_skip_verifyYes or noSkip TLS certificate verification
ca_cert_pathTextPath to a custom CA certificate file
include_data_streamsYes or noDiscover data streams
include_aliasesYes or noDiscover aliases
include_index_statsYes or noCollect document count and store size metrics
include_system_indicesYes or noInclude system indices (prefixed with .)
Assets emitted
Metadata this plugin attaches to each discovered asset.
Index
Elasticsearch index metadata fields.
Data Stream
Elasticsearch data stream metadata fields.
Alias
Elasticsearch alias metadata fields.