json formatter

Hi everybody,

we had some issues with the json formatter, which we are using with kafka. We temporarily patched this and it is working fine for now. However, probably a more general revision could be better, possibly using an external library for the conversion to json format. I saw in github somebody is already working on it, right? So, I guess we just have to wait for next zeek’s version?

Cheers

Mauro

Hi Mauro,

we had some issues with the json formatter, which we are using with
kafka. We temporarily patched this and it is working fine for now.
However, probably a more general revision could be better, possibly
using an external library for the conversion to json format. I saw in
github somebody is already working on it, right? So, I guess we just
have to wait for next zeek's version?

Yup, that is the plan. For more information see the github bug at
to_json mishandles strings with both \ and unprintable characters · Issue #150 · zeek/zeek · GitHub and the pull request at
Convert all JSON output to use an external library for better consistency by timwoj · Pull Request #451 · zeek/zeek · GitHub; I assume this will be merged into
master in not too long.

Johanna

Hi Johanna,
   great! Then we just have to wait... :wink:

Thanks,
Mauro

-----Messaggio originale-----