Comments (1)
This issue was mentioned in this discuss topic.
The error is in the pattern CISCOFW302013_302014_302015_302016
in the firewalls
pattern file.
The part that should extract the source.user.name
is wrong.
It is now:
(?:\(%{DATA:[source][user][name?]}\))
And it should be changed to:
(?:\(%{DATA:[source][user][name]}\))
I was able to replicate the issue in 8.2.3
and changing the pattern file solved it.
Sample message tested (sample for ASA-6-302016
)
"Teardown UDP connection 89517928 for ingress_interface:10.0.0.15/61541(some.username) to egress_interface:192.168.0.20/53 duration 0:00:00 bytes 116 (some.username)"
Result after changing the pattern file:
{
"cisco" => {
"asa" => {
"connection_id" => "89517928",
"network" => {
"transport" => "UDP"
},
"duration" => "0:00:00",
"outcome" => "Teardown"
}
},
"message" => "Teardown UDP connection 89517928 for ingress_interface:10.0.0.15/61541(some.username) to egress_interface:192.168.0.20/53 duration 0:00:00 bytes 116 (some.username)",
"@version" => "1",
"@timestamp" => 2022-06-17T14:00:59.337891Z,
"event" => {
"original" => "Teardown UDP connection 89517928 for ingress_interface:10.0.0.15/61541(some.username) to egress_interface:192.168.0.20/53 duration 0:00:00 bytes 116 (some.username)"
},
"observer" => {
"ingress" => {
"interface" => {
"name" => "ingress_interface"
}
},
"egress" => {
"interface" => {
"name" => "egress_interface"
}
}
},
"source" => {
"user" => {
"name" => "some.username"
},
"ip" => "10.0.0.15",
"port" => 61541
},
"destination" => {
"ip" => "192.168.0.20",
"port" => 53
},
"network" => {
"bytes" => 116
},
"host" => {
"hostname" => "elk-lab"
}
}
I can make a PR with this change.
from logstash-patterns-core.
Related Issues (20)
- Logstash plugins create events breaking ECS
- Apache HTTP v2 Error Logs LOGLEVEL may contain trailing integers
- Grok Filter Application HOT 1
- Field agent collides with filebeat agent field in grok COMBINEDAPACHELOG pattern
- HTTPD24_ERRORLOG fails if module not present HOT 1
- I am not not able to use GROK pattern for my new logs .KindlyHelp HOT 1
- Implement ECS-Compatibility Mode
- Can you help me to write grok pattern for this log, please? HOT 1
- Event created using CISCO_TAGGED_SYSLOG fails date_time_parse_exception HOT 2
- CLOUDFRONT_ACCESS_LOG pattern fails to match CloudFront logs HOT 3
- Scope ID in IPv6
- grok patterns for firewall checkpoint helpme! HOT 1
- new Grok Pattern to match multiline strings, e.g. Stacktraces
- patterns/{ecs-v1,legacy}/grok-patterns: SYSLOGFACILITY pattern is misleading HOT 1
- grok pattern IPTABLES does not always match HOT 3
- Add a new pattern into grok for Chinese style timestamp HOT 2
- CISCOFW106006_106007_106010 not matching HOT 1
- HTTPDUSER pattern does not match for empty user for standard apache log, generates grokparsefailure
- HTTPD24_ERRORLOG fails in if enabling loglevel between trace1 and trace8, due to number in loglevel
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from logstash-patterns-core.