Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Filebeat][Cisco Module][ASA] Cisco ASA VPN logs ingest pipeline failure #32009

Closed
benedekmol opened this issue Jun 21, 2022 · 1 comment · Fixed by #32196
Closed

[Filebeat][Cisco Module][ASA] Cisco ASA VPN logs ingest pipeline failure #32009

benedekmol opened this issue Jun 21, 2022 · 1 comment · Fixed by #32196
Assignees

Comments

@benedekmol
Copy link

benedekmol commented Jun 21, 2022

Describe the enhancement:
When there is a security group tag in the incoming log messages filebeat's ingest pipeline is unable to parse the logs.

We are using ASA as a VPN device, therefor ASA logs contain security group tags which the ingest pipeline doesn't consider and the grok patterns fail on them. So the parsing is unsucsessful.

Filebeat 8.2.3
Pipeline: filebeat-8.2.3-cisco-asa-asa-ftd-pipeline

Example log:
<190>Jun 21 2022 11:47:08: %ASA-6-302015: Built inbound UDP connection <number> for outside:<IP1>/<PORT1> (<IP1>/<PORT1>)(LOCAL\<USER>, <SGT>) to inside:<IP2>/<PORT2> (<IP2>/<PORT2>) (<USER>)

Explanation:
For the example log would run this grok parser:
image

This "CISCO_USER" pattern needs to consider security group tags as well.

Suggestion GROK pattern:
"CISCO_USER": """((LOCAL\)?(%{HOSTNAME}\)?%{USERNAME}(@%{HOSTNAME})?(, %{NUMBER:SGT})?)"""

image

@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Jun 21, 2022
@benedekmol benedekmol changed the title [Filebeat][Cisco Module][ASA] Cisco ASA VPN logs [Filebeat][Cisco Module][ASA] Cisco ASA VPN logs ingest pipeline failure Jun 21, 2022
@elasticmachine
Copy link
Collaborator

Pinging @elastic/security-external-integrations (Team:Security-External Integrations)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants