A container for loading the templates to ElasticSearch.
elasticsearch-init uses simple SemVer tags as follows:
masterelasticsearch-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:
/template/logs will be uploaded to ElasticSearchlogsA number of environment variables can be passed to the container:
| Variable | Default | Description |
|---|---|---|
ELASTICSEARCH_URI | elasticsearch:9200 | URI to connect to ES |
ELASTICSEARCH_TIMEOUT | 60 | How long to wait for ElasticSearch connection |
Content type
Image
Digest
Size
2.6 MB
Last updated
almost 9 years ago
docker pull monasca/elasticsearch-init