Skip to content

Commit

Permalink
Re-introduce field formats on ECS fields.
Browse files Browse the repository at this point in the history
They were accidentally removed by elastic#11150.
  • Loading branch information
Mathieu Martin committed Mar 14, 2019
1 parent b1f36ce commit b705c3c
Show file tree
Hide file tree
Showing 17 changed files with 111 additions and 8 deletions.
12 changes: 12 additions & 0 deletions auditbeat/docs/fields.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -3066,6 +3066,8 @@ type: long
example: 184
format: bytes
Bytes sent from the client to the server.
--
Expand Down Expand Up @@ -3445,6 +3447,8 @@ type: long
example: 184
format: bytes
Bytes sent from the destination to the source.
--
Expand Down Expand Up @@ -3769,6 +3773,8 @@ The concept of a `dataset` (fileset / metricset) is used in Beats as a subset of
--
type: long
format: duration
Duration of the event in nanoseconds.
If event.start and event.end are known this value should be the difference between the end and start time.
Expand Down Expand Up @@ -4646,6 +4652,8 @@ type: long
example: 368
format: bytes
Total bytes transferred in both directions.
If `source.bytes` and `destination.bytes` are known, `network.bytes` is their sum.
Expand Down Expand Up @@ -5235,6 +5243,8 @@ type: long
example: 184
format: bytes
Bytes sent from the server to the client.
--
Expand Down Expand Up @@ -5549,6 +5559,8 @@ type: long
example: 184
format: bytes
Bytes sent from the source to the destination.
--
Expand Down
2 changes: 1 addition & 1 deletion auditbeat/include/fields.go

Large diffs are not rendered by default.

12 changes: 12 additions & 0 deletions filebeat/docs/fields.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -1323,6 +1323,8 @@ type: long
example: 184
format: bytes
Bytes sent from the client to the server.
--
Expand Down Expand Up @@ -1702,6 +1704,8 @@ type: long
example: 184
format: bytes
Bytes sent from the destination to the source.
--
Expand Down Expand Up @@ -2026,6 +2030,8 @@ The concept of a `dataset` (fileset / metricset) is used in Beats as a subset of
--
type: long
format: duration
Duration of the event in nanoseconds.
If event.start and event.end are known this value should be the difference between the end and start time.
Expand Down Expand Up @@ -2903,6 +2909,8 @@ type: long
example: 368
format: bytes
Total bytes transferred in both directions.
If `source.bytes` and `destination.bytes` are known, `network.bytes` is their sum.
Expand Down Expand Up @@ -3492,6 +3500,8 @@ type: long
example: 184
format: bytes
Bytes sent from the server to the client.
--
Expand Down Expand Up @@ -3806,6 +3816,8 @@ type: long
example: 184
format: bytes
Bytes sent from the source to the destination.
--
Expand Down
2 changes: 1 addition & 1 deletion filebeat/include/fields.go

Large diffs are not rendered by default.

12 changes: 12 additions & 0 deletions heartbeat/docs/fields.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -489,6 +489,8 @@ type: long
example: 184
format: bytes
Bytes sent from the client to the server.
--
Expand Down Expand Up @@ -868,6 +870,8 @@ type: long
example: 184
format: bytes
Bytes sent from the destination to the source.
--
Expand Down Expand Up @@ -1192,6 +1196,8 @@ The concept of a `dataset` (fileset / metricset) is used in Beats as a subset of
--
type: long
format: duration
Duration of the event in nanoseconds.
If event.start and event.end are known this value should be the difference between the end and start time.
Expand Down Expand Up @@ -2069,6 +2075,8 @@ type: long
example: 368
format: bytes
Total bytes transferred in both directions.
If `source.bytes` and `destination.bytes` are known, `network.bytes` is their sum.
Expand Down Expand Up @@ -2658,6 +2666,8 @@ type: long
example: 184
format: bytes
Bytes sent from the server to the client.
--
Expand Down Expand Up @@ -2972,6 +2982,8 @@ type: long
example: 184
format: bytes
Bytes sent from the source to the destination.
--
Expand Down
2 changes: 1 addition & 1 deletion heartbeat/include/fields.go

Large diffs are not rendered by default.

