Configure logging agent GCE with Fluentd

2/12/2018

Logs from my GCE Project are so disorganised. I run applications in Docker containers on Google Container Engine using Kubernetes - GKE.

For example entries starting with INFO or DEBUG in my Project are determined as errors.

GKE LOG

I did research and I know that I should use Fluentd.

https://kubernetes.io/docs/tasks/debug-application-cluster/logging-stackdriver/

I have to change default ConfigMap configuration, to change default fluentd configuration. How should I do this? I never used fluentd. Should I use parse plugins? Maybe there exists a better solution to my problem?

Thanks in advance!

Similar problem:

https://medium.com/retailmenot-engineering/formatting-python-logs-for-stackdriver-5a5ddd80761c

-- GreenFlame
fluentd
google-cloud-platform
kubernetes
logging
stackdriver

0 Answers