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.

KUBELOGGINGDESTINATION=elasticsearch

Are there Alternatives to this?

Kind regards
Gradlon

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.

×
2 answers

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

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?

Submit an Answer