diff --git a/lib/file-utilities.js b/lib/file-utilities.js index f39f7c09..e24180b3 100644 --- a/lib/file-utilities.js +++ b/lib/file-utilities.js @@ -223,7 +223,7 @@ function streamAllLogs(config, callback) { return { t: data.__REALTIME_TIMESTAMP , line: data.MESSAGE - , f: data.CONTAINER_NAME || data.SYSLOG_IDENTIFIER || 'UNKNOWN_SYSTEMD_APP' + , f: data.CONTAINER_NAME || data._SYSTEMD_UNIT || data.SYSLOG_IDENTIFIER || 'UNKNOWN_SYSTEMD_APP' , pid: data._PID && parseInt(data._PID) , prival: data.PRIORITY && parseInt(data.PRIORITY) , containerid: data.CONTAINER_ID_FULL