isc-dhcp-server-dhcpd.conf 414 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
<Extension _syslog>
    Module  xm_syslog
</Extension>

<Input dhcp_server>
    Module  im_file
    # Debian writes `daemon` facility logs to `/var/log/daemon.log` by default
    File    '/var/log/daemon.log'
    # RHEL writes `daemon` facility logs to `/var/log/messages` by default
    #File    '/var/log/messages'
    <Exec>
        parse_syslog();
        if $SourceName != 'dhcpd' drop();
    </Exec>
</Input>