31-Oct-2019 08:24
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
31-Oct-2019
09:04
- last edited on
01-Jun-2023
14:04
by
JimmyPackets
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