DateFormat in global directives


#1 derqurps

I was trying to change the global DateFormat as stated in the docs to be able to have the milliseconds included in the output after parsing json, but when i start nxlog i get the message "Invalid keyword: DateFormat at /etc/nxlog.conf"

########################################
# Global directives                    #
########################################
User nxlog
Group nxlog

LogFile /var/log/nxlog/nxlog.log
LogLevel INFO

DateFormat "YYYY-MM-DDThh:mm:ss.sUTC"

The version of nxlog is 2.9.1716 (nxlog-ce)

Am i doing something wrong? Or is this function not supported in the community edition?

Thanks,

Roman

#2 b0ti Nxlog ✓
#1 derqurps
I was trying to change the global DateFormat as stated in the docs to be able to have the milliseconds included in the output after parsing json, but when i start nxlog i get the message "Invalid keyword: DateFormat at /etc/nxlog.conf" ######################################## # Global directives # ######################################## User nxlog Group nxlog LogFile /var/log/nxlog/nxlog.log LogLevel INFO DateFormat "YYYY-MM-DDThh:mm:ss.sUTC" The version of nxlog is 2.9.1716 (nxlog-ce) Am i doing something wrong? Or is this function not supported in the community edition? Thanks, Roman

The DateFormat configuration option is not yet available in the NXLog Community Edition.

See the notes in the beginning of the User Guide. The reference manual for the NXLog CE is available separately.