Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expand definitions of source and destination field sets #967

Merged
merged 3 commits into from
Sep 23, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.next.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ Thanks, you're awesome :-) -->

#### Improvements

* Expanded field set definitions for `source.*` and `destination.*`. #967

#### Deprecated

### Tooling and Artifact Changes
Expand Down
9 changes: 8 additions & 1 deletion code/go/ecs/destination.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 8 additions & 1 deletion code/go/ecs/source.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions docs/field-details.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -803,9 +803,9 @@ example: `docker`
[[ecs-destination]]
=== Destination Fields

Destination fields describe details about the destination of a packet/event.
Destination fields capture details about the receiver of a network exchange/packet. These fields are populated from a network event, packet, or other event containing details of a network transaction.

Destination fields are usually populated in conjunction with source fields.
Destination fields are usually populated in conjunction with source fields. The source and destination fields are considered the baseline and should always be filled if an event contains source and destination details from a network transaction. If the event also contains identification of the client and server roles, then the client and server fields should also be populated.

==== Destination Field Details

Expand Down Expand Up @@ -5185,9 +5185,9 @@ example: `3.2.4`
[[ecs-source]]
=== Source Fields

Source fields describe details about the source of a packet/event.
Source fields capture details about the sender of a network exchange/packet. These fields are populated from a network event, packet, or other event containing details of a network transaction.

Source fields are usually populated in conjunction with destination fields.
Source fields are usually populated in conjunction with destination fields. The source and destination fields are considered the baseline and should always be filled if an event contains source and destination details from a network transaction. If the event also contains identification of the client and server roles, then the client and server fields should also be populated.

==== Source Field Details

Expand Down
24 changes: 18 additions & 6 deletions generated/beats/fields.ecs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -562,9 +562,15 @@
- name: destination
title: Destination
group: 2
description: 'Destination fields describe details about the destination of a packet/event.

Destination fields are usually populated in conjunction with source fields.'
description: 'Destination fields capture details about the receiver of a network
exchange/packet. These fields are populated from a network event, packet, or
other event containing details of a network transaction.

Destination fields are usually populated in conjunction with source fields.
The source and destination fields are considered the baseline and should always
be filled if an event contains source and destination details from a network
transaction. If the event also contains identification of the client and server
roles, then the client and server fields should also be populated.'
type: group
fields:
- name: address
Expand Down Expand Up @@ -4286,9 +4292,15 @@
- name: source
title: Source
group: 2
description: 'Source fields describe details about the source of a packet/event.

Source fields are usually populated in conjunction with destination fields.'
description: 'Source fields capture details about the sender of a network exchange/packet.
These fields are populated from a network event, packet, or other event containing
details of a network transaction.

Source fields are usually populated in conjunction with destination fields.
The source and destination fields are considered the baseline and should always
be filled if an event contains source and destination details from a network
transaction. If the event also contains identification of the client and server
roles, then the client and server fields should also be populated.'
type: group
fields:
- name: address
Expand Down
24 changes: 18 additions & 6 deletions generated/ecs/ecs_nested.yml
Original file line number Diff line number Diff line change
Expand Up @@ -957,9 +957,15 @@ container:
title: Container
type: group
destination:
description: 'Destination fields describe details about the destination of a packet/event.
Destination fields are usually populated in conjunction with source fields.'
description: 'Destination fields capture details about the receiver of a network
exchange/packet. These fields are populated from a network event, packet, or other
event containing details of a network transaction.
Destination fields are usually populated in conjunction with source fields. The
source and destination fields are considered the baseline and should always be
filled if an event contains source and destination details from a network transaction.
If the event also contains identification of the client and server roles, then
the client and server fields should also be populated.'
fields:
destination.address:
dashed_name: destination-address
Expand Down Expand Up @@ -7570,9 +7576,15 @@ service:
title: Service
type: group
source:
description: 'Source fields describe details about the source of a packet/event.
Source fields are usually populated in conjunction with destination fields.'
description: 'Source fields capture details about the sender of a network exchange/packet.
These fields are populated from a network event, packet, or other event containing
details of a network transaction.
Source fields are usually populated in conjunction with destination fields. The
source and destination fields are considered the baseline and should always be
filled if an event contains source and destination details from a network transaction.
If the event also contains identification of the client and server roles, then
the client and server fields should also be populated.'
fields:
source.address:
dashed_name: source-address
Expand Down
8 changes: 6 additions & 2 deletions schemas/destination.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,13 @@
group: 2
short: Fields about the destination side of a network connection, used with source.
description: >
Destination fields describe details about the destination of a packet/event.
Destination fields capture details about the receiver of a network exchange/packet. These fields are populated from
a network event, packet, or other event containing details of a network transaction.
Destination fields are usually populated in conjunction with source fields.
Destination fields are usually populated in conjunction with source fields. The source and destination
fields are considered the baseline and should always be filled if an event contains source
and destination details from a network transaction. If the event also contains identification of the
client and server roles, then the client and server fields should also be populated.
type: group
fields:

Expand Down
8 changes: 6 additions & 2 deletions schemas/source.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,13 @@
group: 2
short: Fields about the source side of a network connection, used with destination.
description: >
Source fields describe details about the source of a packet/event.
Source fields capture details about the sender of a network exchange/packet. These fields are populated from
a network event, packet, or other event containing details of a network transaction.
Source fields are usually populated in conjunction with destination fields.
Source fields are usually populated in conjunction with destination fields. The source and destination
fields are considered the baseline and should always be filled if an event contains source
and destination details from a network transaction. If the event also contains identification of the
client and server roles, then the client and server fields should also be populated.
type: group
fields:

Expand Down