Hi, My metric dashboard in kibana crashed every now and then in 2 days with error
Error
Internal Server Error (500)
URL
https://kibana.integ.tvld.tech/api/metrics/snapshot
i suspect this might an issue with metric beat ILM configuration, i hjave configured ILM with life cycle jsonon metric.yml
metricbeat.config.modules:
path: "${path.config}/modules.d/*.yml"
reload.enabled: 'false'
setup.template.settings:
index.number_of_shards: '1'
index.codec: best_compression
logging.level: info
logging.to_files: 'true'
logging.files:
path: "/var/log/metricbeat"
name: metricbeat
keepfiles: '5'
permissions: '0644'
setup.kibana:
host: http://parkbni01.infra.tvld.tech:8080
output.elasticsearch:
hosts:
- https://parelki03.infra.tvld.tech:9200
- https://parelki02.infra.tvld.tech:9200
- https://parelki01.infra.tvld.tech:9200
protocol: https
username: tvld_metricbeat
password: wacAIrAurw/FcK1juPfKR5dtzfXDway2DnrUc+DbbNE=
setup.ilm.policy_name: metricbeat-rollover-10d
setup.ilm.policy_file: "/etc/metricbeat/lifecycle.json"
lifecycle.json
{
"policy": {
"phases": {
"hot": {
"actions": {
"rollover": {
"max_size": "10gb",
"max_age": "10d"
},
"set_priority": {
"priority": 100
}
}
},
"warm": {
"min_age": "5d",
"actions": {
"set_priority": {
"priority": 50
}
}
},
"cold": {
"min_age": "10d",
"actions": {
"set_priority": {
"priority": 0
}
}
},
"delete": {
"min_age": "15d",
"actions": {
"delete": {
}
}
}
}
}
}
While index and index template is created it works fine. but after 2 days the iLM policy defined dissappears from the metrics.
anything i miss for config.