Forum Discussion
Techgeeeg_28888
Nimbostratus
Oct 15, 2014Logging the request coming to a Virtual Server
Hi Everyone,
I want to record each and every hit on my Virtual Server. It want the hit log to be sent to my Syslog server. I have configured the Syslog IP under the "Remote Logging" configuratio...
Kevin_Davies_40
Nacreous
Oct 15, 2014It does not log hits by default. You need an iRule for that. Attach this to your virtual server. This will log to syslog.
when CLIENT_ACCEPTED {
log local0. "Client [IP::client_addr] accessed [virtual]"
}
But high speed logging is what you need for production. Define a pool with log server(s) in it.
when CLIENT_ACCEPTED {
set hsl [HSL::open -proto UDP -pool syslog_server_pool]
HSL::send $static::hsl "<190> Client [IP::client_addr] accessed [virtual]\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