Apply filter before adding timestamp? #1187
Replies: 2 comments 1 reply
-
|
Can you give some more details/examples. I'm not quite sure what you're asking. Are you filtering based on time? |
Beta Was this translation helpful? Give feedback.
-
|
Let's say I have raw log lines which look like this: I might filter the lines of interest something like: But if I run Now, to filter the lines of interest I need something like: So I need to update the filter to match the generated log lines rather than the input log lines I'm just curious whether there is a general solution for this that I am missing. (Clearly, I could have a simpler regex, but I still need to take account of timestamps which may/may not be present, depending on how I run the tool.) |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
If I run
lnav -n -t, instead oflnav -n, then I have to match the generated timestamps in filter expressions. Am I missing something which would allow the filter to apply before the timestamps are inserted, so the same filter could be used?Beta Was this translation helpful? Give feedback.
All reactions