-
I'm almost certainly missing something really obvious here. I'm trying to get lnav to read in a couple of types of log files and get them correctly interleaved. One type has timestamps in the local time zone (and no time zone indication); the other has UTC timezones (which are indicated as such). I tried to write a simple piece of SQL to adjust these, something like
This sort-of works - but it doesn't update the main display. If I do the same thing using
then the display does update (i.e. re-order the lines correctly). Should the SQL thing work? Is there a better way to do what I'm trying to do here? (I like the SQL approach because I'm writing a shell script wrapper to locate a bunch of log files based on a test run, and I'd like to automate the process of bringing up lnav looking at a bunch of these files and getting them interleaved correctly - I can't see how to automate the |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 3 replies
-
What version of lnav are you using? |
Beta Was this translation helpful? Give feedback.
-
What part of it does work? Do you see the I tried this on v0.9.0 and the top-of-tree and it seems to work: |
Beta Was this translation helpful? Give feedback.
-
Thanks for the details, it is a bug, sorry! I'll get it fixed up by tonight. I'll also see if I can fixup the issue with the rewritten timestamp. |
Beta Was this translation helpful? Give feedback.
-
This bug should be fixed in the top-of-tree by the following change: c3dc668#diff-9b92736a26b412998184d134fd472b6276efecca9cdc126a7a1f754efe29719e I had tried to optimize something and missed a case. Thanks for the report! |
Beta Was this translation helpful? Give feedback.
This bug should be fixed in the top-of-tree by the following change:
c3dc668#diff-9b92736a26b412998184d134fd472b6276efecca9cdc126a7a1f754efe29719e
I had tried to optimize something and missed a case. Thanks for the report!