Hi, > I'm sending logs from windows to Linux server using json. is it possible to > add the log servers (windows servers) ip address to the logs such as adding > a keyw "hostip":"192.168.1.1"? > Can I add data to the raw log before processing json? > Add extra data to json log before output? > Any suggestions about how to do it is welcome.
You can do this using the Exec directive: $hostip = "192.168.1.1"; to_json(); Regards, Botond ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/NeoTech _______________________________________________ nxlog-ce-users mailing list nxlog-ce-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nxlog-ce-users