Redirecting api Gateway Logging to kafka queue

Hi, I am looking forward some help redirecting gateway logs with columns we see in dashboard log browser to a kafka queue for internal auditing reports of the APIs that I did setup in tyk. Can we do it in tyk with some kind of configuration changes? Or Do we have write our own middleware if so any guidance with some existing code samples that would help this case would be really appreciated.

If you want the same data that you see in the log browser, you will want to create a custom pump for tyk-pump, this is the component that outputs this data to the MongoDB, but it also has pumps for other DBs like influx.

So it isn’t supported out of the box, but it should be easy to implement. We’d be happy to help out if you’re willing to collaborate, the pump is an OSS project.

1 Like