Docker Fields

This functionality is experimental and may be changed or removed completely in a future release. Elastic will take a best effort approach to fix any issues, but experimental features are not subject to the support SLA of official GA features.

Docker stats collected from Docker.

docker Fields

Information and statistics about docker’s running containers.

container Fields

Docker container metrics.

docker.container.command

type: keyword

Command that was executed in the Docker container.

docker.container.created

type: date

Date when the container was created.

docker.container.id

type: keyword

Unique container id.

docker.container.image

type: keyword

Name of the image the container was built on.

docker.container.name

type: keyword

Container name.

docker.container.status

type: keyword

Container status.

size Fields

Container size metrics.

docker.container.size.root_fs

type: long

Total size of all the files in the container.

docker.container.size.rw

type: long

Size of the files that have been created or changed since creation.

cpu Fields

Runtime CPU metrics.

docker.cpu.kernel.pct

type: scaled_float

format: percentage

The system kernel consumed by the Docker server.

docker.cpu.kernel.ticks

type: long

CPU kernel ticks.

docker.cpu.system.pct

type: scaled_float

format: percentage

docker.cpu.system.ticks

type: long

CPU system ticks.

docker.cpu.user.pct

type: scaled_float

format: percentage

docker.cpu.user.ticks

type: long

CPU user ticks

docker.cpu.total.pct

type: scaled_float

format: percentage

Total CPU usage.

diskio Fields

Disk I/O metrics.

docker.diskio.reads

type: scaled_float

Number of reads.

docker.diskio.writes

type: scaled_float

Number of writes.

docker.diskio.total

type: scaled_float

Number of reads and writes combined.

info Fields

This functionality is experimental and may be changed or removed completely in a future release. Elastic will take a best effort approach to fix any issues, but experimental features are not subject to the support SLA of official GA features.

Info metrics based on https://docs.docker.com/engine/reference/api/docker_remote_api_v1.24/#/display-system-wide-information.

containers Fields

Overall container stats.

docker.info.containers.paused

type: long

Total number of paused containers.

docker.info.containers.running

type: long

Total number of running containers.

docker.info.containers.stopped

type: long

Total number of stopped containers.

docker.info.containers.total

type: long

Total number of existing containers.

docker.info.id

type: keyword

Unique Docker host identifier.

docker.info.images

type: long

Total number of existing images.

memory Fields

Memory metrics.

docker.memory.fail.count

type: scaled_float

Fail counter.

docker.memory.limit

type: long

format: bytes

Memory limit.

rss Fields

RSS memory stats.

docker.memory.rss.total

type: long

format: bytes

Total memory resident set size.

docker.memory.rss.pct

type: scaled_float

Memory resident set size percentage.

usage Fields

Usage memory stats.

docker.memory.usage.max

type: long

format: bytes

Max memory usage.

docker.memory.usage.pct

type: scaled_float

Memory usage percentage.

docker.memory.usage.total

type: long

format: bytes

Total memory usage.

network Fields

Network metrics.

docker.network.interface

type: keyword

Network interface name.

in Fields

Incoming network stats.

docker.network.in.bytes

type: long

format: bytes

Total number of incoming bytes.

docker.network.in.dropped

type: scaled_float

Total number of dropped incoming packets.

docker.network.in.errors

type: long

Total errors on incoming packets.

docker.network.in.packets

type: long

Total number of incoming packets.

out Fields

Outgoing network stats.

docker.network.out.bytes

type: long

format: bytes

Total number of outgoing bytes.

docker.network.out.dropped

type: scaled_float

Total number of dropped outgoing packets.

docker.network.out.errors

type: long

Total errors on outgoing packets.

docker.network.out.packets

type: long

Total number of outgoing packets.