Skip to main content

I want to eval the size in bytes of _raw. How do I do that in Stream?

Sure is.

_raw.length for _raw

__e.asJSON().length for full event length


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

Reply