Forum Discussion
abi1980_184094
Nimbostratus
Apr 04, 2015hi
can anyone tell me the syntax to chek for i rule logs in f5
i have configured lrule to log local but am not sure ont he syntax on how to check the logs
Please help
Ed_Summers
Nimbostratus
Apr 04, 2015Are you asking how the log is formatted in /var/log/ltm? I created a very simple log rule to log text just to show how the log is formatted.
The following sample rule was applied to an HTTP virtual:
ltm rule logtest {
when HTTP_REQUEST {
log local0. "Test rule"
}
}
When the virtual is hit and rule triggered, the following log message appears in /var/log/ltm:
ltm 04-04 11:45:26 info lab-bigip1 tmm[15549]: Rule /Common/logtest : Test rule
Does that cover your question or are you looking for something additional?
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
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