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?
Elasticsearch Marvel - Turn off logging
8.7k Views Asked by Nathan Smith At
2
There are 2 best solutions below
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.
Just add this line to the
config/elasticsearch.yml
file to stop a node producing data:See the configuration docs for Marvel.