Forum Discussion
6 Replies
Sort By
- hooleylistCirrostratusHi Bjoern,
- hooleylistCirrostratusHi Bjoern,
- lmwf1_55268Nimbostratusramann,
- ramann_75062Nimbostratushi,
- hooleylistCirrostratusYou would need to log from the iRule to a valid syslog-ng facility (local0. - local7). What you'd normally do is configure a custom syslog-ng filter and destination so that if the log string from the iRule matches the filter, the log statement would be written to the destination.
local0.info send logging entries to remote syslog server filter f_local0.info { facility(local0) and level(info) and match("logging"); }; destination can be a hostname or IP address destination d_logging { tcp("syslog.myhost.com" port (5000)); }; log { source(local); filter(f_local0.info); destination(d_logging); };
- ramann_75062NimbostratusNow it works - Thanks!