Forum Discussion
samstep
Cirrocumulus
Apr 29, 2008write to syslog using iControl?
Hi all,
I have searched through iControl documentation however was unable to find an answer to my question:
How do I write stuff to the box's syslog using iControl?
Is there a call anywhere like this: iControl.Syslog("local0","My text to appear in syslog")????
- Mohamed_Lrhazi1Historic F5 AccountIt does not seem like you there is a way to execute arbitrary commands on the bigIP via icontrol, if there was, then you would run the logger command to inject messages into syslog.
- That is correct, at this time there is no way to issue commands on the BIG-IP. We've abstracted system commands through the APIs for security reasons and have not yet had a request to support syslog messages directly through the API.
when RULE_INIT { log local0. "LOG SOMETHING HERE" }
- samstep
Cirrocumulus
Joe, thanks for the iRule workaround to my problem.
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