Question

How to access efk stack outside the kubernetes cluster for logging

I have to create kubernetes cluster and setup efk stack on that, but send all the logs which applications not in the cluster like on ec2 or ebs. How can I access efk outside the cluster.


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.

Hi there,

You can do that by following the steps here:

https://www.digitalocean.com/community/tutorials/how-to-set-up-an-elasticsearch-fluentd-and-kibana-efk-logging-stack-on-kubernetes#step-4-creating-the-fluentd-daemonset

However rather than deploy the ElasticSearch cluster inside the Kubernetes cluster, you could just specify the details of your external cluster in the fluentd configuration file.

That way the fluentd service will be connecting to your external ElasticSearch cluster rather than a local one inside the Kubernetes cluster itself.

Hope that this helps!

Best,

Bobby