Skip to content

Commit 57611c5

Browse files
use source instead of destination
1 parent 84a77c7 commit 57611c5

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

packages/cisco_asa/data_stream/log/_dev/test/pipeline/test-asa.log-expected.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22829,10 +22829,6 @@
2282922829
},
2283022830
{
2283122831
"@timestamp": "2023-01-11T13:34:06.000Z",
22832-
"destination": {
22833-
"address": "192.168.124.24",
22834-
"ip": "192.168.124.24"
22835-
},
2283622832
"ecs": {
2283722833
"version": "8.11.0"
2283822834
},
@@ -22873,6 +22869,10 @@
2287322869
"192.168.124.24"
2287422870
]
2287522871
},
22872+
"source": {
22873+
"address": "192.168.124.24",
22874+
"ip": "192.168.124.24"
22875+
},
2287622876
"tags": [
2287722877
"preserve_original_event"
2287822878
]

packages/cisco_asa/data_stream/log/elasticsearch/ingest_pipeline/default.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ processors:
358358
tag: parse_111007
359359
field: "message"
360360
description: "111007"
361-
pattern: "Begin configuration: %{destination.address} %{}"
361+
pattern: "Begin configuration: %{source.address} %{}"
362362
- grok:
363363
if: "ctx._temp_.cisco.message_id == '111009'"
364364
tag: parse_111009

0 commit comments

Comments
 (0)