parse_json deosn't work #323
-
I have another question on Background:
Vector config file:
The vector output:
Run similar script in vrl shell:
Question: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @yuzhichang , I think your issue is that the events are coming out of the
On the |
Beta Was this translation helpful? Give feedback.
Hi @yuzhichang ,
I think your issue is that the events are coming out of the
kafka
source as an encoded JSON string rather than a JSON object. You could try setting:On the
kafka
source so that it decodes the incoming messages as JSON. Then theremap
could further parse the.message
field as JSON.