Forum Discussion
Pierrot_72229
Dec 14, 2011Nimbostratus
Template format of syslog event
Hi all, I'm lookin to change the template of syslog event. Currently, we have : template t_commontmpl { template("<$PRI> $DATE local/$HOST $PRIORITY $MSG\n"); tem...
jsgibbs1
Mar 23, 2016Nimbostratus
Several years after the original post and I'm faced with a similar issue, but on 11.6 HF5. I need to modify the template to include the internalID statement below?
Original:
template t_commontmpl {
template("<$PRI> $DATE local/$HOST $PRIORITY $MSG\n");
template_escape(no);
};
New:
template t_commontmpl {
template("<$PRI> $DATE local/$HOST $PRIORITY $MSG\n");
template_escape(no);
internalID:xxxxxxxxxxxxxx\n";
};
Does anyone know how to make this change using tmsh, since that is the suggesed way to do this according to the warning at the top of the file when attempting to vi /etc/syslog-ng/syslog-ng.conf directly?
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects