Sending logs from filebeat to kafka and kafka to graylog

Sidecar is just a program to configure collectors - not to send or collect logs.

You need to know what kind of logfiles you want to collect from what you tell it is not clear what your goal is.