Skip to content

Commit 9548236

Browse files
committed
fix dissect pattern to fit correctly
1 parent 09c8849 commit 9548236

2 files changed

Lines changed: 19 additions & 2 deletions

File tree

x-pack/filebeat/module/cisco/asa/test/additional_messages.log-expected.json

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4296,11 +4296,28 @@
42964296
"related.hosts": [
42974297
"dev01"
42984298
],
4299+
"related.ip": [
4300+
"1.2.3.4"
4301+
],
4302+
"related.user": [
4303+
"test_user"
4304+
],
42994305
"service.type": "cisco",
4306+
"source.address": "1.2.3.4",
4307+
"source.geo.city_name": "Moscow",
4308+
"source.geo.continent_name": "Europe",
4309+
"source.geo.country_iso_code": "RU",
4310+
"source.geo.country_name": "Russia",
4311+
"source.geo.location.lat": 55.7527,
4312+
"source.geo.location.lon": 37.6172,
4313+
"source.geo.region_iso_code": "RU-MOW",
4314+
"source.geo.region_name": "Moscow",
4315+
"source.ip": "1.2.3.4",
43004316
"tags": [
43014317
"cisco-asa",
43024318
"forwarded"
4303-
]
4319+
],
4320+
"user.name": "test_user"
43044321
},
43054322
{
43064323
"cisco.asa.destination_interface": "inside",

x-pack/filebeat/module/cisco/shared/ingest/asa-ftd-pipeline.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -656,7 +656,7 @@ processors:
656656
if: "ctx._temp_.cisco.message_id == '713049'"
657657
field: "message"
658658
description: "713049"
659-
pattern: "Group = %{}, Username = %{user.name}, IP = %{source.address}, Security negotiation complete for LAN-to-LAN Group (%{}) %{}, Inbound SPI = %{}, Outbound SPI = %{}"
659+
pattern: "Group = %{}, Username = %{user.name}, IP = %{source.address}, Security negotiation complete for User (%{}) %{}, Inbound SPI = %{}, Outbound SPI = %{}"
660660
ignore_failure: true
661661
- grok:
662662
if: "ctx._temp_.cisco.message_id == '716002'"

0 commit comments

Comments
 (0)