openshift / origin

Conformance test suite for OpenShift
http://www.openshift.org
Apache License 2.0
8.48k stars 4.7k forks source link

Central logging (logstash for pods) #13110

Closed Evgeniy-Bondarenko closed 6 years ago

Evgeniy-Bondarenko commented 7 years ago

How to enable forwarding the log of the pods in logstash (ELK)?

Version

oc version oc v1.3.0 kubernetes v1.3.0+52492b4 features: Basic-Auth GSSAPI Kerberos SPNEGO openshift v1.3.0 kubernetes v1.3.0+52492b4

Steps To Reproduce
  1. Go to WebUi Openshift for read and control log from each pods
Current Result

It is not productive

Expected Result

Centralization of logs in ELK (Elastic Logstash Kibana)

lmello commented 7 years ago

https://docs.openshift.com/enterprise/3.1/install_config/aggregate_logging.html

jcantrill commented 7 years ago

The OpenShift logging stack relies on the use of Fluentd instead of Logstash to forward logs from the nodes to the Elasticsearch instance. In order to utilize Logstash, you would need to replace the fluentd instance and configure it to use the same secrets, certs, and keys that is used with Fluend in order to properly communicate with ES.

jcantrill commented 6 years ago

Closing under the assumption your question was answered