Cisco ASA Syslog Messages: Format, Message IDs and Examples
Published
One syslog line per message: a %ASA-level-ID tag, then free text whose layout depends on the message ID — a connection built or torn down, a packet denied by an access list, a VPN negotiation step, a blacklist hit. The ID tells you which documented format the rest of the line follows.
Official documentation: Cisco: Secure Firewall ASA Series Syslog Messages · Cisco: Syslog Messages 101001 to 199021 · Cisco: Identifying Incidents Using Firewall and IOS Router Syslog Events
Sample record
Jan 15 2024 09:00:01 asa-fw-01 : %ASA-6-302013: Built inbound TCP connection 12345 for outside:203.0.113.10/52100 (203.0.113.10/52100) to inside:10.0.0.50/443 (10.0.0.50/443)
Jan 15 2024 09:00:10 asa-fw-01 : %ASA-6-302014: Teardown TCP connection 12345 for outside:203.0.113.10/52100 to inside:10.0.0.50/443 duration 0:00:05 bytes 4521 TCP FINs From the LogTriage parser test corpus — synthetic data, no real hosts or users.
Field reference
| Field | Type | Meaning | Why it matters for security |
|---|---|---|---|
| %ASA-6-302013e.g. Built inbound TCP connection 12345 | message | Cisco: "A TCP connection slot between two hosts was created." The line gives the connection ID, direction and both ends, each as interface:real-address/port with the NAT-mapped address in parentheses. | The start of every allowed TCP session; join it to its 302014 teardown by the connection ID to get duration and bytes. |
| %ASA-6-302014e.g. duration 0:00:05 bytes 4521 TCP FINs | message | Cisco: "A TCP connection between two hosts was deleted." Adds the duration, the bytes transferred and why the connection ended (TCP FINs, a reset, an idle timeout). | Bytes and duration per connection are what reveal large transfers and long-lived beacons; a teardown reason of a reset from the inside can be a service refusing a probe. |
| %ASA-6-302015e.g. Built inbound UDP connection 12347 | message | Cisco: "A UDP connection slot between two hosts was created." | Inbound UDP to DNS, NTP or SNMP from the internet is a common amplification or reconnaissance target. |
| %ASA-5-713120e.g. PHASE 2 COMPLETED | message | Cisco: "IKE Phase 2 has completed successfully." The line names the tunnel group, the user name and the peer address. | A successful VPN tunnel for a user from an address or country they never use is the first thing to check after password guessing against the VPN. |
| %ASA-2-106001e.g. Inbound TCP connection denied from 185.220.101.42/54321 to 10.0.0.50/22 flags SYN on interface outside | message | Cisco: "An attempt was made to connect to an inside address is denied by the security policy that is defined for the specified traffic type. The IP address displayed is the real IP address instead of the IP address that appears through NAT." | One line is background noise on an internet-facing firewall; count them per source address over a window to find scans and repeated attempts on one service. |
| %ASA-4-106023e.g. by access-group "outside_access_in" | message | Cisco: "A real IP packet was denied by the ACL. This message appears even if you do not have the log option enabled for an ACL." The line names the protocol, both ends and the access group that denied it. | The access group tells you which rule set stopped the packet; many denies from one address across ports is a port scan. |
| %ASA-3-106014e.g. Deny inbound icmp | message | Cisco: "The Secure Firewall ASA denied any inbound ICMP packet access. By default, all ICMP packets are denied access unless specifically allowed." Type 8 is an echo request (ping). | Echo requests to many inside addresses are a ping sweep. |
| %ASA-2-106016e.g. Deny IP spoof from (185.220.101.42) to 10.0.0.50 on interface outside. | message | Cisco: the firewall "discarded a packet with an invalid source address" — or one addressed to 0.0.0.0 on its own interface MAC. | Spoofed sources on the outside interface point to scanning tools that forge addresses, or to a routing mistake. |
| %ASA-4-338005e.g. source malicious address resolved from dynamic list: scan-node.example, threat-level: very-high, category: Botnet | message | Botnet Traffic Filter: "Dynamic filter dropped blacklisted protocol traffic" whose source address is on the blacklist. Carries the list entry, its threat level and category. | Inbound traffic from known botnet infrastructure that the filter stopped; check whether other connections from the same address got through. |
| %ASA-4-338006e.g. destination malicious address resolved from dynamic list: c2-relay.example, threat-level: very-high, category: Malware | message | Botnet Traffic Filter: the same, when the destination address is on the blacklist — an inside host connecting out to a listed address. | The more serious of the pair; the inside address started the connection, so treat that host as likely infected and pull its process and DNS activity. |
Have one of your own records? Paste it into the log line explainer and each field is explained from this table, with times, codes and addresses decoded — in your browser.
What it records
An ASA log line is a syslog header followed by a tag such as %ASA-4-106023 and free text. The tag is the whole schema: 4 is the severity and 106023 the message ID, and Cisco’s syslog message guide gives one fixed format per ID. To read a line, look the ID up; the rest of the text then has known positions for the addresses, ports, interfaces and reasons.
The messages fall into a few families. Connections: 302013 and 302015 when a TCP or UDP connection is built, 302014 when it is torn down with its duration and bytes. Denies: 106001 for an inbound TCP connection the policy refused, 106023 for a packet an access list dropped, 106014 for inbound ICMP, 106016 for a spoofed source. VPN: the 713xxx IKE messages, such as 713120 when phase 2 completes for a user. Threat detection: the Botnet Traffic Filter’s 338xxx messages, which carry a threat level and a category. The malicious sample on this page has denied SSH attempts, an access-list deny, a ping, a spoofed packet and two blacklist drops — one inbound from a botnet address, one outbound from an inside host to a malware address.
Where to get it
- Syslog.
logging hostsends messages to a collector;logging trapsets the lowest severity sent. Allowed connections are severity 6, so a trap level of warnings drops them before they leave the device. - The device buffer.
show loggingreads the in-memory buffer, which is small and overwritten quickly — useful for a live check, not for an investigation days later. - ASDM. The real-time log viewer filters by ID, address and severity, and can save what it shows.
- FTD. Devices managed by Firepower Management Center send the same family of messages with an
%FTD-prefix; connection and intrusion events can also go to the management center instead of syslog.
Parsing pitfalls
- One format per message ID. There is no key=value structure. Write a pattern per ID you care about, or use a parser that has them, and treat everything else as text.
- The severity digit varies.
logging message <id> level <n>changes it per message, so%ASA-2-106016on one device can be%ASA-4-106016on another. Match on the ID. - Real and mapped addresses. Connection messages give both; deny messages give the real address. Mixing them up merges unrelated hosts behind NAT.
- No year, no zone. Depending on the
logging timestampsetting the header can lack a year or carry a non-UTC time; the samples here useJan 15 2024 09:00:01, others have onlyJan 15 09:00:01. %FTD-lines. Accept both prefixes; the message IDs and formats are largely shared.
Detection ideas
- Blacklist hits: any
33800xmessage at threat level high or very-high, especially338002/338006where the bad address is the destination. The Botnet Traffic Filter rule covers both directions. - Scanning: many
106001or106023denies from one source across ports or across inside addresses within minutes;106014echo requests to many hosts. - Exposed services:
302013builds from internet addresses to inside ports 22, 3389 or 445 mean the policy allows them. - VPN abuse:
713xxxsuccesses for a user from an address that earlier produced IKE or authentication failures. - Data leaving:
302014teardowns with large byte counts from an inside host to an address with no business reason, or very long durations to one destination.
The free browser analyzer reads ASA and FTD syslog and runs these checks locally, and the log line explainer explains a single message, including its ID.
Sending Cisco ASA / FTD to an LLM
One megabyte of this format is about 560,442 tokens on current Claude models and 440,100 on GPT models, measured with the models' own tokenizers — so a gigabyte sent raw to Claude Sonnet 5.5 costs about $1,121 in input tokens alone (prices of 2026-10-24). Estimate your own volume →
Detections and guides for Cisco ASA / FTD
Frequently Asked Questions
- What does the number in %ASA-4-106023 mean?
- The digit after %ASA- is the severity, from 0 (emergencies) to 7 (debugging), and the six digits are the message ID. The ID decides the text that follows: Cisco documents one format per ID. The severity shown is the message's default unless an administrator changed it with the logging message command, so match on the ID, not on the whole prefix.
- Why does a line show two addresses for each side?
- Connection messages such as 302013 write interface:address/port and then, in parentheses, the address after NAT. The first is the real address on that interface; the one in parentheses is what the other side saw. Deny messages such as 106001 and 106023 give the real address only, as Cisco notes for each of them.
- Are FTD messages different?
- Firepower Threat Defense devices write many of the same messages with an %FTD- prefix instead of %ASA-, plus their own connection, intrusion and file events in the 430000 range. A parser that only accepts %ASA- will silently skip an FTD device's logs.
- How do I get the allowed connections into my SIEM?
- Connection messages (302013 to 302016) are severity 6, informational. If the syslog destination is set to send warnings or worse, they never leave the firewall and only denies arrive. Set the logging trap level to informational for the destination, or raise those messages explicitly, if you need allowed traffic.
Analyze a Cisco ASA / FTD file in your browser
The free analyzer detects this format, parses every field above and flags attack patterns — the file never leaves your machine. For threat-intel enrichment and an AI-written incident report, run it through LogTriage.
Investigating something right now? LogTriage checks every address in the file against threat intelligence and writes the incident report: 10 analyses a month free. The incident pack adds the in-depth AI analysis and files up to 100 MB: 25 analyses for $19, one payment, no subscription. Pricing
How this page was made. The official definitions, field names and examples on it are copied by script from the sources it links and re-checked against them on every build. The investigation advice was drafted with AI from those sources and passed a separate review before publishing. What is checked, and how · found a mistake? [email protected]