Connection module for Elasticsearch
depends: | elasticsearch |
---|
Delete the document specified by the id in the index.
CLI example:
salt myminion elasticsearch.delete grafana-dash dashboard mydash profile='grafana'
Check for the existence of an elasticsearch document specified by id in the index.
CLI example:
salt myminion elasticsearch.exists grafana-dash mydash profile='grafana'
Get the contents of the specifed id from the index.
CLI example:
salt myminion elasticsearch.get grafana-dash mydash profile='grafana'
Create or update an index with the specified body for the specified id.
CLI example:
salt myminion elasticsearch.index grafana-dash dashboard '{"user":"guest","group":"guest","body":"",...}' mydash profile='grafana'
Docs for previous releases are available on readthedocs.org.
Latest Salt release: 2014.7.2