export def "view log" [] {
lines | filter { |line| $line | str starts-with '{' } | each { |line| try { $line | from json } catch {{}} } | flatten
}