Unable to review logs for gateway firewall rules that have logging enabled since the firewallpkt.log file is not present in the edge nodes
VMware NSX
The issue of not being able to find the firewallpkt.log
file in the NSX Edge nodes may arise if the logging is not enabled for the intended rule(s) If logging is enabled but the log file is not created, it may indicate that no traffic has been processed by the firewall or the traffic is not hitting the intended rule. In this case, it is recommended to initiate some traffic and check for the creation of the log file. If the file still does not appear, performing a Traceflow is necessary to verify whether the traffic is hitting the firewall rules as expected. This will help identify if the issue lies within the firewall configuration or something else.
/var/log/
directory for the firewallpkt.log
file. Use the following command: