Hi There,
I have set up Promtail and Loki with Grafana.
I get the logs no problem, I see the “ts” and “tsNs” parsed fields. I use AlertManager as a notification channel.
Is there any way to get any of these two fields into the AM email template, e.g. by somehow converting it into a label?
I have tried with promtail, but sometimes the log line does not actually include the “ts=” part. However, even in this case Grafana seems to be able to parse the timestamp.
Many thanks