Query elasticsearch database, manage clusters, indices
ElasticSearch integration gives you ability to manage your
indexes, segments, documents, tasks, shards, cluster settings/stats, node settings/stats, elasticsearch issues using maira commands. You can also run queries to your elasticsearch cluster. We also have a
raw command that lets you send any REST API to your elasticsearch cluster
For integrating with elasticsearch, you need to provide your elasticsearch host addresses and authorization token. Make sure that service_name is set as
elasticsearch and there is one cluster named
elastic-default since this will be used by default if no cluster is specified in the command.
Below is sample configuration for enabling elastic search integration through Helm Chart Values file
- disabled tag can be set to true to temporarily disable the service without removing the config
- multiple clusters can be added under tag "clusters"
Below is sample configuration for enabling elasticsearch integration
modules: - name: maira_io.module.http services: - name: maira_io.service.http typed_config: "@type": types.google.com/maira_io.config.service.http.v1.Config clusters: - name: elastic-default addresses: - "http://localhost:9200" request_headers_add: "Authorization": "Bearer glpat-uGkeU55LRWhUSgfPRQE_" "content-type": "application/json" service_name: elasticsearch