Question

DO - Kubernetes send POD Logs to Elasticsearch

Hi,

Is there a way to Send POD Logs to Elasticsearch in Digitaloceans Kubernetes?

According to the Docs of Kubernetes this is feasible. https://kubernetes.io/docs/tasks/debug-application-cluster/logging-elasticsearch-kibana/

But it has to be done during setup.

KUBE_LOGGING_DESTINATION=elasticsearch

Are there Alternatives to this?

Kind regards Gradlon


Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

That doesn’t actually address what he was asking for. That just stands up an ELK stack in Kubernetes. What he wants (and what I would also like, which is why I’m here) is for the Kubernetes logging to go to ElasticSearch instead of the default logging mechanism (whatever that is at DO that is similar to google’s StackDriver Logging).

Is this possible?

Greetings!

I asked on of our resident geniuses, John, for some advice here. I’m relaying what he gave me in my own words.

While you would currently be unable to do it that way with our hosted Kubernetes, this does work as a solution:

https://github.com/helm/charts/tree/master/stable/elastic-stack

Jarland