-
Is there a way how to handle unicode when parsing JSON with parse_json function like this:
If JSON contains unicode in field value, eg.
parsing will fail with:
Message is read from kafka. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
This seems to be the solution 🤔
|
Beta Was this translation helpful? Give feedback.
-
I've hit the same issue when using HTTP source and ingesting logs from Fluentbit using http output. Fluentbit will get 400 Bad request and it's not retryable:
Unfortunately I don't have reproducer so far but it's clear that there must be something wrong with way how Vector decodes JSON with unicode garbage (no matter if it's from Kafka or any other source). Config is very simple:
|
Beta Was this translation helpful? Give feedback.
This seems to be the solution 🤔