# Functions

CheckESConnection checs if the connection to ElasticSearch can be done es: connection details to the ElasticSearch database.
FormatEsIndices formats the ES Indices information to print it or something esIndices: indices to format prefix: a prefix for each ES index postfix: a postfix for each ES index.
GetEsIndex gets information from an specific ElasticSearch index es: connection details to the ElasticSearch database indexName: name of the index.
GetEsIndices returns the indices from the ElasticSearch node es: connection details to the ElasticSearch database.

# Structs

EsConnection details to the ElasticSearch database.
EsIndex maps indices data from ES REST API response API endpoint: /_cat/indices?format=json.
EsSpan maps spans data from ES REST API response API endpoint: /<index>/_search?format=json.