Is there a Cribl expression that I can use to eval the size in bytes of _raw?
Tony Reinke - Cribl
Posts: 134 admin
in Stream
Best Answer
-
Sure is.
_raw.length for _raw
__e.asJSON().length for full event length
0
Answers
-
Sure is.
_raw.length for _raw
__e.asJSON().length for full event length
0 -
If _raw is a parsed object ({} to the left of _raw in the preview window), youll need to stringify the value first.
JSON.stringify(_raw).length
0