12 changes: 12 additions & 0 deletions journalbeat/docs/fields.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -1066,6 +1066,8 @@ type: long
example: 184
format: bytes
Bytes sent from the client to the server.
--
Expand Down Expand Up @@ -1445,6 +1447,8 @@ type: long
example: 184
format: bytes
Bytes sent from the destination to the source.
--
Expand Down Expand Up @@ -1769,6 +1773,8 @@ The concept of a `dataset` (fileset / metricset) is used in Beats as a subset of
--
type: long
format: duration
Duration of the event in nanoseconds.
If event.start and event.end are known this value should be the difference between the end and start time.
Expand Down Expand Up @@ -2646,6 +2652,8 @@ type: long
example: 368
format: bytes
Total bytes transferred in both directions.
If `source.bytes` and `destination.bytes` are known, `network.bytes` is their sum.
Expand Down Expand Up @@ -3235,6 +3243,8 @@ type: long
example: 184
format: bytes
Bytes sent from the server to the client.
--
Expand Down Expand Up @@ -3549,6 +3559,8 @@ type: long
example: 184
format: bytes
Bytes sent from the source to the destination.
--
Expand Down
2 changes: 1 addition & 1 deletion journalbeat/include/fields.go

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions libbeat/_meta/fields.ecs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@
- name: bytes
level: core
type: long
format: bytes
description: Bytes sent from the client to the server.
example: 184
- name: domain
Expand Down Expand Up @@ -382,6 +383,7 @@
- name: bytes
level: core
type: long
format: bytes
description: Bytes sent from the destination to the source.
example: 184
- name: domain
Expand Down Expand Up @@ -609,6 +611,8 @@
- name: duration
level: core
type: long
format: duration
input_format: nanoseconds
description: 'Duration of the event in nanoseconds.
If event.start and event.end are known this value should be the difference
Expand Down Expand Up @@ -1185,6 +1189,7 @@
- name: bytes
level: core
type: long
format: bytes
description: 'Total bytes transferred in both directions.
If `source.bytes` and `destination.bytes` are known, `network.bytes` is their
Expand Down Expand Up @@ -1594,6 +1599,7 @@
- name: bytes
level: core
type: long
format: bytes
description: Bytes sent from the server to the client.
example: 184
- name: domain
Expand Down Expand Up @@ -1807,6 +1813,7 @@
- name: bytes
level: core
type: long
format: bytes
description: Bytes sent from the source to the destination.
example: 184
- name: domain
Expand Down
12 changes: 12 additions & 0 deletions metricbeat/docs/fields.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -4696,6 +4696,8 @@ type: long
example: 184
format: bytes
Bytes sent from the client to the server.
--
Expand Down Expand Up @@ -5075,6 +5077,8 @@ type: long
example: 184
format: bytes
Bytes sent from the destination to the source.
--
Expand Down Expand Up @@ -5399,6 +5403,8 @@ The concept of a `dataset` (fileset / metricset) is used in Beats as a subset of
--
type: long
format: duration
Duration of the event in nanoseconds.
If event.start and event.end are known this value should be the difference between the end and start time.
Expand Down Expand Up @@ -6276,6 +6282,8 @@ type: long
example: 368
format: bytes
Total bytes transferred in both directions.
If `source.bytes` and `destination.bytes` are known, `network.bytes` is their sum.
Expand Down Expand Up @@ -6865,6 +6873,8 @@ type: long
example: 184
format: bytes
Bytes sent from the server to the client.
--
Expand Down Expand Up @@ -7179,6 +7189,8 @@ type: long
example: 184
format: bytes
Bytes sent from the source to the destination.
--
Expand Down
2 changes: 1 addition & 1 deletion metricbeat/include/fields/fields.go

Large diffs are not rendered by default.

12 changes: 12 additions & 0 deletions packetbeat/docs/fields.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -2391,6 +2391,8 @@ type: long
example: 184
format: bytes
Bytes sent from the client to the server.
--
Expand Down Expand Up @@ -2770,6 +2772,8 @@ type: long
example: 184
format: bytes
Bytes sent from the destination to the source.
--
Expand Down Expand Up @@ -3094,6 +3098,8 @@ The concept of a `dataset` (fileset / metricset) is used in Beats as a subset of
--
type: long
format: duration
Duration of the event in nanoseconds.
If event.start and event.end are known this value should be the difference between the end and start time.
Expand Down Expand Up @@ -3971,6 +3977,8 @@ type: long
example: 368
format: bytes
Total bytes transferred in both directions.
If `source.bytes` and `destination.bytes` are known, `network.bytes` is their sum.
Expand Down Expand Up @@ -4560,6 +4568,8 @@ type: long
example: 184
format: bytes
Bytes sent from the server to the client.
--
Expand Down Expand Up @@ -4874,6 +4884,8 @@ type: long
example: 184
format: bytes
Bytes sent from the source to the destination.
--
Expand Down
2 changes: 1 addition & 1 deletion packetbeat/include/fields.go

Large diffs are not rendered by default.

Loading

0 comments on commit b705c3c

Please sign in to comment.