Forum Discussion
TT_179079
Nimbostratus
Mar 16, 2018Irule to send client ip to SPLUNK Server
Hello All.
I am currently using "x-forwarded-for" to send client ip address to the backend server. But that doesn't really help our security team to have visibility on the client ip address or ...
Only1masterbla1
Cirrus
Mar 17, 2018You could use HSL (high speed logging) https://devcentral.f5.com/wiki/iRules.HSL.ashx https://devcentral.f5.com/wiki/iRules.HSL__send.ashx
example below:
when CLIENT_ACCEPTED { set hsl [HSL::open -proto UDP -pool syslog_server_pool] } when HTTP_REQUEST { Log HTTP request as local7.info; see RFC 3164 Section 4.1.1 - "PRI Part" for more info HSL::send $hsl "<190> [IP::local_addr] [HTTP::uri]\n" }
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