Sign inSign up

monasca/elasticsearch-init

By monasca

•Updated about 5 years ago

Image
0

1.7K

monasca/elasticsearch-init repository overview

⁠elasticsearch-init

A container for loading the templates to ElasticSearch.

⁠Tags

elasticsearch-init uses simple SemVer⁠ tags as follows:

  • master

⁠Usage

elasticsearch-init leverages the Docker volumes⁠. Each template, that image is supposed to upload to ElasticSearch⁠, is represented as single file mounted to /templates/ directory inside the container. Another point, to keep in mind, is that template uploading requires also a template name. That bit is equal to the filename that holds the template. For instance:

docker run -v ./tpls/logs.json:/templates/logs -l elasticsearch monasca/elasticsearch-init

means that:

  • content of /template/logs will be uploaded to ElasticSearch⁠
  • template name will be logs

⁠Configuration

A number of environment variables can be passed to the container:

VariableDefaultDescription
ELASTICSEARCH_URIelasticsearch:9200URI to connect to ES
ELASTICSEARCH_TIMEOUT60How long to wait for ElasticSearch connection

Tag summary

Content type

Image

Digest

Size

2.6 MB

Last updated

almost 9 years ago

docker pull monasca/elasticsearch-init