Hello Simon,
that's exactly what I decided to do, and so far so good!
I think I'm forced to use a parser on a syslog input, so I juste use a simple regex that captures everything in a group named "log".
Then a rewrite_tag filter (there's always a hostname that I can use to easily differentiate logs) and then another parser log.
End finally the output to Loki.
One weird thing tough, is that if I use a single Loki output for all my logs, I get no error, but not all my messages are delivered, only messages from one of my parsers.
And if I use 2 outputs with the same sets of labels, I get errors because my messages are "out of order".
Using 2 outputs with different labels for each of my parsers seems to work.
Thanks for your answer Simon, I was not sure it was the correct way to do it, but I guess filters are the way to go :)
--
Erwin