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