Report this

What is the reason for this report?

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

Posted on November 11, 2021

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 ?



This textbox defaults to using Markdown to format your 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

;)

Hi there,

Quick update here, in addition to what has already been mentioned, log forwarding is now available for DOKS. With this feature release, you can forward cluster event logs from your Kubernetes cluster to Managed OpenSearch to centralize logs and gain a more granular understanding of a K8s cluster’s security and performance.

Log forwarding is now supported by three DigitalOcean products: Managed Databases, App Platform, and now Kubernetes.

You can check out the documentation here:

https://docs.digitalocean.com/products/kubernetes/how-to/forward-logs/

And also the announcement blog post here:

https://www.digitalocean.com/blog/log-forwarding-for-doks

- Bobby

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.