I have the ES operator installed and running an ES cluster. I'd like to get a grafana dashboard running. Is there a walkthrough on enabling the metrics and installing a generic dashboard?
Thank you.
I have the ES operator installed and running an ES cluster. I'd like to get a grafana dashboard running. Is there a walkthrough on enabling the metrics and installing a generic dashboard?
Thank you.
It is not quite clear to me what you are trying to do. If you want to monitor the operator itself, you should enable metrics by starting the operator with the --metrics-port
flag set to a valid port number and configuring your metrics collector to scrape that port. See https://www.elastic.co/guide/en/cloud-on-k8s/current/k8s-operator-config.html for information about how to configure the operator with flags.
If you want to use Elasticsearch as a data source in Grafana, you can use the fully-qualified service name of Elasticsearch as the data source URL (assuming that both are installed in the same Kubernetes cluster). For the quickstart example, that would be https://quickstart-es-http.default.svc.cluster.local:9200
. In the "Auth" section, you will need to tick the "Basic Auth" checkbox and either pick the "Skip TLS Verify" option or pick "With CA Cert". With the latter option, you will have to export the Elasticsearch certificate and paste it into Grafana. See https://www.elastic.co/guide/en/cloud-on-k8s/current/k8s-accessing-elastic-services.html for more details.
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.