-
Notifications
You must be signed in to change notification settings - Fork 374
Kata-runtime: fluentd log parsing #985
Comments
@jodh-intel running this on the node works
Also about 100 lines of logs are showing up as a single message in the fluentd container running on the node with concat error above. Wondering if this is related to multi-line, flush interval etc., settings like shown here |
@jodh-intel @krsna1729 yes the node works properly. You may be right about the multiline issue. Also it is possible that kernel logs get in between the multi line logs? |
The kernel boot messages are captured in the proxy log and could upset fluentd. That's currently an unsolved problem though: kata-containers/agent#255. |
@jodh-intel - OOI, are the kernel logs inter-mingled with the other logs still an issue? I see kata-containers/agent#255 is still open for instance :-( |
@grahamwhaley - yep - still a problem afaik. |
Minor update. In order to see the fluentd config yaml that was referenced originally, you need to check out the # <source>
# @type systemd
# path /var/log/journal
# matches [{"SYSLOG_IDENTIFIER": "kata-runtime"}, {"SYSLOG_IDENTIFIER": "kata-proxy"}, {"SYSLOG_IDENTIFIER": "kata-shim"}]
# tag kata-containers
# <entry>
# fields_strip_underscores true
# fields_lowercase true
# </entry>
# </source> I'm going to see if I can reproduce this, and contemplate if/what/anything can be done, probably at the kata end. Our logs should be ingestible... |
Description of problem
When parsing kata-runtime logs in the journal with fluentd we see an error.
Kata is setup using
https://github.com/clearlinux/cloud-native-setup/tree/master/clr-k8s-examples
And kata is launched using
The fluentd log filters are setup via the filter below which is current disabled.
https://github.com/clearlinux/cloud-native-setup/blob/master/clr-k8s-examples/3-efk/fluentd-es-configmap.yaml#L333
Expected result
fluentd should be able to parse the kata component logs and show up in Kibana
Actual result
(replace this text with the output of the
kata-collect-data.sh
script, afteryou have reviewed its content to ensure it does not contain any private
information).
The text was updated successfully, but these errors were encountered: