how to configure ibm cloud kube to forward logs - best way to forward logs from kube

12/10/2018

i have a kubernetes service on ibm cloud, what vendor/solution is best way to persist my logs so i can view them later? The ClI does not save all of the logs, kibana is too noisy in the UI.

Edit - want to use splunk server. Not sure how to forward logs to splunk server, has anyone tried?

-- Johnson
ibm-cloud
kubernetes
logging
splunk

1 Answer

12/14/2018

This doesn't seem like a Splunk specific question, if you don't know how to forward logs to splunk, I would recommend learning the basics of Splunk first before trying to implement anything. There are many different aspects to Splunk that are to be considered before implementation, i.e. are you self-hosting or going to use Splunk cloud? Will you be running a Splunk cluster or just single instance that performs all roles. This is not a question to be answered here but rather one that requires more investigation and thought.

To answer your question regarding Kubernetes to Splunk, yes it's possible, a quick google shows this Splunk app will gather the data you need: https://splunkbase.splunk.com/app/3743/ .

-- Liam
Source: StackOverflow