Return data to an elasticsearch server for indexing.
maintainer: | Jurnell Cockhren <jurnell.cockhren@sophicware.com> |
---|---|
maturity: | New |
depends: | elasticsearch-py |
platform: | all |
To enable this returner the elasticsearch python client must be installed on the desired minions (all or some subset).
The required configuration is as follows:
- elasticsearch:
- host: 'somehost.example.com:9200' index: 'salt' number_of_shards: 1 (optional) number_of_replicas: 0 (optional)
The above configuration can be placed in a targeted pillar, minion or master configurations.
To use the returner per salt call:
salt '*' test.ping --return elasticsearch
In order to have the returner apply to all minions:
ext_job_cache: elasticsearch
Do any work necessary to prepare a JID, including sending a custom id
Process the return from Salt
Docs for previous releases are available on salt.rtfd.org.
Latest Salt release: 2014.1.13
Try the shiny new release candidate of Salt, v2014.7.0rc6! More info here.
22.23.3.1.4. salt.returners.couchdb_return
22.23.3.1.6. salt.returners.etcd_return
Upcoming SaltStack events, webinars and local meet ups and user groups.