Continuing the discussion from How to get entire enriched "event" size (not message size):
I'm using metricbeat, and I'm looking to know what's the size of the message, I tried using that but I'm getting:
[ERROR][logstash.filters.ruby ] Ruby exception occurred: undefined method `bytesize' for nil:NilClass
I've been looking for a reference page about what other options do I have to get this but I couldn't find it. I also found someone saying about mentioning the LENGTH attribute could be used but that didn't work either.
could someone please help me on this?
thanks