---
id: cisco-asa
title: Cisco ASA App
sidebar_label: Cisco ASA
description: The Cisco ASA App gives you insight into website visitor patterns, monitors infrastructure operations, and provides easy access to threat monitoring.
slug: /help/docs/integrations/security-threat-detection/cisco-asa/
canonical: https://www.sumologic.com/help/docs/integrations/security-threat-detection/cisco-asa/
---
import useBaseUrl from '@docusaurus/useBaseUrl';
The Cisco ASA App gives you insight into website visitor patterns, monitors infrastructure operations, and provides easy access to threat monitoring. The App uses a predefined parser, searches, and Dashboards which provide visibility into your environment for analysis of overall usage and threats. The Cisco ASA App consists of the following main categories:
* Connection statistics
* Outbound connections
* Denied connections
## Log types
The Cisco ASA App assumes logs from the Cisco Adaptive Security Appliance (ASA) firewall product.
### Sample log messages
```json
Tue Aug 15 23:30:09 %ASA-6-302016: Teardown UDP connection 40 for outside:44.44.4.4/500 to inside:44.44.2.2/500 duration 0:02:02 bytes 1416
```
## Configuring Log Collection for the Cisco ASA App
This section provides instructions for configuring log collection for the Cisco ASA App, as well as a sample log and field extraction rule.
To configure log collection, do the following:
1. Configure your ASA to send its logs to a syslog server. ASA sends syslog on UDP port 514 by default, but you can set the protocol and port.
2. Configure an [Installed Collector](/docs/send-data/installed-collectors) appropriate for right for your host environment.
3. Configure a [Syslog Source](/docs/send-data/installed-collectors/sources/syslog-source) to the same port and protocol used by your ASA.
### Field Extraction Rule
This Field Extraction Rule (FER) is provided as an example to help you reduce your overall parsing time. Note that not all parse operators are supported in FERs. For more information, see [Creating a Field Extraction Rule](/docs/manage/field-extractions/create-field-extraction-rule).
There is a 200 field name limit for Field Extraction Rules (FER) and once a field is persisted using a FER, it can’t be removed. You can assign different targets to the name, but do not create overlapping messages and source categories.
Click to expand
```sumo
| parse regex "(?TCP|tcp|UDP|udp|ICMP|icmp)" nodrop
| parse regex "%[\w-]+(?\d)-(?\d{6})" nodrop
| parse regex "bytes\s(?\d*)" nodrop
| parse regex "(?[i|I]nbound|[O|o]utbound)" nodrop
| parse regex "(?:\(type\s(?[^,]+),\scode\s(?[^\)]+)\))?\s+by\s+access-group\s+\"\+(?[^\"]+)" nodrop
| parse regex "(?i)icmp\s*type=(?\d+)" nodrop
| parse regex "\d{2}:\d{2}:\d{2}(?:\-\d{2}:\d{2})?\s(?[^\s]+)" nodrop
| parse regex "(?(?:[0-9A-Fa-f]{1,4}:(?:[0-9A-Fa-f]{1,4}:(?:[0-9A-Fa-f]{1,4}:(?:[0-9A-Fa-f]{1,4}:(?:[0-9A-Fa-f]{1,4}:[0-9A-Fa-f]{0,4}|:[0-9A-Fa-f]{1,4})?|(?::[0-9A-Fa-f]{1,4}){0,2})|(?::[0-9A-Fa-f]{1,4}){0,3})|(?::[0-9A-Fa-f]{1,4}){0,4})|:(?::[0-9A-Fa-f]{1,4}){0,5})(?:(?::[0-9A-Fa-f]{1,4}){2}|:(?:25[0-5]|(?:2[0-4]|1[0-9]|[1-9])?[0-9])(?:\.(?:25[0-5]|(?:2[0-4]|1[0-9]|[1-9])?[0-9])){3})|(?:(?:[0-9A-Fa-f]{1,4}:){1,6}|:):[0-9A-Fa-f]{0,4}|(?:[0-9A-Fa-f]{1,4}:){7}:)/(?:\d+)\)\s(?to|dst)\s" nodrop
| parse regex "\s+(?:to|dst(?! user)) (?:(?\S+):)[\w-]*?(?\d{1,3}\.\d{1,3}.\d{1,3}.\d{1,3})(?:\/(?\d+))?\s*(?:\(?(?\d{1,3}\.\d{1,3}.\d{1,3}.\d{1,3})?\/?(?\d+)?\))?\s*(?:\((?:(?[\S^\\]+)\\)?(?[\w\-_]+)\))?" nodrop
| parse regex "\s(?:for|from|src)\s+(?:(?\S+):)?(?[\d\.]+)\/(?\d+)\s+(?:to|dst)\s+(?:(?[^:]+):)?(?[\d\.]+)\/(?\w+)\s+" nodrop
| parse regex "\s+[Aa]ddress\s*(?\d{1,3}\.\d{1,3}.\d{1,3}.\d{1,3})(?:/(?\d+))?\s*[Dd]iscovered\s*for\s*domain\s*(?[\S]+)" nodrop
| parse regex "\s+(?:to|dst(?! user)) (?:(?[^\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?:(?::[0-9A-Fa-f]{1,4}){2}|:(?:25[0-5]|(?:2[0-4]|1[0-9]|[1-9])?[0-9])(?:\.(?:25[0-5]|(?:2[0-4]|1[0-9]|[1-9])?[0-9])){3})|(?:(?:[0-9A-Fa-f]{1,4}:){1,6}|:):[0-9A-Fa-f]{0,4}|(?:[0-9A-Fa-f]{1,4}:){7}:)(?:\/(?\S+))?\s*" nodrop
| parse regex "\s\->\s(?:(?\S+)\/)?(?(?:[0-9A-Fa-f]{1,4}:(?:[0-9A-Fa-f]{1,4}:(?:[0-9A-Fa-f]{1,4}:(?:[0-9A-Fa-f]{1,4}:(?:[0-9A-Fa-f]{1,4}:[0-9A-Fa-f]{0,4}|:[0-9A-Fa-f]{1,4})?|(?::[0-9A-Fa-f]{1,4}){0,2})|(?::[0-9A-Fa-f]{1,4}){0,3})|(?::[0-9A-Fa-f]{1,4}){0,4})|:(?::[0-9A-Fa-f]{1,4}){0,5})(?:(?::[0-9A-Fa-f]{1,4}){2}|:(?:25[0-5]|(?:2[0-4]|1[0-9]|[1-9])?[0-9])(?:\.(?:25[0-5]|(?:2[0-4]|1[0-9]|[1-9])?[0-9])){3})|(?:(?:[0-9A-Fa-f]{1,4}:){1,6}|:):[0-9A-Fa-f]{0,4}|(?:[0-9A-Fa-f]{1,4}:){7}:)\((?\d*)\)" nodrop
| parse regex "%ASA-\d-400\d+\sIPS:(?\d{4})\s(?.*)\sfrom" nodrop
| parse regex "access[\s-]group\s[\(\"]?(?[^\s\"\)]+)" nodrop
| parse regex "(?\d{1,3}\.\d{1,3}.\d{1,3}.\d{1,3})\s+(?\S+)\s+(?:url|URL)\s+(?\d{1,3}\.\d{1,3}.\d{1,3}.\d{1,3})\s*:\s*(?\S*)" nodrop
| parse regex "threat-level\s*:\s*(?[^\s,]+)[\s,]+category\s*:\s*(?[^\s,]+)" nodrop
| parse regex "(?[Aa]uthentication [Ss]ucceeded|[Aa]uthorization [Pp]ermitted|authentication Successful|passed authentication|Login permitted|Authentication failed|Authorization denied|cannot find authorization|Authentication Failed|authentication Rejected|credentials rejected|Authentication:Dropping|login warning|login failed|failed authentication|[Cc]onnection denied|Deny inbound|Deny|Terminating|action locally|Unable to Pre-allocate|denied\s[tcp|udp|icmp]+|access denied|access requested|access permitted|limit exceeded|Dropped|Dropping|[B|b]uilt|[pP]ermitted|whitelisted|Pre-allocated|Rebuilt|redirected|discarded)" nodrop
| parse regex "(?Teardown\s[A-Z]{3,4})\sconnection" nodrop
| parse regex "%ASA-\d-\d+: (?.+)" nodrop
| parse regex "\sconnection (?\d+)" nodrop
| parse regex "access-list (?[^\s]+)" nodrop
| parse regex "[Dd]uration:?\s*(?:(?\d+)[dD])?\s*(?\d+)[Hh]?:(?\d+)[Mm]?:(?\d+)[Ss]?" nodrop
| parse regex "[Gg]roup\s+(?:=\s+)?(?[^\s,]+)" nodrop
| parse regex "User <(?\S+)>" nodrop
| parse regex "IP <(?\d{1,3}\.\d{1,3}.\d{1,3}.\d{1,3})>" nodrop
| parse regex "[Tt]unnel[Gg]roup\s+(?:=\s+)?(?[^\s,]+)" nodrop | parse regex "Bytes xmt: (?\d+), Bytes rcv: (?\d+), Reason: (?.+)" nodrop
| parse regex "Authentication: (?\S+)," nodrop
| parse regex "Session Type: (?\S+)," nodrop
| parse regex "user-identity: (?Add|Delete) (?:\S+) mapping (?\d{1,3}\.\d{1,3}.\d{1,3}.\d{1,3}) - (?\S+) (?\S+) - (?.+)" nodrop
| parse regex "[Aa]ddress\s\(?\d{1,3}\.\d{1,3}.\d{1,3}.\d{1,3})\>?\s" nodrop
| parse regex "DAP: User (?\S+), Addr (?\d{1,3}\.\d{1,3}.\d{1,3}.\d{1,3})" nodrop
| parse regex "Connection (?\S+), (?.+)" nodrop
| parse regex "acl\s*=\s*(?[^,\s\)]+)" nodrop
| parse regex "[gG]roup\s*=\s*(?[^,\s\)]+)" nodrop
| parse regex "(?:[uU]sername|[uU]ser)\s*=\s*(?[^,\s\)]+)" nodrop
| parse regex "msgid\s*=\s*(?[^,\s\)]+)" nodrop
| parse regex "[Oo]utbound\s+\S+\s+connection\s+\d+\s+for\s+\S+\s*:\s*(?[^\s\/\(]+)(?:\/(?\w+))?(?:\((?\S+)\))?\s*\(?(?[^\s\/\(]+)?\/?(?\d+)?\)?\s+to\s+[^:]+:\s*(?[^\s\/\(]+)(?:\/(?\w+))?(?:\((?\S+)\))?\s*\(?(?[^\s\/\(]+)?\/?(?\d+)?\)?"
```
## Installing the Cisco ASA app
import AppInstall2 from '../../reuse/apps/app-install-v2.md';
## Viewing Cisco ASA dashboards
import ViewDashboards from '../../reuse/apps/view-dashboards.md';
### Overview
**Outbound Destinations.** A geolocation query tracks the number of outbound connection and displays their destinations on a map of the world. Results are displayed for the last hour. Click **Show in Search** to see more details of the query results.
**Denied Connections by Location.** Uses a geolocation query to track the number of denied connections and displays their destinations on a map of the world. Results are displayed for the last hour. Click **Show in Search** to see more details of the query results.
**Total Denied Sources.** Displays the total number of denied Sources as a single value chart for the last hour.
**Bandwidth Served.** Shows the amount of bandwidth served as a single value chart for the last hour.
### Firewall Detail
**Connections Over Time.** Provides information on inbound, outbound, and denied connections over the past hour in increments of five minutes in a stacked area chart.
**Protocol Distribution Over Time.** Displays data on the connection protocols being used, including GRE, UDP, and TCP, over the past hour in increments of five minutes. Displayed in a column chart.
**Bandwidth Served in MBytes.** Shows the bandwidth served in megabytes over the last hour in five-minute increments.
**Most Severe Messages.** Displays the top five most severe message alerts and their count over the last hour.
**Outbound Destinations.** A geolocation query tracks the number of outbound connection and displays their destinations on a map of the world. Results are displayed for the last hour. Click **Show in Search** to see more details of the query results.
**Outbound Connections Over Time.** Provides details on the number of outbound connections by country over the past hour in increments of five minutes.
**Outbound Connections to High Risk Countries.** Displays the number of outbound connections by country to countries considered high risk over the last hour in five-minute increments.
**Denied Connections by Location.** Uses a geolocation query to track the number of denied connections, and displays their destinations on a map of the world. Results are displayed for the last hour. Click **Show in Search** to see more details of the query results.
**Top Denied Sources.** Lists the top five denied sources by IP address over the last hour.
**Top Denying ACLs.** Displays the top ten denying ACL connections over the last hour in a bar chart.
### Logs Analytics
**Count of ASA Logs by LogLevel.** Displays the logs by LogLevel and Severity.
**Count by Severity Code.** Displays the logs by Severity Code.
**Parameterized Search.** Log Details with counts.
## Upgrade/Downgrade the Cisco ASA app (Optional)
import AppUpdate from '../../reuse/apps/app-update.md';
## Uninstalling the Cisco ASA app (Optional)
import AppUninstall from '../../reuse/apps/app-uninstall.md';