forwarding-eventlog-in-json-format-1.conf 293 Bytes
Newer Older
NXLog CI User's avatar
NXLog CI User committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
<Extension _json>
    Module  xm_json
</Extension>

<Extension _syslog>
    Module  xm_syslog
</Extension>

<Input eventlog>
    Module  im_msvistalog
    Exec    $Message = to_json(); to_syslog_bsd();
</Input>

<Output udp>
    Module  om_udp
    Host    192.168.2.1
    Port    514
</Output>