Forum Discussion
Security Event logs - local locations
This seems like a really stupid question to have to ask, but I can't seem to find an answer in the documentation.
I am running Big-IP 11.5 with AFM provisioned. I am running a Security Network Firewall rule (global) with logging enabled.
For various reasons I want to look at the local log file on the Big-IP from the command line, but can not locate them.
Where are the Network Firewall logs located? If the different contexts have logs in different locations, I'd appreciate knowing where the firewall logs are for Global, Virtual Servers and Self-IP.
Thanks
- What_Lies_Bene1Cirrostratus
It seems you have to specifically configure logging, no doubt because the logs could be considerable. See here for full details: http://support.f5.com/kb/en-us/products/big-ip-afm/manuals/product/network-firewall-policies-implementations-11-3-0/6.html.
It seems logging can only be applied per virtual server.
- mike_rootvik_15Nimbostratus
Thanks for the response. As indicated in the original post, I do have logging enabled (it is using the local-db-publisher) and configured to log Network Firewall events. Which I can sucessfully view via the GUI.
What I am having issues with, is locating where these log entries are stored on Big-IP system, and how I can view them from the CLI.
- What_Lies_Bene1CirrostratusAhhh, I see, sorry. I see if I can find out, will probably be tomorrow.
- What_Lies_Bene1Cirrostratus
So, I've had a bit of a play. I think you'll find local syslog entries here: /shared/avr_afm.
However, unless you configure the local-db-publisher to also use the local syslog facility I doubt you'll see anything. You can configure this under System > Logs > Configuration > Log Publishers.
Let me know if this helps.
- mike_rootvik_15Nimbostratus
After crawling around the Big-IP for a while I discovered that the AFM rule loggin is written into the LTM log in /var/log/.
At least when loggin was configured to use the local-db-publisher.
- What_Lies_Bene1CirrostratusThanks Mike
- brahim94_11525Nimbostratus
Hi mike,
In wich file on /var/log/ AFM is logging ?
Thank you,
Best regards
- What_Lies_Bene1CirrostratusSee above. In particular note that you need to enable syslog logging otherwise log entries are written to a database that can only be view via the GUI.
- brahim94_11525Nimbostratus
Sorry I posted my question too quickly,
It's located on /var/log/ltm
Thk you
- What_Lies_Bene1CirrostratusLol. No worries.
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