Skip to content

_nodes/stats can return host filesystem stats when running in a container #112743

@masseyke

Description

@masseyke

The _nodes/stats API uses the /proc/diskstats file to get disk usage stats. If elasticsearch is running in a container, and if it is configured so that /proc/diskstats reports stats for the underlying host rather than the container, then the _nodes/stats API will return disk usage stats for the host machine rather than the container.

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions