this is my rsyslog.conf
template format:
$template userformat,"%HOSTNAME%,%syslogfacility%(%syslogFacility-text%),%syslogpriority%(%syslogpriority-text%),%syslogtag%,%timegenerated:::date-unixtimestamp%,%msg%\r\n"
but in the log file date of log is not in unixtimestap
format.