-
|
I have logs that are detected as Note, the logs are detected as What i found out was after getting the result and viewing them in DB mode, when i switched to timeline mode, it tries to use the pre-parsing / extraction logs line, as in the logs line that was outputted by lnav parser instead of using the result of my PRQL query. Am i missing something or is this something that is not supported? Or i need to somehow save the output of the PRQL into jsonlines and somehow read it back using lnav and do further configuration? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 9 replies
-
You'll need to use SQL and do an The relevant bit of the script is here: lnav/src/scripts/zk-set-ops.lnav Lines 36 to 41 in 8c66a50 Since you started in PRQL, you might be able to use the PRQL playground to convert it into SQL and then you can use that in the If you haven't already, I would suggest creating a script file with the commands in it. It should be a bit easier to edit a large statement in a script file rather than doing it from the prompt. There is an lnav VS Code extension that can be useful for editing scripts. |
Beta Was this translation helpful? Give feedback.
-
You can press Unfortunately, I don't think there's a way to go to a particular message that is in the timeline opid details panel. That's another improvement that could be done. |
Beta Was this translation helpful? Give feedback.


Unfortunately, since
headersis a string under the main object and not a sub-object, lnav won't drill down further (it just doesn't have the code to do that right now). So, what you're doing now seems like the right way.Yes, the extractor only runs during the initial scan of the logs. The complicβ¦