Forum Discussion
Exclude application request logging for single uri
Thank you for your response.
I don't currently have an iRule for it. I use the default "Log all requests" logging profile, and I wish to exclude a single uri in the application requests log. Ideas I've had so far include:
1) In the logging profile or policy, exclude logging altogether of single uri, or
2) By means of an iRule do something like:
if { [HTTP::uri] eq "/system/status.txt" } {
# disable logging
}
Looking at method 1, logging profile filtering is inclusive rather than exclusive, I'm not offered a "NOT" condition, so it seems to not be an option.
As for method 2, there seems to be no command in any scope, to prevent an entry in the application request log.
Just to be absolutely clear; I'm not referring to any logging using the log command, I'm only interested in whether I can manipulate what entries show up in Security ›› Event Logs : Application : Requests.
If it was up to me personally, I'd just log to file or send to a temporary syslog on my client. But because other people who are not too experienced with the product need to easily monitor this as well, I'd like to direct them to the Application Requests log.
I hope that made things clearer at least! 🙂
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