This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'fluent/plugin/filter' | |
# This filter detects the parser to use based on Kubernetes annotations. | |
# | |
# Annotation: fluentd.org/parser[_stream][-container] | |
# | |
# Suggest a pre-defined parser. The parser must be already registered by Fluentd. If present, | |
# the stream (stdout or stderr) will restrict that specific stream. If present, the container can | |
# override a specific container in a Pod. | |
# |