nerdctl icon indicating copy to clipboard operation
nerdctl copied to clipboard

Support read logs from fluentd/journal log driver

Open Zheaoli opened this issue 3 years ago • 4 comments

What is the problem you're trying to solve

For now, we just support one-way write process for fluentd/journal log driver, but in some circumstances, the user may need to use nerdctl logs command to fetch the log.

So we can write to the driver destination and a local JSON file for the log driver simultaneously, and the nerdctl logs command can fetch the log from the local log file

Describe the solution you'd like

  • [ ] fluentd
  • [ ] journal
  • [ ] syslog after https://github.com/containerd/nerdctl/issues/1353 @yuchanns

Additional context

No response

Zheaoli avatar Sep 10 '22 17:09 Zheaoli

count me in

yuchanns avatar Sep 10 '22 17:09 yuchanns

I started a PR around this https://github.com/containerd/nerdctl/pull/1115/files a few days ago. Unfortunately, I didn't have time to finish it. @yuchanns this may inspire you :)

fahedouch avatar Sep 10 '22 22:09 fahedouch

I can take the journald driver job😃

t1anz0ng avatar Sep 10 '22 22:09 t1anz0ng

@Zheaoli Should this be fluentbit and not fluentd? Ref: https://github.com/containerd/nerdctl/commit/8bf043a52b5d64a9a7a38103427c884e4a542271

manugupt1 avatar Sep 11 '22 21:09 manugupt1