Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否可以安装 Elasticsearch Marvel 并且不收集任何数据,将模板更改为 0 个分片和 0 个复制对我来说会这样做吗?
只需将此行添加到config/elasticsearch.yml文件中即可停止节点生成数据:
config/elasticsearch.yml
marvel.agent.enabled: false
请参阅 Marvel 的配置文档。
marvel.agent.interval: -1
然后重启 ElasticSearch。从文档:
marvel.agent.interval 控制收集数据样本的频率。默认为 10 秒。设置为 -1 以暂时禁用数据收集。您可以通过集群更新设置 API 更新此设置。
marvel.agent.interval