Hi,
I’m having the following setup:
- A asp.net core application
- serilog is used for logging
- The asp.net app is running in docker
- the docker-loki driver is used to forward the logs to loki
The log messages are forwarded correctly. But structured log properties are not forwarded properly:
_log.LogInformation(“Login attempt from {EMail} with {AppVersion}”, email, appVersion);
I would expect here that the fields email and appVersion are showing up in grafana loki as “detected Fields”. The logline appears, the email and appversion are inserted in the logmessage, but the fields are not detected.
Is there a config for enabling this?
Thanks