forked from elastic/beats
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle brackets <> in Cisco ASA 722051 message (elastic#24410)
* <,> around IP address leads mapper_parsing_exception Example log for 722051: Mar 05 2021 23:37:14: %ASA-4-722051: Group <GroupPolicy_CompanyPush> User <john> IP <1.2.3.4> IPv4 Address <172.23.82.82> IPv6 address <::> assigned to session\0x0a The following is mapper excpetion. Adding the <,> literals in the dissect pattern solves the issue. { "error" : { "root_cause" : [ { "type" : "mapper_parsing_exception", "reason" : "failed to parse field [cisco.asa.assigned_ip] of type [ip] in document with id '11'. Preview of field's value: '<172.23.82.82>'" } ], "type" : "mapper_parsing_exception", "reason" : "failed to parse field [cisco.asa.assigned_ip] of type [ip] in document with id '11'. Preview of field's value: '<172.23.82.82>'", "caused_by" : { "type" : "illegal_argument_exception", "reason" : "'<172.23.87.37>' is not an IP string literal." } }, "status" : 400 } * Fix test logs for Cisco ASA 722051 * Add changelog Co-authored-by: Andrew Kroh <[email protected]>
- Loading branch information
1 parent
b3b9bfd
commit fbbd9ef
Showing
4 changed files
with
13 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters