<div dir="ltr">Hi, new to list and kea, using 1.6 from ISC's <a href="http://cloudsmith.io">cloudsmith.io</a> deb repo on Ubuntu 18.04 LTS.<div>I have a working dhcp4 and ddns configuration.<div>I'm now trying to customize logging to output json for easy ingestion by ELK stack.</div><div>I'm working with dhcp-ddns first.</div><div>I'm using this pattern:</div><div><br></div><div>"pattern": "{\"date\":\"%D{%Y-%m-%dT%H:%M:%S.%q%z}\",\"kea.ddns.log.level\": \"%p\",\"kea.ddns.log.component\":\"%c\",\"kea.ddns.log.pid\":\"%i\",\"kea.ddns.log.data\": \"%m\"}\n"<br></div><div><br></div><div>which seems to work *except* for the multiline output of %m (log message):</div><div><br></div><div>{"date":"2019-10-12T23:43:26.431-0400","kea.ddns.log.level": "INFO","kea.ddns.log.component":"kea-dhcp-ddns.d2-to-dns","kea.ddns.log.pid":"21365","kea.ddns.log.data": "DHCP_DDNS_ADD_SUCCEEDED DHCP_DDNS Request ID 0000017160126516693CF3917DFD4650B91CEB8437EC50975E886813C72F8606E30D7C: successfully added the DNS mapping addition for this request: Type: 0 (CHG_ADD)<br>Forward Change: yes<br>Reverse Change: yes<br>FQDN: [ddns-192-168-17-105.dhcp.ldev.]<br>IP Address: [192.168.17.105]<br>DHCID: [0000017160126516693CF3917DFD4650B91CEB8437EC50975E886813C72F8606E30D7C]<br>Lease Expires On: 20191013044326<br>Lease Length: 3600<br>"}<br></div><div><br></div><div>Single line outputs of %m are fine:</div><div>{"date":"2019-10-12T23:40:58.595-0400","kea.ddns.log.level": "INFO","kea.ddns.log.component":"kea-dhcp-ddns.commands","kea.ddns.log.pid":"21365","kea.ddns.log.data": "COMMAND_ACCEPTOR_START Starting to accept connections via unix domain socket bound to /tmp/kea-dhcp-ddns-ctrl.sock"}<br>{"date":"2019-10-12T23:40:58.597-0400","kea.ddns.log.level": "INFO","kea.ddns.log.component":"kea-dhcp-ddns.dctl","kea.ddns.log.pid":"21365","kea.ddns.log.data": "DCTL_CONFIG_COMPLETE server has completed configuration: listening on 127.0.0.1, port 53001, using UDP"}<br>{"date":"2019-10-12T23:40:58.597-0400","kea.ddns.log.level": "INFO","kea.ddns.log.component":"kea-dhcp-ddns.dhcpddns","kea.ddns.log.pid":"21365","kea.ddns.log.data": "DHCP_DDNS_STARTED Kea DHCP-DDNS server version 1.6.0 started"}<br></div><div><br></div><div>As I understand json, multiline is not valid so I'm trying to figure out if the format of %m</div><div>can be modified?</div></div><div><br></div><div>Thanks</div><div><br></div></div>