Skip to content

Datastream stats return 0 as maximum_timestamp #137208

@nchaulet

Description

@nchaulet

Elasticsearch Version

9.3.0

Installed Plugins

No response

Java Version

bundled

OS Version

Problem Description

Description

In Fleet we use the _data_stream/stats and retrieve the maximum_timestamp field to display activity to the user, it seems in the latest daily SNAPSHOT that field is always 0

Steps to Reproduce

POST logs-datastreams.test_logs-testwithoutfinalpipeline/_doc { "@timestamp": "2025-10-27T14:51:00.564Z", "data_stream": { "dataset": "datastreams.test_logs", "namespace": "testwithoutfinalpipeline", "type": "logs" }, "message": "test" } GET _data_stream/logs-datastreams.test_logs-testwithoutfinalpipeline/_stats 
Image

Logs (if relevant)

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions