Forum Discussion
Help needed with iRule (connection closed log )
Hi,
Im troubleshooting a website which gives an Error Connection Reset error when requesting a page.
I want to create an iRule which logs this, and created the following iRule on the Virtual Server:
when CLIENT_CLOSED {
#log local0. "Connection reset by client: [IP::client_addr] - [HTTP::host] - [HTTP::uri]"
}
when SERVER_CLOSED {
#log local0. "Connection reset by server: [IP::client_addr] - [HTTP::host] - [HTTP::uri]"
}
However when I try to check the log files I dont see any messages shown.
Is there anything wrong with the iRule?
1 Reply
- Brandon
Cirrostratus
Remove #
when CLIENT_CLOSED {
log local0. "Connection reset by client: [IP::client_addr] - [HTTP::host] - [HTTP::uri]"
}
when SERVER_CLOSED {
log local0. "Connection reset by server: [IP::client_addr] - [HTTP::host] - [HTTP::uri]"
}
Recent Discussions
Related Content
* 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