Forum Discussion
Raj_Zucre_Ramir
Aug 30, 2010Nimbostratus
Syslog to Remote Server
Hi!
I want to send critical messages such as hardware failures and virtual servers down to the remote syslog server:
Could you please provide the exact syntax?
Example ...
George_Watkins_
Aug 30, 2010Historic F5 Account
Hi Raj,
There are a couple ways to do this. If you want to send everything to a remote syslog server you'll need to get a shell on the box and edit /etc/syslog-ng/syslog-ng.conf. You'll need to add this line to the log facility destination in question:
*.* @
If you need to do anything more complex, syslog-ng's configuration guide has details for expanding beyond the basic.
If you want to do it from an iRule for a specific event, you can follow the syntax laid out in this wiki article: http://devcentral.f5.com/wiki/default.aspx/iRules/log.html
Hope this helps. Happy logging!
-George
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