[英]Elasticsearch Marvel - Turn off logging
是否可以安装Elasticsearch Marvel并让它不收集任何数据,将模板更改为0分片,0重复为我做这些?
Just add this line to the config/elasticsearch.yml
file to stop a node producing data: 只需将此行添加到
config/elasticsearch.yml
文件即可停止生成数据的节点:
marvel.agent.enabled: false
See the configuration docs for Marvel. 请参阅Marvel的配置文档 。
marvel.agent.interval: -1
Then restart ElasticSearch. 然后重启ElasticSearch。 From the docs :
来自文档 :
marvel.agent.interval
Controls how often data samples are collected.marvel.agent.interval
控制收集数据样本的频率。 Defaults to 10s.默认为10秒。 Set to -1 to temporarily disable data collection .
设置为-1可暂时禁用数据收集 。 You can update this setting through the Cluster Update Settings API.
您可以通过Cluster Update Settings API更新此设置。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.