-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The makes changes to the event format generated by Packetbeat's flow feature. Field Changes - type -> event.type - transport -> network.transport - flow_id -> flow.id - final -> flow.final - vlan -> flow.vlan - start_time -> event.start - last_time -> event.end - source.stats.net_bytes_total -> source.bytes - source.stats.net_packets_total -> source.packets - dest.stats.net_bytes_total -> destination.bytes - dest.stats.net_packets_total -> destination.packets Added - network.bytes - network.packets - event.duration Frames with multiple levels of encapsulation like 802.1q with "Q-in-Q" will result in certain fields becoming an array with the outer most metadata being listed first (e.g. source.ip, destination.ip, flow.vlan). Any dashboards associated with flows are not updated in this change. Part of #7968.
- Loading branch information
1 parent
fe60901
commit 9b8c4d7
Showing
12 changed files
with
1,589 additions
and
810 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ | ||
"@timestamp": "2018-11-15T14:41:24.000Z", | ||
"destination": { | ||
"bytes": 460, | ||
"ip": "198.51.100.2", | ||
"mac": "06:05:04:03:02:01", | ||
"packets": 2, | ||
"port": 80 | ||
}, | ||
"event": { | ||
"duration": 3000000000, | ||
"end": "2018-11-15T14:41:24.000Z", | ||
"start": "2018-11-15T14:41:21.000Z", | ||
"type": "flow" | ||
}, | ||
"flow": { | ||
"final": true, | ||
"id": "FQQA/wz/Dv//////Fv8BAQEBAgMEBQYGBQQDAgGrAMsAcQPGM2QC9ZdQAA", | ||
"vlan": 171 | ||
}, | ||
"network": { | ||
"bytes": 470, | ||
"packets": 3, | ||
"transport": "tcp", | ||
"type": "ipv4" | ||
}, | ||
"source": { | ||
"bytes": 10, | ||
"ip": "203.0.113.3", | ||
"mac": "01:02:03:04:05:06", | ||
"packets": 1, | ||
"port": 38901 | ||
} | ||
} |
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
Oops, something went wrong.