You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
In a json parser, if you have a known field named e.g. line/hostname it's not possible to filter on that column using filter-expr. It will say it's invalid format if you use :"line/hostname" = 'foo' or :line/hostname = 'foo'.
To Reproduce
Use a parser that has nested json fields (also added as values in the parser definition) and parse a json log with it.
The text was updated successfully, but these errors were encountered:
Indeed, I'm not sure the best way to go about this, unfortunately. However, I think you can do what you want by reading the value out of the raw JSON variable (:log_raw_text), like so:
lnav version
v0.11.2
Describe the bug
In a json parser, if you have a known field named e.g.
line/hostname
it's not possible to filter on that column usingfilter-expr
. It will say it's invalid format if you use:"line/hostname" = 'foo'
or:line/hostname = 'foo'
.To Reproduce
Use a parser that has nested json fields (also added as values in the parser definition) and parse a json log with it.
The text was updated successfully, but these errors were encountered: