fluent / fluent/fluent-plugin-parser-cri
Issue with java format
- Dominant language
- Ruby
- Stars
- 35
- Forks
- 9
- PR merge metrics
- No merged PRs in 30d
Description
Hello everyone,
I’m experiencing an issue with the `cri` plugin. My original configuration is as follows:
```
@type tail
path /var/log/containers/*.log
pos_file /var/log/fluentd-es-containers.log.pos
tag kubernetes.*
read_from_head true
@type multi_format
format cri
time_format %Y-%m-%dT%H:%M:%S.%N%Z
@type json
@type none
format none
```
My expectation was that logs containing JSON would be parsed accordingly, and all Java logs would be handled by the none parser. However, I noticed that the logs are still being processed using the `cri` format instead of matching the expected pattern.
For example, here is a log entry after applying this configuration:
```
2025-03-15T15:35:09.417781166+03:30 stdout F at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
```
Could anyone help me understand why the logs aren’t matching the `cri` pattern as intended?
Thank you.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.