I've configured audit server to forward the logs to a centralized rsyslog server. Is there a way to configure the server type or something unique to a group of servers in the log message? I've set the name_format to "user" and name to be a unique string but this one only shows up in the audit logs but not in the rsyslog. I've listed the audit and rsyslog messages below.
audit: node=TEST_SRVR type=USER_END msg=audit(xxx.xx:2719): user pid=7589 uid=0 auid=0 ses=394 subj=system_u:system_r:crond_t:s0-s0:c0.c1023 msg='op=PAM:session_close acct="root" exe="/usr/sbin/crond" hostname=? addr=? terminal=cron res=success'
Central rsyslog: XXX:audispd user x.x.x.x Oct 23 15:55:02 6 node=x.x.x.x type=USER_END msg=audit(xxx.xx:2719): user pid=7589 uid=0 auid=0 ses=394 subj=system_u:system_r:crond_t:s0-s0:c0.c1023 msg='op=PAM:session_close acct="root" exe="/usr/sbin/crond" hostname=? addr=? terminal=cron res=success'
Value of "node" is different in the two logs. Is there a way to replace "audispd user" with a unique string?
Thanks.