Invariant failed: Bad UTF-8 at end of string (2 byte sequence)
There are many instances of this assertion failure in logstash, but didn't check if they all have the same stack trace.
There is T236866: InvariantException: Invariant failed: Bad UTF-8 at start of string for start of string assertion failures