Skip to content

[Elastic Agent]: Incorrect mapping for beats queue filled metric #12085

Open
@lkts

Description

@lkts

Integration Name

Elastic Agent [elastic_agent]

Dataset Name

No response

Integration Version

current

Agent Version

8.17

Agent Output Type

elasticsearch

Elasticsearch Version

8.17

OS Version and Architecture

all

Software/API Version

No response

Error Message

No response

Event Original

No response

What did you do?

I have a default installation of the integration.

What did you see?

I observe document parsing errors:

org.elasticsearch.index.mapper.DocumentParsingException: [1:1744] object mapping for [monitoring.metrics.libbeat.pipeline.queue.filled.pct] tried to parse field [pct] as object, but found a concrete value 

What did you expect to see?

No errors, queue.filled.pct metric is available for use.

Anything else?

In elastic/beats#39774 metric queue.filled.pct.events produced by libbeat was renamed to queue.filled.pct. Mapping for this field still references old name queue.filled.pct.events which leads to the described issue https://github.com/search?q=repo%3Aelastic%2Fintegrations%20%22queue.filled.pct.events%22&type=code.

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