

# Query Amazon Network Firewall logs
<a name="querying-network-firewall-logs"></a>

Amazon Network Firewall is a managed service that you can use to deploy essential network protections for your Amazon Virtual Private Cloud instances. Amazon Network Firewall works together with Amazon Firewall Manager so you can build policies based on Amazon Network Firewall rules and then centrally apply those policies across your VPCs and accounts. For more information about Amazon Network Firewall, see [Amazon Network Firewall](https://www.amazonaws.cn/network-firewall/).

You can configure Amazon Network Firewall logging for traffic that you forward to your firewall's stateful rules engine. Logging gives you detailed information about network traffic, including the time that the stateful engine received a packet, detailed information about the packet, and any stateful rule action taken against the packet. The logs are published to the log destination that you've configured, where you can retrieve and view them. For more information, see [Logging network traffic from Amazon Network Firewall](https://docs.amazonaws.cn/network-firewall/latest/developerguide/firewall-logging.html) in the *Amazon Network Firewall Developer Guide*.

**Topics**
+ [Create and query a table for alert logs](querying-network-firewall-logs-sample-alert-logs-table.md)
+ [Create and query a table for netflow logs](querying-network-firewall-logs-sample-netflow-logs-table.md)