It's not even that bad.
As long as it's actual json, it doesn't matter if it's pretty-printed or not, since `jq` can fold and unfold it at will.
I frequently fold logs into single lines, grep for something, then unfold them again
As long as it's actual json, it doesn't matter if it's pretty-printed or not, since `jq` can fold and unfold it at will.
I frequently fold logs into single lines, grep for something, then unfold them again
If the json logged isn't pretty printed everything should still be on one line. You can also grep with the `--context` flag to get more surrounding lines.