Is it possible to have Elasticsearch Marvel installed and have it not collect any data, would changing the template to 0 shards and 0 replicates do that for me?
Asked
Active
Viewed 8,743 times
2 Answers
39
Just add this line to the config/elasticsearch.yml
file to stop a node producing data:
marvel.agent.enabled: false
See the configuration docs for Marvel.

DrTech
- 17,031
- 5
- 54
- 48
-
Didnt see this, thanks. Will mark correct when I can. – Nathan Smith Feb 03 '14 at 11:01
-
2It actually changed in Elasticsearch 2 to `marvel.enabled: false` - `marvel.agent.enabled` does not work anymore. – iquito Mar 31 '16 at 22:50
0
marvel.agent.interval: -1
Then restart ElasticSearch. From the docs:
marvel.agent.interval
Controls how often data samples are collected. Defaults to 10s. Set to -1 to temporarily disable data collection. You can update this setting through the Cluster Update Settings API.

forzagreen
- 2,509
- 30
- 38