Open huntc opened 8 years ago
Sorry, the timestamp field gets mapped to the log_time column in the sqlite mapping. It's a bit non-obvious. You can take a look at all of the table definitions by executing the following in lnav:
;.schema
That should dump the full schema.
Ah nice. Would it be useful to show all of those columns available via .schema
into the "known message fields" associated with the screen shot above?
Given a custom format (attached), I'm not seeing columns such as
timestamp
appear when performing an SQL query - in fact I'm not even convinced that I've got the custom format right. I'm raising the issue here though because the custom format looks right after reading the doc quite a few times.Here's my command:
When I go to query mode I see:
...so why is there no
timestamp
column available?Here's the custom json: