Beat 修改 Index 踩坑记录
metricbeat生成不了新的自定义index,配置改了很多条件,都没用
metricbeat收集多个机器系统信息
metricbeat 收集多台机器数据,修改index问题
Note that output.elasticsearch.index setting is ignored with ILM enabled
注意对齐问题:
vi metricbeat.yml
# ---------------------------- Elasticsearch Output ----------------------------
output.elasticsearch:
# Array of hosts to connect to.
hosts: ["localhost:9200"]
setup.ilm.enabled: auto
setup.ilm.rollover_alias: "metericbeat-20"
setup.ilm.pattern: "{now/d}-000001"
# Protocol - either `http` (default) or `https`.
#protocol: "https"
# Authentication credentials - either API key or username/password.
#api_key: "id:api_key"
#username: "elastic"
#password: "changeme"
# ------------------------------ Logstash Output -------------------------------