resmoio / kubernetes-event-exporter

Export Kubernetes events to multiple destinations with routing and filtering
Apache License 2.0
789 stars 158 forks source link

Export to Loki not working #128

Closed gomgomshrimp closed 1 year ago

gomgomshrimp commented 1 year ago

Hi, I have set up a webhook and a loki receiver to export events to loki, but neither is working. I'm running Loki in single binary mode.

The error is as follows.

{"level":"error","name":"loki-webhook","time":"2023-09-02T03:05:46Z","message":"There is no channel"}

{"level":"error","name":"loki","time":"2023-09-02T03:05:46Z","message":"There is no channel"}

Here is my settings.

gomgomshrimp commented 1 year ago

I found out that the receivers information needs to go into the config.receivers location.