Skip to content

Assign default pipelines in monitoring index templates #37334

@ycombinator

Description

@ycombinator

Currently the Monitoring HttpExporter adds the pipeline parameter to every bulk index request:

params.put("pipeline", MonitoringTemplateUtils.pipelineName(MonitoringTemplateUtils.TEMPLATE_VERSION));

Further, the pipeline name is selected using the version of the monitoring index templates (2, 6, etc.):

public static String pipelineName(String id) {
return "xpack_monitoring_" + id;
}

With #32286, we can now set the default pipeline within each monitoring index template itself and remove this bit of 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