Skip to content

Commit 233d207

Browse files
authored
[zeek] Remove redundant event.ingested from zeek pipeline (#2503)
event.ingested is added by Fleet's final_pipeline so this was redundant. Also refresh the readme.
1 parent d695747 commit 233d207

File tree

119 files changed

+861
-1137
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

119 files changed

+861
-1137
lines changed

packages/zeek/_dev/build/docs/README.md

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,22 @@
11
# Zeek Integration
22

3-
This is an integration for Zeek, which used to be called Bro. It
4-
parses logs that are in the [Zeek JSON
5-
format](https://www.zeek.org/manual/release/logs/index.html).
3+
This is an integration for [Zeek](https://www.zeek.org/), which was formerly
4+
named Bro. Zeek is a passive, open-source network traffic analyzer. This
5+
integrations ingests the logs Zeek produces about the network traffic that it
6+
analyzes.
7+
8+
Zeek logs must be output in JSON format. This is normally done by appending the
9+
[json-logs policy](https://docs.zeek.org/en/lts/scripts/policy/tuning/json-logs.zeek.html)
10+
to your `local.zeek` file. Add this line to your `local.zeek`.
11+
12+
`@load policy/tuning/json-logs.zeek`
613

714
## Compatibility
8-
This module has been developed against Zeek 2.6.1, but is expected to
9-
work with other versions of Zeek.
15+
This module has been developed against Zeek 2.6.1, but is expected to work with
16+
other versions of Zeek.
1017

1118
Zeek requires a Unix-like platform, and it currently supports Linux,
12-
FreeBSD, and Mac OS X. Find out how to use Zeek [here](https://www.zeek.org/).
19+
FreeBSD, and Mac OS X.
1320

1421
## Logs
1522
### capture_loss

packages/zeek/changelog.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
11
# newer versions go on top
2+
- version: "1.5.4"
3+
changes:
4+
- description: Remove redundant event.ingested from Zeek pipelines.
5+
type: bugfix
6+
link: https://github.com/elastic/integrations/pull/2503
27
- version: "1.5.3"
38
changes:
49
- description: Ignore URI parse failures in zeek.http data.
510
type: bugfix
6-
link: https://github.com/elastic/integrations/pull/
11+
link: https://github.com/elastic/integrations/pull/2501
712
- version: "1.5.2"
813
changes:
914
- description: Regenerate test files using the new GeoIP database

packages/zeek/data_stream/capture_loss/_dev/test/pipeline/test-capture-loss.log-config.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
dynamic_fields:
2-
event.ingested: ".*"
31
fields:
42
"@timestamp": "2020-04-28T11:07:58.223Z"
53
tags:

packages/zeek/data_stream/capture_loss/_dev/test/pipeline/test-capture-loss.log-expected.json

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
}
1616
},
1717
"event": {
18-
"ingested": "2021-12-14T14:59:07.224983069Z",
1918
"original": "{\"ts\":1568132368.465338,\"ts_delta\":32.282249,\"peer\":\"bro\",\"gaps\":0,\"acks\":206,\"percent_lost\":0.0}",
2019
"type": "info",
2120
"created": "2020-04-28T11:07:58.223Z",
@@ -40,7 +39,6 @@
4039
}
4140
},
4241
"event": {
43-
"ingested": "2021-12-14T14:59:07.224985489Z",
4442
"original": "{\"ts\":1617062640.941952,\"ts_delta\":900.0005369186401,\"peer\":\"zeek\",\"gaps\":58475,\"acks\":65665,\"percent_lost\":89.05048351481003}",
4543
"type": "info",
4644
"created": "2020-04-28T11:07:58.223Z",
@@ -65,7 +63,6 @@
6563
}
6664
},
6765
"event": {
68-
"ingested": "2021-12-14T14:59:07.224985934Z",
6966
"original": "{\"ts\":1617063540.942231,\"ts_delta\":900.0002789497376,\"peer\":\"zeek\",\"gaps\":54754,\"acks\":61818,\"percent_lost\":88.5729075673752}",
7067
"type": "info",
7168
"created": "2020-04-28T11:07:58.223Z",
@@ -90,7 +87,6 @@
9087
}
9188
},
9289
"event": {
93-
"ingested": "2021-12-14T14:59:07.224986315Z",
9490
"original": "{\"ts\":1617064440.942597,\"ts_delta\":900.0003659725189,\"peer\":\"zeek\",\"gaps\":51022,\"acks\":57974,\"percent_lost\":88.00841756649533}",
9591
"type": "info",
9692
"created": "2020-04-28T11:07:58.223Z",
@@ -115,7 +111,6 @@
115111
}
116112
},
117113
"event": {
118-
"ingested": "2021-12-14T14:59:07.224986695Z",
119114
"original": "{\"ts\":1617065340.942651,\"ts_delta\":900.0000541210175,\"peer\":\"zeek\",\"gaps\":55105,\"acks\":62497,\"percent_lost\":88.17223226714883}",
120115
"type": "info",
121116
"created": "2020-04-28T11:07:58.223Z",
@@ -148,7 +143,6 @@
148143
}
149144
},
150145
"event": {
151-
"ingested": "2021-12-14T14:59:07.224987082Z",
152146
"original": "{\"ts\":1568132368.465338,\"ts_delta\":32.282249,\"peer\":\"bro\",\"gaps\":0,\"acks\":206,\"percent_lost\":0.0}",
153147
"type": "info",
154148
"created": "2020-04-28T11:07:58.223Z",

packages/zeek/data_stream/capture_loss/elasticsearch/ingest_pipeline/default.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,7 @@ processors:
1616
- rename:
1717
target_field: zeek.capture_loss
1818
field: _temp_
19-
- set:
20-
field: event.ingested
21-
value: "{{_ingest.timestamp}}"
19+
2220
# Sets event.created from the @timestamp field generated by filebeat before being overwritten further down
2321
- set:
2422
field: event.created

packages/zeek/data_stream/connection/_dev/test/pipeline/test-conn.log-config.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
dynamic_fields:
2-
event.ingested: ".*"
31
fields:
42
"@timestamp": "2020-04-28T11:07:58.223Z"
53
tags:

packages/zeek/data_stream/connection/_dev/test/pipeline/test-conn.log-expected.json

Lines changed: 18 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@
3838
},
3939
"event": {
4040
"duration": 76967000,
41-
"ingested": "2021-12-14T14:59:07.719052684Z",
4241
"original": "{\"ts\":1547188415.857497,\"uid\":\"CAcJw21BbVedgFnYH3\",\"id.orig_h\":\"192.168.86.167\",\"id.orig_p\":38339,\"id.resp_h\":\"192.168.86.1\",\"id.resp_p\":53,\"proto\":\"udp\",\"service\":\"dns\",\"duration\":0.076967,\"orig_bytes\":75,\"resp_bytes\":178,\"conn_state\":\"SF\",\"local_orig\":true,\"local_resp\":true,\"missed_bytes\":0,\"history\":\"Dd\",\"orig_pkts\":1,\"orig_ip_bytes\":103,\"resp_pkts\":1,\"resp_ip_bytes\":206,\"tunnel_parents\":[]}",
4342
"created": "2020-04-28T11:07:58.223Z",
4443
"kind": "event",
@@ -120,7 +119,6 @@
120119
},
121120
"event": {
122121
"duration": 76967000,
123-
"ingested": "2021-12-14T14:59:07.719086167Z",
124122
"original": "{\"ts\":1547188416.857497,\"uid\":\"CAcJw21BbVedgFnYH4\",\"id.orig_h\":\"192.168.86.167\",\"id.orig_p\":38340,\"id.resp_h\":\"89.160.20.156\",\"id.resp_p\":53,\"proto\":\"udp\",\"service\":\"dns\",\"duration\":0.076967,\"orig_bytes\":75,\"resp_bytes\":178,\"conn_state\":\"SF\",\"local_orig\":true,\"local_resp\":false,\"missed_bytes\":0,\"history\":\"Dd\",\"orig_pkts\":1,\"orig_ip_bytes\":103,\"resp_pkts\":1,\"resp_ip_bytes\":206,\"tunnel_parents\":[]}",
125123
"created": "2020-04-28T11:07:58.223Z",
126124
"kind": "event",
@@ -219,7 +217,6 @@
219217
},
220218
"event": {
221219
"duration": 76967000,
222-
"ingested": "2021-12-14T14:59:07.719086748Z",
223220
"original": "{\"ts\":1547188417.857497,\"uid\":\"CAcJw21BbVedgFnYH5\",\"id.orig_h\":\"89.160.20.156\",\"id.orig_p\":38334,\"id.resp_h\":\"89.160.20.156\",\"id.resp_p\":53,\"proto\":\"udp\",\"service\":\"dns\",\"duration\":0.076967,\"orig_bytes\":75,\"resp_bytes\":178,\"conn_state\":\"SF\",\"local_orig\":false,\"local_resp\":false,\"missed_bytes\":0,\"history\":\"Dd\",\"orig_pkts\":1,\"orig_ip_bytes\":103,\"resp_pkts\":1,\"resp_ip_bytes\":206,\"tunnel_parents\":[]}",
224221
"created": "2020-04-28T11:07:58.223Z",
225222
"kind": "event",
@@ -301,16 +298,15 @@
301298
"ip": "192.168.2.205"
302299
},
303300
"event": {
304-
"ingested": "2021-12-14T14:59:07.719087140Z",
305301
"original": "{\"ts\":1551399000.57855,\"uid\":\"Cc6NJ3GRlfjE44I3h\",\"id.orig_h\":\"192.168.2.205\",\"id.orig_p\":3,\"id.resp_h\":\"89.160.20.156\",\"id.resp_p\":3,\"proto\":\"icmp\",\"conn_state\":\"OTH\",\"local_orig\":false,\"local_resp\":false,\"missed_bytes\":0,\"orig_pkts\":1,\"orig_ip_bytes\":107,\"resp_pkts\":0,\"resp_ip_bytes\":0,\"tunnel_parents\":[]}",
306-
"created": "2020-04-28T11:07:58.223Z",
307-
"kind": "event",
308302
"id": "Cc6NJ3GRlfjE44I3h",
309303
"category": "network",
310304
"type": [
311305
"connection",
312306
"info"
313-
]
307+
],
308+
"created": "2020-04-28T11:07:58.223Z",
309+
"kind": "event"
314310
},
315311
"tags": [
316312
"preserve_original_event",
@@ -380,16 +376,15 @@
380376
"ip": "10.156.0.2"
381377
},
382378
"event": {
383-
"ingested": "2021-12-14T14:59:07.719087516Z",
384379
"original": "{\"ts\":1617062400.404645,\"uid\":\"CCicIg43lOtCQOxXnb\",\"id.orig_h\":\"10.156.0.2\",\"id.orig_p\":56190,\"id.resp_h\":\"89.160.20.156\",\"id.resp_p\":443,\"proto\":\"tcp\",\"conn_state\":\"OTH\",\"local_orig\":true,\"local_resp\":false,\"missed_bytes\":0,\"history\":\"C\",\"orig_pkts\":0,\"orig_ip_bytes\":0,\"resp_pkts\":0,\"resp_ip_bytes\":0}",
385-
"created": "2020-04-28T11:07:58.223Z",
386-
"kind": "event",
387380
"id": "CCicIg43lOtCQOxXnb",
388381
"category": "network",
389382
"type": [
390383
"connection",
391384
"info"
392-
]
385+
],
386+
"created": "2020-04-28T11:07:58.223Z",
387+
"kind": "event"
393388
},
394389
"tags": [
395390
"preserve_original_event",
@@ -460,7 +455,6 @@
460455
},
461456
"event": {
462457
"duration": 103708982,
463-
"ingested": "2021-12-14T14:59:07.719087917Z",
464458
"original": "{\"ts\":1617062100.419397,\"uid\":\"C52mXBCPJ4pPGkhr1\",\"id.orig_h\":\"10.156.0.2\",\"id.orig_p\":60810,\"id.resp_h\":\"89.160.20.156\",\"id.resp_p\":443,\"proto\":\"tcp\",\"duration\":0.10370898246765137,\"orig_bytes\":0,\"resp_bytes\":5854,\"conn_state\":\"SHR\",\"local_orig\":true,\"local_resp\":false,\"missed_bytes\":0,\"history\":\"^hCcdafA\",\"orig_pkts\":1,\"orig_ip_bytes\":52,\"resp_pkts\":4,\"resp_ip_bytes\":267}",
465459
"created": "2020-04-28T11:07:58.223Z",
466460
"kind": "event",
@@ -540,7 +534,6 @@
540534
},
541535
"event": {
542536
"duration": 104128838,
543-
"ingested": "2021-12-14T14:59:07.719090564Z",
544537
"original": "{\"ts\":1617062100.419603,\"uid\":\"CTzCky2CyLT5JJvHck\",\"id.orig_h\":\"10.156.0.2\",\"id.orig_p\":60804,\"id.resp_h\":\"89.160.20.156\",\"id.resp_p\":443,\"proto\":\"tcp\",\"duration\":0.10412883758544922,\"orig_bytes\":0,\"resp_bytes\":5854,\"conn_state\":\"SHR\",\"local_orig\":true,\"local_resp\":false,\"missed_bytes\":0,\"history\":\"^hCcdafA\",\"orig_pkts\":1,\"orig_ip_bytes\":52,\"resp_pkts\":4,\"resp_ip_bytes\":267}",
545538
"created": "2020-04-28T11:07:58.223Z",
546539
"kind": "event",
@@ -620,7 +613,6 @@
620613
},
621614
"event": {
622615
"duration": 104333878,
623-
"ingested": "2021-12-14T14:59:07.719090943Z",
624616
"original": "{\"ts\":1617062100.419826,\"uid\":\"CIkS28PDxqQnN49m2\",\"id.orig_h\":\"10.156.0.2\",\"id.orig_p\":60802,\"id.resp_h\":\"89.160.20.156\",\"id.resp_p\":443,\"proto\":\"tcp\",\"duration\":0.10433387756347656,\"orig_bytes\":0,\"resp_bytes\":5854,\"conn_state\":\"SHR\",\"local_orig\":true,\"local_resp\":false,\"missed_bytes\":0,\"history\":\"^hCcdafA\",\"orig_pkts\":1,\"orig_ip_bytes\":52,\"resp_pkts\":4,\"resp_ip_bytes\":267}",
625617
"created": "2020-04-28T11:07:58.223Z",
626618
"kind": "event",
@@ -682,7 +674,6 @@
682674
},
683675
"event": {
684676
"duration": 26802063,
685-
"ingested": "2021-12-14T14:59:07.719091294Z",
686677
"original": "{\"ts\":1617062390.563187,\"uid\":\"CezEGe4jeLNkayV976\",\"id.orig_h\":\"10.156.0.2\",\"id.orig_p\":38948,\"id.resp_h\":\"169.254.169.254\",\"id.resp_p\":53,\"proto\":\"udp\",\"service\":\"dns\",\"duration\":0.02680206298828125,\"orig_bytes\":0,\"resp_bytes\":241,\"conn_state\":\"SHR\",\"local_orig\":true,\"local_resp\":false,\"missed_bytes\":0,\"history\":\"Cd\",\"orig_pkts\":0,\"orig_ip_bytes\":0,\"resp_pkts\":1,\"resp_ip_bytes\":269}",
687678
"created": "2020-04-28T11:07:58.223Z",
688679
"kind": "event",
@@ -745,7 +736,6 @@
745736
},
746737
"event": {
747738
"duration": 25056124,
748-
"ingested": "2021-12-14T14:59:07.719091659Z",
749739
"original": "{\"ts\":1617062390.563442,\"uid\":\"CKSr3w18mmW6t7bXC4\",\"id.orig_h\":\"10.156.0.2\",\"id.orig_p\":40080,\"id.resp_h\":\"169.254.169.254\",\"id.resp_p\":53,\"proto\":\"udp\",\"service\":\"dns\",\"duration\":0.025056123733520509,\"orig_bytes\":0,\"resp_bytes\":276,\"conn_state\":\"SHR\",\"local_orig\":true,\"local_resp\":false,\"missed_bytes\":0,\"history\":\"Cd\",\"orig_pkts\":0,\"orig_ip_bytes\":0,\"resp_pkts\":1,\"resp_ip_bytes\":304}",
750740
"created": "2020-04-28T11:07:58.223Z",
751741
"kind": "event",
@@ -808,7 +798,6 @@
808798
},
809799
"event": {
810800
"duration": 3319979,
811-
"ingested": "2021-12-14T14:59:07.719092014Z",
812801
"original": "{\"ts\":1617062390.667048,\"uid\":\"CGUiHy4kLIF2ml95eg\",\"id.orig_h\":\"10.156.0.2\",\"id.orig_p\":41407,\"id.resp_h\":\"169.254.169.254\",\"id.resp_p\":53,\"proto\":\"udp\",\"service\":\"dns\",\"duration\":0.003319978713989258,\"orig_bytes\":0,\"resp_bytes\":133,\"conn_state\":\"SHR\",\"local_orig\":true,\"local_resp\":false,\"missed_bytes\":0,\"history\":\"Cd\",\"orig_pkts\":0,\"orig_ip_bytes\":0,\"resp_pkts\":1,\"resp_ip_bytes\":161}",
813802
"created": "2020-04-28T11:07:58.223Z",
814803
"kind": "event",
@@ -871,7 +860,6 @@
871860
},
872861
"event": {
873862
"duration": 1111984,
874-
"ingested": "2021-12-14T14:59:07.719092573Z",
875863
"original": "{\"ts\":1617062390.698943,\"uid\":\"CAOZZi4Qrio7gUVgVc\",\"id.orig_h\":\"10.156.0.2\",\"id.orig_p\":50487,\"id.resp_h\":\"169.254.169.254\",\"id.resp_p\":53,\"proto\":\"udp\",\"service\":\"dns\",\"duration\":0.0011119842529296876,\"orig_bytes\":0,\"resp_bytes\":202,\"conn_state\":\"SHR\",\"local_orig\":true,\"local_resp\":false,\"missed_bytes\":0,\"history\":\"Cd\",\"orig_pkts\":0,\"orig_ip_bytes\":0,\"resp_pkts\":1,\"resp_ip_bytes\":230}",
876864
"created": "2020-04-28T11:07:58.223Z",
877865
"kind": "event",
@@ -934,7 +922,6 @@
934922
},
935923
"event": {
936924
"duration": 908852,
937-
"ingested": "2021-12-14T14:59:07.719092936Z",
938925
"original": "{\"ts\":1617062390.699227,\"uid\":\"Chx5fs3xQ5ALB72i4e\",\"id.orig_h\":\"10.156.0.2\",\"id.orig_p\":49647,\"id.resp_h\":\"169.254.169.254\",\"id.resp_p\":53,\"proto\":\"udp\",\"service\":\"dns\",\"duration\":0.0009088516235351563,\"orig_bytes\":0,\"resp_bytes\":145,\"conn_state\":\"SHR\",\"local_orig\":true,\"local_resp\":false,\"missed_bytes\":0,\"history\":\"Cd\",\"orig_pkts\":0,\"orig_ip_bytes\":0,\"resp_pkts\":1,\"resp_ip_bytes\":173}",
939926
"created": "2020-04-28T11:07:58.223Z",
940927
"kind": "event",
@@ -996,16 +983,15 @@
996983
"ip": "10.156.0.2"
997984
},
998985
"event": {
999-
"ingested": "2021-12-14T14:59:07.719093278Z",
1000986
"original": "{\"ts\":1617062400.703865,\"uid\":\"C3pPjh1YRYcVDiZD3\",\"id.orig_h\":\"10.156.0.2\",\"id.orig_p\":44944,\"id.resp_h\":\"169.254.169.254\",\"id.resp_p\":80,\"proto\":\"tcp\",\"conn_state\":\"OTH\",\"local_orig\":true,\"local_resp\":false,\"missed_bytes\":0,\"history\":\"C\",\"orig_pkts\":0,\"orig_ip_bytes\":0,\"resp_pkts\":0,\"resp_ip_bytes\":0}",
1001-
"created": "2020-04-28T11:07:58.223Z",
1002-
"kind": "event",
1003987
"id": "C3pPjh1YRYcVDiZD3",
1004988
"category": "network",
1005989
"type": [
1006990
"connection",
1007991
"info"
1008-
]
992+
],
993+
"created": "2020-04-28T11:07:58.223Z",
994+
"kind": "event"
1009995
},
1010996
"tags": [
1011997
"preserve_original_event",
@@ -1057,16 +1043,15 @@
10571043
"ip": "10.156.0.2"
10581044
},
10591045
"event": {
1060-
"ingested": "2021-12-14T14:59:07.719093624Z",
10611046
"original": "{\"ts\":1617062400.703851,\"uid\":\"ChUxTmYLG37oO5qUb\",\"id.orig_h\":\"10.156.0.2\",\"id.orig_p\":44942,\"id.resp_h\":\"169.254.169.254\",\"id.resp_p\":80,\"proto\":\"tcp\",\"conn_state\":\"OTH\",\"local_orig\":true,\"local_resp\":false,\"missed_bytes\":0,\"history\":\"C\",\"orig_pkts\":0,\"orig_ip_bytes\":0,\"resp_pkts\":0,\"resp_ip_bytes\":0}",
1062-
"created": "2020-04-28T11:07:58.223Z",
1063-
"kind": "event",
10641047
"id": "ChUxTmYLG37oO5qUb",
10651048
"category": "network",
10661049
"type": [
10671050
"connection",
10681051
"info"
1069-
]
1052+
],
1053+
"created": "2020-04-28T11:07:58.223Z",
1054+
"kind": "event"
10701055
},
10711056
"tags": [
10721057
"preserve_original_event",
@@ -1118,16 +1103,15 @@
11181103
"ip": "10.156.0.2"
11191104
},
11201105
"event": {
1121-
"ingested": "2021-12-14T14:59:07.719093964Z",
11221106
"original": "{\"ts\":1617062400.704467,\"uid\":\"CpeAOT3B11CTXJgzw2\",\"id.orig_h\":\"10.156.0.2\",\"id.orig_p\":44946,\"id.resp_h\":\"169.254.169.254\",\"id.resp_p\":80,\"proto\":\"tcp\",\"conn_state\":\"OTH\",\"local_orig\":true,\"local_resp\":false,\"missed_bytes\":0,\"history\":\"C\",\"orig_pkts\":0,\"orig_ip_bytes\":0,\"resp_pkts\":0,\"resp_ip_bytes\":0}",
1123-
"created": "2020-04-28T11:07:58.223Z",
1124-
"kind": "event",
11251107
"id": "CpeAOT3B11CTXJgzw2",
11261108
"category": "network",
11271109
"type": [
11281110
"connection",
11291111
"info"
1130-
]
1112+
],
1113+
"created": "2020-04-28T11:07:58.223Z",
1114+
"kind": "event"
11311115
},
11321116
"tags": [
11331117
"preserve_original_event",
@@ -1236,7 +1220,6 @@
12361220
},
12371221
"event": {
12381222
"duration": 76967000,
1239-
"ingested": "2021-12-14T14:59:07.719094441Z",
12401223
"original": "{\"ts\":1547188417.857497,\"uid\":\"CAcJw21BbVedgFnYH5\",\"id.orig_h\":\"89.160.20.156\",\"id.orig_p\":38334,\"id.resp_h\":\"89.160.20.156\",\"id.resp_p\":53,\"proto\":\"udp\",\"service\":\"dns\",\"duration\":0.076967,\"orig_bytes\":75,\"resp_bytes\":178,\"conn_state\":\"SF\",\"local_orig\":false,\"local_resp\":false,\"missed_bytes\":0,\"history\":\"Dd\",\"orig_pkts\":1,\"orig_ip_bytes\":103,\"resp_pkts\":1,\"resp_ip_bytes\":206,\"tunnel_parents\":[]}",
12411224
"created": "2020-04-28T11:07:58.223Z",
12421225
"kind": "event",
@@ -1286,16 +1269,15 @@
12861269
"ip": "10.0.2.15"
12871270
},
12881271
"event": {
1289-
"ingested": "2021-12-14T14:59:07.719094822Z",
12901272
"original": "{\"ts\":\"2021-06-09T20:55:13.160328Z\",\"uid\":\"C2KP1V3alRLoxl4JB9\",\"id.orig_h\":\"10.0.2.15\",\"id.orig_p\":46408,\"id.resp_h\":\"172.16.9.68\",\"id.resp_p\":80,\"proto\":\"tcp\",\"conn_state\":\"OTH\",\"local_orig\":true,\"local_resp\":false,\"missed_bytes\":0,\"history\":\"C\",\"orig_pkts\":0,\"orig_ip_bytes\":0,\"resp_pkts\":0,\"resp_ip_bytes\":0}",
1291-
"created": "2020-04-28T11:07:58.223Z",
1292-
"kind": "event",
12931273
"id": "C2KP1V3alRLoxl4JB9",
12941274
"category": "network",
12951275
"type": [
12961276
"connection",
12971277
"info"
1298-
]
1278+
],
1279+
"created": "2020-04-28T11:07:58.223Z",
1280+
"kind": "event"
12991281
},
13001282
"tags": [
13011283
"preserve_original_event",

packages/zeek/data_stream/connection/elasticsearch/ingest_pipeline/default.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,7 @@ processors:
1717
field: _temp_
1818
target_field: zeek.connection
1919
ignore_failure: true
20-
- set:
21-
field: event.ingested
22-
value: "{{_ingest.timestamp}}"
20+
2321
# Sets event.created from the @timestamp field generated by filebeat before being overwritten further down
2422
- set:
2523
field: event.created

packages/zeek/data_stream/dce_rpc/_dev/test/pipeline/test-dce-rpc.log-config.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
dynamic_fields:
2-
event.ingested: ".*"
31
fields:
42
"@timestamp": "2020-04-28T11:07:58.223Z"
53
tags:

0 commit comments

Comments
 (0)