Skip to main content

Elasticsearch

Module elasticsearch

Certified

Important Capabilities

CapabilityStatusNotes
Platform InstanceEnabled by default

This plugin extracts the following:

  • Metadata for indexes
  • Column types associated with each index field

CLI based Ingestion

Install the Plugin

pip install 'acryl-datahub[elasticsearch]'

Config Details

Note that a . is used to denote nested fields in the YAML recipe.

View All Configuration Options
Field [Required]TypeDescriptionDefaultNotes
ca_certsstringPath to a certificate authority (CA) certificate.None
client_certstringPath to the file containing the private key and the certificate, or cert only if using client_key.None
client_keystringPath to the file containing the private key if using separate cert and key files.None
hoststringThe elastic search host URI.localhost:9200
ingest_index_templatesbooleanIngests ES index templates if enabled.None
passwordstringThe password credential.None
platform_instancestringThe instance of the platform that all assets produced by this recipe belong toNone
ssl_assert_fingerprintstringVerify the supplied certificate fingerprint if not None.None
ssl_assert_hostnamebooleanUse hostname verification if not False.None
url_prefixstringThere are cases where an enterprise would have multiple elastic search clusters. One way for them to manage is to have a single endpoint for all the elastic search clusters and use url_prefix for routing requests to different clusters.None
use_sslbooleanWhether to use SSL for the connection or not.None
usernamestringThe username credential.None
verify_certsbooleanWhether to verify SSL certificates.None
envstringThe environment that all assets produced by this connector belong toPROD
index_patternAllowDenyPatternregex patterns for indexes to filter in ingestion.{'allow': ['.*'], 'deny': ['^_.', '^ilm-history.'], 'ignoreCase': True}
index_pattern.allowarray(string)None
index_pattern.denyarray(string)None
index_pattern.ignoreCasebooleanWhether to ignore case sensitivity during pattern matching.True
index_template_patternAllowDenyPatternThe regex patterns for filtering index templates to ingest.{'allow': ['.*'], 'deny': ['^_.*'], 'ignoreCase': True}
index_template_pattern.allowarray(string)None
index_template_pattern.denyarray(string)None
index_template_pattern.ignoreCasebooleanWhether to ignore case sensitivity during pattern matching.True

Code Coordinates

  • Class Name: datahub.ingestion.source.elastic_search.ElasticsearchSource
  • Browse on GitHub

Questions

If you've got any questions on configuring ingestion for Elasticsearch, feel free to ping us on our Slack