Hi there,
I am using telegraf to collect some JSON input and fwd. it to Loki and Display in Grafana.
My test-Input looks like this:
{“error”: 2,“msg”: “Some error”, “code”: 212, “processid”: 412}
I configured the tail input and what I see in my dashboard is every time in different order:
My config looks like this:
[[inputs.tail]]
files = ["/tmp/test.log"]
data_format = “json”
json_string_fields = [“msg”]
Thanks for any ideas how to fix (configure) this.
Btw. I tested also with output to file, it is the same problem.