DO - Kubernetes send POD Logs to Elasticsearch


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

According to the Docs of Kubernetes this is feasible.

But it has to be done during setup.


Are there Alternatives to this?

Kind regards Gradlon


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.

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?


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: