lnav script doesn't see value coming via rewriter #1216
Answered
by
tstack
ostrolucky
asked this question in
Q&A
-
|
I'm trying to use rewriter like so "context": {"kind": "json", "rewriter": "|format"},If my format.lnav (without headers) is It works and replaces context with This works as well. It displays actual context However, this doesn't lnav just doesn't display anything. I'm not sure how I can work with the value there. I also tried to pass it like so "context": {"kind": "json", "rewriter": "|format ${context}"},with this script with same results (no value) |
Beta Was this translation helpful? Give feedback.
Answered by
tstack
Jan 3, 2024
Replies: 1 comment
-
|
This looks like a bug. I've created issue #1218 and pushed a change that should fix the problem. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
ostrolucky
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This looks like a bug. I've created issue #1218 and pushed a change that should fix the problem.