Log level suddenly not displayed correctly

Hi, we’re running pretty basic Loki setup just to have logs in one place, searchable and all those nice things.

In fact we set it up once years ago and forgot about it because it just worked.

Suddenly, the log levels stopped working. Some are displayed correctly, but ERROR and NOTICE levels just show up empty.

I have no idea what even could have broke, can you point me in the right direction?

Thanks

For info log
{job=“$Application”, host=“$Host”} |= ``
| label_format level=detected_level
| level=~(?i)info

For error
{job=“$Application”, host=“$Host”} |= ``
| label_format level=detected_level
| level=~(?i)error

for warn
{job=“$Application”, host=“$Host”} |= ``
| label_format level=detected_level
| level=~(?i)warn

And where should that go?

I currently have only have filter query that looks like this:
{job="itadlogs"} |= `$search` | pattern `[<id>][<timestamp>] <level>: <message>` | channel =~ `${channel:regex}` | id =~ `$id` | level =~ `$level`

Also, when I click on the log line, I can no longer see any fields that I used to be able to see before. Again without any change on my end, just suddenly stopped working.