#post
Parse Grafana logs as JSON for easier searching
- I currently search the each query result like it’s one long string (which I think it is by default?)
- It would be way nicer to first parse it as an object/json so that I can break big single queries into smaller, simpler string/regex matches by the individual fields I care about
- This is one advantage of Google Cloud logs (field parsing is automatic, so filtering is by field works as expected right away)
- Just trying
| json
hasn’t worked well at work - Why not?
- Ask guild-observability (show them what happens if I try + what I’ve googled)