Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
374 views
in Technique[技术] by (71.8m points)

how can we configure openshift and kubernetes for sending app logs to third party systems like siem

I want to send all application logs in a specific project to siem environment by using syslog protocol in Red Hat OpenShift for storing regulative logs on siem and creating alarm rules on siem. And also I want to learn that how it can be done on Kubernetes. I discovered that there is a pipeline mechanism for this need at OpenShift but it doesn't work at project level.

  • logs.app - Container logs generated by user applications running in the cluster, except infrastructure container applications.

If I send all logs to siem by using this method that this configuration will be cause unnecessary workload and unnecessary storage usage.

Reference: https://docs.openshift.com/container-platform/4.5/logging/cluster-logging-external.html#cluster-logging-collector-log-forward-configure_cluster-logging-external

Questions:

  1. How can we forward project specific app logs to an external syslog server for OpenShift?

  2. How can we forward project specific app logs to an external syslog server for Kubernetes?

  3. If there is a difference for external log forwarding configuration for Kubernetes or OpenShift, can you share more details?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...