Forum Discussion
CraigM_17826
Altocumulus
Jul 03, 2012Ayyway to have entries written to /var/log/ltm to a external syslog server?
Hi,
Our company has made the decision to move our various web sites into the cloud. Our cloud provider has given us a partition on some form of BigIP running ver 11. Even though we have "m...
hoolio
Cirrostratus
Jul 03, 2012Hi Craig,
You can log directly from an iRule using HSL::open or log remote. However, that won't capture runtime errors with iRules as those aren't generated from the iRule itself-but TMM. You could testing this to confirm. But I think you'll need to configure syslog-ng to log /var/log/ltm entries to your remote syslog server. You can check these articles for details:
HSL (10.1+)
https://devcentral.f5.com/wiki/iRules.hsl__open.ashx
log remote
https://devcentral.f5.com/Tutorials/TechTips/tabid/63/articleType/ArticleView/articleId/190/iRules-Update-New-options-for-the-log-command.aspx
You can also search on AskF5 for "remote syslog" for LTM to get instructions on how to configure syslog-ng for remote logging.
Aaron
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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