Question

logging with EFK "couldn't find any elasticsearch kubernetes"

Hi, I’ve been trying to setup logging with Elasticsearch Fluentd & Kibana, i’ve followed 3 different tutorials and i’m getting the same result when i open kibana to get the logs: “couldn’t find any elasticsearch kubernetes”… Can you help me ?

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi, please could you show me what tutorial are you using? Do you give a try to Helm Charts?

If you tell me your deployment steps or tutorial URL, I can reproduce them in local k8s cluster using k0s and comment to you.

Anyway, I deploy Grafana+Loki with Helm charts, and is very simple to see and search the cluster logs.

helm install -n monitoring promtail \
--set config.lokiAddress="http://loki:3100/loki/api/v1/push" \
grafana/promtail

helm upgrade --install -n monitoring loki  \
--set persistence.enabled=true \
--set persistence.size=64Gi \
--set config.ingester.chunk_block_size=2048000 \
--set config.ingester.chunk_retain_period=500m \
grafana/loki

I think that in your case, Kibana is using a wrong service name. You need to check your services, configmaps, and deployments.

Do not hesitate to write if you think I can help you

;)