Forum Discussion
CraigM_17826
Jul 04, 2012Altocumulus
Ayyway 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...
hooleylist
Jul 04, 2012Cirrostratus
Hi 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
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