alanconway / logging-fluentd

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Logging Fluentd

This repo only contains the source to produce the fluentd image used by the logging subsystem for Red Hat OpenShift. Fluentd is a log collector that resides on each OpenShift node to gather application and node logs. The content was forked from Origin Aggregated Logging stack for logging releases 5.x and later. Please refer to the cluster-logging-operator for details regarding the operator that deploys and configures this image. This image is intended to be run in conjunction with the configuration and run.sh files provided by the operator. Experiences with the image outside that context may vary.

Issues

Any issues can be filed at Red Hat JIRA. Please include as many details as possible in order to assist in issue resolution along with attaching a must gather output.

Contributing

See the hacking documentation.

Utilities

Several utilities are available with the final image.

sanitize_msg_chunks

Sanitize file buffer chunks by removing corrupt records.

There are known cases where fluentd is stuck processing messages that were buffered to corrupt file buffer chunks. This utility is run manually and deserializes each file chunk, perform a limited set of operations to confirm message validity. Use this utility by:

  • Stopping fluentd
  • Running the utility
  • Restarting fluentd

Note: THIS OPERATION IS DESTRUCTIVE; It will rewrite the existing file buffer chunks. Consider backing up the files before running this utility.

About

License:Apache License 2.0


Languages

Language:Ruby 69.8%Language:C 16.5%Language:Hack 4.7%Language:Java 2.8%Language:Assembly 1.4%Language:Shell 1.3%Language:Roff 1.1%Language:Makefile 0.6%Language:Perl 0.6%Language:M4 0.6%Language:Ragel 0.1%Language:C++ 0.1%Language:HTML 0.1%Language:Python 0.1%Language:CSS 0.0%Language:Dockerfile 0.0%Language:XSLT 0.0%Language:Procfile 0.0%