Skip to content

Remove "error" field from logs #2667

@adityathebe

Description

@adityathebe
{
 "time": "2025-08-19T05:20:29.130518863Z",
 "id": "7e9cf42a7091136544ae9cf65d777b02",
 "remote_ip": "10.42.3.1",
 "host": "canary-checker:8080",
 "method": "GET",
 "uri": "/db/check_statuses?check_id=eq.0198c09e-22da-3bf1-3304-9c1a6c08536b&time=gt.2025-08-19T04%3A15%3A29.104Z&order=time.desc&limit=50&offset=0",
 "user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/139.0.0.0 Safari/537.36",
 "status": 206,
 "error": "",
 "latency": 3283183,
 "latency_human": "3.283183ms",
 "bytes_in": 0,
 "bytes_out": 12741
}

All the log lines have the "error" field. Loki labels this as detected_level: error

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions