However, at that point the script must insert it into the DB as rsyslog does no more processing.
"You could attempt to use rsyslog's limited``property replacer""language to define a template to do whatever formatting you want."