How to export n8n log streaming via webhook? Send Test Event fails with error

Hello,
I want to export n8n’s log streaming using a webhook to send logs to a Loki URL in Grafana, so I can visualize the logs directly in Grafana. However, when I try to use the Send Test Event feature in n8n, it returns an error without specifying what went wrong.

How can I properly configure n8n to send log streaming data via webhook to Loki? Any guidance or examples would be greatly appreciated!

How do you have n8n setup? As far as I know log streaming is only available on enterprise licenses. You might need to implement a custom solution if you’re using a basic cloud license or self-host.

On a client project using self-host, we implemented custom logging by poling the execution logs and writing that to a db.

CORRECTION:
It seems like log streaming is available on cloud instances: