Describe the bug
I have log lines coming in formatted using logfmt. Some of the entries contain invalid characters. Loki refuses to do anything with the query. I was under the impression it would just skip parsing that line and add an __error__ label, rather than the query failing. The query works when I don't try to pass it through the logfmt parser.
To Reproduce
Here is my query
{hostname="my-hostname", job="traps_dev"} | logfmt
Here is the reply from the API (I tried the query in Grafana and using Postman, same response):
Describe the bug I have log lines coming in formatted using logfmt. Some of the entries contain invalid characters. Loki refuses to do anything with the query. I was under the impression it would just skip parsing that line and add an __error__ label, rather than the query failing. The query works when I don't try to pass it through the logfmt parser.
To Reproduce Here is my query
{hostname="my-hostname", job="traps_dev"} | logfmt
Here is the reply from the API (I tried the query in Grafana and using Postman, same response):
Expected behavior I expect that Loki would just skip parsing the line with the invalid characters and add a __error__ label
Environment: Grafana Cloud