-
Notifications
You must be signed in to change notification settings - Fork 460
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
network_traffic: remove beta tags on data streams and add flow tests (#…
…5778) * remove beta tags on data streams * add flow is final filter for flows dashboard and flow tests
- Loading branch information
Showing
28 changed files
with
466 additions
and
230 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -141,6 +141,8 @@ The default value is 10s. | |
|
||
{{fields "flow"}} | ||
|
||
{{event "flow"}} | ||
|
||
## Protocols | ||
|
||
### AMQP | ||
|
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 |
---|---|---|
@@ -1,5 +1,4 @@ | ||
title: AMQP | ||
release: beta | ||
type: logs | ||
streams: | ||
- input: packet | ||
|
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 |
---|---|---|
@@ -1,5 +1,4 @@ | ||
title: Cassandra | ||
release: beta | ||
type: logs | ||
streams: | ||
- input: packet | ||
|
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 |
---|---|---|
@@ -1,5 +1,4 @@ | ||
title: DHCP | ||
release: beta | ||
type: logs | ||
streams: | ||
- input: packet | ||
|
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 |
---|---|---|
@@ -1,5 +1,4 @@ | ||
title: DNS | ||
release: beta | ||
type: logs | ||
streams: | ||
- input: packet | ||
|
6 changes: 6 additions & 0 deletions
6
packages/network_traffic/data_stream/flow/_dev/test/system/test-http-get-2k-file-config.yml
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,6 @@ | ||
vars: | ||
interface: "{{SERVICE_LOGS_DIR}}/http_get_2k_file.pcap" | ||
input: packet | ||
data_stream: | ||
vars: | ||
flows.period: '-1s' |
6 changes: 6 additions & 0 deletions
6
packages/network_traffic/data_stream/flow/_dev/test/system/test-icmp-2-pings-config.yml
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,6 @@ | ||
vars: | ||
interface: "{{SERVICE_LOGS_DIR}}/icmp_2_pings.pcap" | ||
input: packet | ||
data_stream: | ||
vars: | ||
flows.period: '-1s' |
6 changes: 6 additions & 0 deletions
6
packages/network_traffic/data_stream/flow/_dev/test/system/test-icmp4-ping-config.yml
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,6 @@ | ||
vars: | ||
interface: "{{SERVICE_LOGS_DIR}}/icmp4_ping.pcap" | ||
input: packet | ||
data_stream: | ||
vars: | ||
flows.period: '1s' |
6 changes: 6 additions & 0 deletions
6
packages/network_traffic/data_stream/flow/_dev/test/system/test-icmp6-ping-config.yml
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,6 @@ | ||
vars: | ||
interface: "{{SERVICE_LOGS_DIR}}/icmp6_ping.pcap" | ||
input: packet | ||
data_stream: | ||
vars: | ||
flows.period: '1s' |
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 |
---|---|---|
@@ -1,5 +1,4 @@ | ||
title: Flows | ||
release: beta | ||
type: logs | ||
streams: | ||
- input: packet | ||
|
85 changes: 85 additions & 0 deletions
85
packages/network_traffic/data_stream/flow/sample_event.json
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,85 @@ | ||
{ | ||
"@timestamp": "2023-04-04T23:12:40.755Z", | ||
"agent": { | ||
"ephemeral_id": "c368e835-b038-4610-b000-bc9fb23b35ab", | ||
"id": "d35fb84a-73fb-4bc7-99b4-ac4df8c6ebb5", | ||
"name": "docker-fleet-agent", | ||
"type": "packetbeat", | ||
"version": "8.6.2" | ||
}, | ||
"data_stream": { | ||
"dataset": "network_traffic.flow", | ||
"namespace": "ep", | ||
"type": "logs" | ||
}, | ||
"destination": { | ||
"bytes": 64, | ||
"ip": "::1", | ||
"packets": 1, | ||
"port": 8000 | ||
}, | ||
"ecs": { | ||
"version": "8.6.0" | ||
}, | ||
"elastic_agent": { | ||
"id": "d35fb84a-73fb-4bc7-99b4-ac4df8c6ebb5", | ||
"snapshot": false, | ||
"version": "8.6.2" | ||
}, | ||
"event": { | ||
"action": "network_flow", | ||
"agent_id_status": "verified", | ||
"category": [ | ||
"network" | ||
], | ||
"dataset": "network_traffic.flow", | ||
"duration": 70523, | ||
"end": "2023-04-04T23:12:30.760Z", | ||
"ingested": "2023-04-04T23:12:41Z", | ||
"kind": "event", | ||
"start": "2023-04-04T23:12:30.759Z", | ||
"type": [ | ||
"connection" | ||
] | ||
}, | ||
"flow": { | ||
"final": false, | ||
"id": "QAT///////8A////IP8AAAEAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAUAfeMg" | ||
}, | ||
"host": { | ||
"architecture": "x86_64", | ||
"containerized": false, | ||
"hostname": "docker-fleet-agent", | ||
"id": "f91b175388d443fca5c155815dfc2279", | ||
"ip": [ | ||
"192.168.208.7" | ||
], | ||
"mac": [ | ||
"02-42-C0-A8-D0-07" | ||
], | ||
"name": "docker-fleet-agent", | ||
"os": { | ||
"codename": "focal", | ||
"family": "debian", | ||
"kernel": "5.15.49-linuxkit", | ||
"name": "Ubuntu", | ||
"platform": "ubuntu", | ||
"type": "linux", | ||
"version": "20.04.5 LTS (Focal Fossa)" | ||
} | ||
}, | ||
"network": { | ||
"bytes": 152, | ||
"community_id": "1:5y9AkdbV9U8xqD9dhlj6obkubHg=", | ||
"packets": 2, | ||
"transport": "tcp", | ||
"type": "ipv6" | ||
}, | ||
"source": { | ||
"bytes": 88, | ||
"ip": "::1", | ||
"packets": 1, | ||
"port": 51320 | ||
}, | ||
"type": "flow" | ||
} |
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 |
---|---|---|
@@ -1,5 +1,4 @@ | ||
title: HTTP | ||
release: beta | ||
type: logs | ||
streams: | ||
- input: packet | ||
|
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 |
---|---|---|
@@ -1,5 +1,4 @@ | ||
title: ICMP | ||
release: beta | ||
type: logs | ||
streams: | ||
- input: packet | ||
|
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 |
---|---|---|
@@ -1,5 +1,4 @@ | ||
title: Memcached | ||
release: beta | ||
type: logs | ||
streams: | ||
- input: packet | ||
|
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 |
---|---|---|
@@ -1,5 +1,4 @@ | ||
title: MongoDB | ||
release: beta | ||
type: logs | ||
streams: | ||
- input: packet | ||
|
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 |
---|---|---|
@@ -1,5 +1,4 @@ | ||
title: MySQL | ||
release: beta | ||
type: logs | ||
streams: | ||
- input: packet | ||
|
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 |
---|---|---|
@@ -1,5 +1,4 @@ | ||
title: NFS | ||
release: beta | ||
type: logs | ||
streams: | ||
- input: packet | ||
|
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 |
---|---|---|
@@ -1,5 +1,4 @@ | ||
title: PostgreSQL | ||
release: beta | ||
type: logs | ||
streams: | ||
- input: packet | ||
|
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 |
---|---|---|
@@ -1,5 +1,4 @@ | ||
title: Redis | ||
release: beta | ||
type: logs | ||
streams: | ||
- input: packet | ||
|
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 |
---|---|---|
@@ -1,5 +1,4 @@ | ||
title: SIP | ||
release: beta | ||
type: logs | ||
streams: | ||
- input: packet | ||
|
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 |
---|---|---|
@@ -1,5 +1,4 @@ | ||
title: Thrift | ||
release: beta | ||
type: logs | ||
streams: | ||
- input: packet | ||
|
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 |
---|---|---|
@@ -1,5 +1,4 @@ | ||
title: TLS | ||
release: beta | ||
type: logs | ||
streams: | ||
- input: packet | ||
|
Oops, something went wrong.