Would xm_json behave the same way as xm_xml when reading from a file using
im_file? I guess so?
I tried your example and it worked, but I had some special cases and in the
end I managed to get control of the output and generate a delimited file
with properly escaped characters etc.
Thanks
On Fr
Hi,
The problem is that im_file reads the input as single lines, this is then
passed to parse_xml() which only gets a line at a time and this is not
valid xml.
One solution would be to use xm_multiline, but this case cannot be
handled with it properly yet.
The good news is that using a module vari
Hi,
I'm trying to parse a local log file in XML format and send it as GELF.
What I've tried for now is:
1 - Load the Extension
Module xm_xml
2 - Create an input with im_file
Module im_file
File "pathtothelog.xml"
Exec parse_xml();