How to write JSON into files?
megastef opened this issue · 1 comments
megastef commented
Hi, I did not see an option to generate JSON output.
Could you please tell me what would need to be changed?
cha87de commented
Hi @megastef
the nfdump option to select the format of the file export needs to be passed through, e.g. by changing the flowexport variable MODE
form text / netflow to file / netflow and then add a new variableFILETYPE
with valid options for nfdump (raw, line, long, extended, csv, json, pipe).
I will try to make these changes, unless you come up with a Pull Request earlier (that would be highly appreciated) :-)