Forum Discussion
RobW
Nimbostratus
Jul 13, 2010syslog-ng
LTM v10.0.1
syslog-ng.conf contains the following template
sent messages will use this template
template t_commontmpl {
template("<$PRI> $DATE local/$HOST $PRIORITY $MSG\n");
template_escape(no);
};
I'm trying to modify this template getting rid of "local/$HOST" and insert a different macro $FULLHOST or $FULLHOST_FROM or $SOURCEIP.
When I execute the "b syslog include" command I get a BIGpipe parsing error
"012e0022:3 The requested value (<$PRI> $DATE is invalid (show | | none) for 'include' in 'syslog'"
What is the recommend F5 way to modify this statement?
Thanks
Rob
- RobW
Nimbostratus
Okay I figured out the solution, but first the problem. The ltms running v9 worked fine when redirecting the log files to the remote syslog server, which I have no control over. Each v9 system has a seperate log file on the syslog-ng server, no mode needed to be made to the syslog-ng.conf file on the v9 ltms. - Paul_Aurich
Employee
This include stanza has a typo on the second-to-last line (log_fifo_size). It should end with a semicolon, not a colon. The corrected version reads:bigpipe syslog include '"options { dir_perm(0755); perm(0644); chain_hostnames(no); use_fqdn(yes); keep_hostname(no); stats(0); log_fifo_size(2048); };"'
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