Skip to content

Commit

Permalink
Add new docker network in and out group fields (#12183)
Browse files Browse the repository at this point in the history
* Add new docker network in and out group fields

* Update changelog.yml

* Fix changelog
  • Loading branch information
MichaelKatsoulis authored Dec 23, 2024
1 parent d0c6374 commit de4aafb
Show file tree
Hide file tree
Showing 4 changed files with 58 additions and 1 deletion.
5 changes: 5 additions & 0 deletions packages/docker/changelog.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# newer versions go on top
- version: 2.12.1
changes:
- description: Update docker network fields.
type: enhancement
link: https://github.com/elastic/integrations/pull/12183
- version: 2.12.0
changes:
- description: Use ecs definition of the 'event.dataset' field.
Expand Down
44 changes: 44 additions & 0 deletions packages/docker/data_stream/network/fields/fields.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,50 @@
dimension: true
description: |
Network interface name.
- name: in
type: group
description: >
Incoming network stats per second.
fields:
- name: bytes
type: long
format: bytes
description: >
Incoming bytes per seconds.
- name: dropped
type: scaled_float
description: >
Dropped incoming packets per second.
- name: errors
type: long
description: >
Errors on incoming packets per second.
- name: packets
type: long
description: >
Incoming packets per second.
- name: out
type: group
description: >
Outgoing network stats per second.
fields:
- name: bytes
type: long
format: bytes
description: >
Outgoing bytes per second.
- name: dropped
type: scaled_float
description: >
Dropped outgoing packets per second.
- name: errors
type: long
description: >
Errors on outgoing packets per second.
- name: packets
type: long
description: >
Outgoing packets per second.
- name: inbound
type: group
fields:
Expand Down
8 changes: 8 additions & 0 deletions packages/docker/docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1015,11 +1015,19 @@ The Docker `network` data stream collects network metrics.
| data_stream.namespace | Data stream namespace. | constant_keyword | |
| data_stream.type | Data stream type. | constant_keyword | |
| docker.container.labels.\* | Container labels | object | |
| docker.network.in.bytes | Incoming bytes per seconds. | long | |
| docker.network.in.dropped | Dropped incoming packets per second. | scaled_float | |
| docker.network.in.errors | Errors on incoming packets per second. | long | |
| docker.network.in.packets | Incoming packets per second. | long | |
| docker.network.inbound.bytes | Total number of incoming bytes. | long | counter |
| docker.network.inbound.dropped | Total number of dropped incoming packets. | long | counter |
| docker.network.inbound.errors | Total errors on incoming packets. | long | counter |
| docker.network.inbound.packets | Total number of incoming packets. | long | counter |
| docker.network.interface | Network interface name. | keyword | |
| docker.network.out.bytes | Outgoing bytes per second. | long | |
| docker.network.out.dropped | Dropped outgoing packets per second. | scaled_float | |
| docker.network.out.errors | Errors on outgoing packets per second. | long | |
| docker.network.out.packets | Outgoing packets per second. | long | |
| docker.network.outbound.bytes | Total number of outgoing bytes. | long | counter |
| docker.network.outbound.dropped | Total number of dropped outgoing packets. | long | counter |
| docker.network.outbound.errors | Total errors on outgoing packets. | long | counter |
Expand Down
2 changes: 1 addition & 1 deletion packages/docker/manifest.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: docker
title: Docker
version: 2.12.0
version: 2.12.1
description: Collect metrics and logs from Docker instances with Elastic Agent.
type: integration
icons:
Expand Down

0 comments on commit de4aafb

Please sign in to comment.