ブログ) https://aws.amazon.com/jp/blogs/news/centralized-container-logging- uent-bit/ Fluent Bit is a lightweight and extensible Log Processor that comes with full support for Kubernetes: “ “ 7
を併用 [INPUT] Name forward Listen 0.0.0.0 Port 24224 Buffer 512000 Tag mitene.* [INPUT] Name tail Tag kube.* Path /var/log/containers/*.log Parser docker DB /var/log/flb_kube.db Mem_Buf_Limit 5MB Skip_Long_Lines On Refresh_Interval 10 10
Regex ^(?<remote>[^ ]*) (?<host>[^ ]*) (?<user>[^ ]*) \[(?<time>[^\]]*)\] ... Time_Key time Time_Keep On Time_Format %d/%b/%Y:%H:%M:%S %z [PARSER] Name docker Format json Time_Key time Time_Format %Y-%m-%dT%H:%M:%S.%L Time_Keep On 11
Match kube.* delivery_stream mitene-kube region ap-northeast-1 [OUTPUT] Name firehose Match mitene.log.* delivery_stream mitene-log region ap-northeast-1 これによって、タグごとにS3 バケット/ ディレクトリに格納できる 13