I am working currently on getting the stack monitoring up and running.
According to what I have read so far, all I need to do for that is set the xpack.monitoring.collection.enabled
to true
. So like that:
apiVersion: elasticsearch.k8s.elastic.co/v1
kind: Elasticsearch
metadata:
name: elastic
spec:
version: {{ $.Chart.AppVersion }}
secureSettings:
- secretName: elastic-es-gcs-credentials
nodeSets:
- name: master
count: 3
config:
node.master: true
node.data: false
node.ingest: false
node.ml: false
node.store.allow_mmap: false
xpack.monitoring.collection.enabled: true
....
Same is enabled for the data nodes and for kibana.
On the first run it looked pretty good. However, after a few days I go again the default via:
I check that the parameters are still in place and the indicies exist:
As we can see everything is there. However, Kibana says no monitoring data are there. If I go an delete the monitoring indices of for example today manually, it works again... until it stops in one or two days again...
Any idea what could be going wrong here?