Forum Discussion
Adam_1421
Nimbostratus
Sep 16, 2009Duplicate syslog traffic to multiple destinations
Hi,
I have an appliance that only allows setting of one syslog destination, but I have multiple syslog servers. The current solution involves logging to a nearby server which then sends the message to the real servers, but the original source is lost.
I would like to figure out how I could use a VIP on the F5 (9.4.7) and have it duplicate the traffic to multiple destinations. Using clone pools appears to be out as it seems to preserve the original destination. My next thought was an iRule, capture the UDP::payload and send duplicate traffic out (UDP or TCP), but the TCL socket command is disabled.
Is there any other method of duplicating the traffic, or is time to log a feature request?
- hoolio
Cirrostratus
Hi Adam, - JRahm
Admin
The origin IP's could be inserted into the syslog messages if that's a possibility for you. - JRahm
Admin
Another possibility: log the messages directly to your servers, then discard:when RULE_INIT { Define Syslog Destinations set static::ls "10.10.20.49 10.10.20.247" } when CLIENT_ACCEPTED { foreach logserver $static::ls { log $logserver local0.info "[IP::client_addr] syslog message: [UDP::payload]" } discard }
- Adam_1421
Nimbostratus
This solution would be enough to get us over the initial hump. However as you say, if we migrated all our systems to this solution for consistency, we would run into scale issues. - Adam_1421
Nimbostratus
To follow up for anyone searching later. The development team have stated that they do not intend to add such a feature. - hoolio
Cirrostratus
Thanks for the info. Out of curiosity, did they explain why they wouldn't/couldn't support the duplication of traffic to multiple destinations? - Adam_1421
Nimbostratus
There was no explination given as to why there is no intention to add the feature. The suggestion is as follows - hoolio
Cirrostratus
I think your idea of proxying the syslog messages with syslog-ng might be easiest... - Ken_Bocchino_49Historic F5 AccountTake a look at the following iApp http://devcentral.f5.com/wiki/iApp.UDP-Packet-Duplication.ashx
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