Log formats that Grafana Supports

Actually Im trying to understand loki.process/relabel the logs coming from my application. My log format is being this way - 2025-02-14T09:17:58.280Z [info] - GET /api/featured/config { “method”: “GET”, “url”: “/api/featured/config” }.
Could anyone please let me know the log format of how it needs to be, so Alloy can process it properly…
Recently I changed it to this format → {“method”:“GET”,“url”:“/auth/logged_in”,“level”:“info”,“message”:“GET /auth/logged_in”,“timestamp”:“2025-02-21T07:16:48.362Z”}
I have used stage.json within the loki.process

I am not sure what you mean. JSON format makes processing rather easy, but it can do just normal text format, too, depending on what you need.

Can you be more specific? Perhaps provide your sample logs, what you are looking to do, and what you’ve tried.