Forum Discussion
Exporting iRule logs from ltm log file
Hi All,
How do I separate iRule logs from the other logs in the ltm log file?
To give a bit of background info... I had an initial request to log any source IP connecting to a particular VIP. I used this rule to log the IPs but underestimated how many connections there would be...so now about 80% of the ltm log file is irule logs.
Is there a way to grep on the event and write it to another file that I can then export?
Thanks
- Yoann_Le_Corvi1Cumulonimbus
Hi
Two easy ways :
1 - Prefix your logs with a specific string easily searcheable with "grep"
log local0. "[VIP-CONNECT-SRC] $ipmessage"
2 - Use HSL with a remote syslog
https://clouddocs.f5.com/api/irules/HSL__send.html
Yoann
Recent Discussions
Related Content
* 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