Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support new containerd CRI format #8257

Closed
kvch opened this issue Sep 6, 2018 · 1 comment
Closed

Support new containerd CRI format #8257

kvch opened this issue Sep 6, 2018 · 1 comment
Assignees

Comments

@kvch
Copy link
Contributor

kvch commented Sep 6, 2018

Containerd has a new cri log format which consists of 4 fields. But Filebeat only supports 3 fields.

Example log:

2018-06-26T01:37:58.748415561Z stderr F /usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/connectionpool.py:768: InsecureRequestWarning: Unverified HTTPS request is being made.

Filebeat creates this event from the log above:

"message": "F {\"@timestamp\":\"2018-06-26T01:37:58.748+00:00\",\"@version\":1,\"message\":\"...."}"

Note the character "F" before the JSON event.

Reference: containerd/cri#830 (comment)

@exekias exekias self-assigned this Sep 7, 2018
@msvechla
Copy link
Contributor

msvechla commented Sep 7, 2018

We have the same issue and are therefor unable to collect meaningful logs with filebeat from our upgraded kubernetes clusters.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants