Ask a Question
Back to All

Different API Keys using GELF

I'm sending logs to Seq from Golang apps by way of GELF and go-gelf (

Is there any way to set different API keys from the client side for Go / GELF like can be done from the .NET side using Serilog and similar?

The only way I see is to set an API key is on the datalust/seq-input-gelf container ( which currently limits me to 1. Technically I suppose multiple of those could be added with different ports and API keys for different apps but that seems heavy handed.

Ideally there'd be a way to set when each app initializes a UDP/TCP writer and having a special extra field in the payload that represents the API key?