Skip to content

[Ingest Node] Add type with default data_stream.type to reroute processor #121553

Closed
@a03nikki

Description

@a03nikki

Description

What?

The reroute ingest pipeline processor has options for only 2 of the 3 Elastic Agent data stream naming convention pieces, which are dataset and namespace. We need to add the third one, type that populates the data_stream.type.

Related documentation

A new ingest pipeline option may be like this

Name Required Default Description
type no {{data_stream.type}} Field references or a static value for the type part of the data stream name. In addition to the criteria for index names, cannot contain - and ..... Valid values are logs, metrics, ....

Current workarounds include using the destination option. Another option is to set the topic dynamically using Fleet topic settings, which is documented in Deploying Elastic Agent with Confluent Cloud's Elasticsearch Connector as well.

Why?

In an ingest architecture that is

Elastic Agent -> Kafka -> Kafka Elasticsearch sink -> Elasticsearch

The easiest configuration option is to send both the Logs and Metrics to a single Kafka topic as there is only one output defined at the Agent policy and Integration policy level. Therefore, it would be helpful if the reroute processor could be used to update the index name and subsequently use the new index's default ingest pipeline to properly handle the data source.

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