Skip to content

[Ingest] Fix stream generation from package #62330

@nchaulet

Description

@nchaulet

Description

It seems to have an issue when we generate streams from package we do should not drop fields (like metricsets for example).

a valid configuration with metricset should like this (@ph can you confirm?)

datasources:
  - namespace: default
    enabled: true
    use_output: default
    inputs:
      - type: system/metrics
        enabled: true
        streams:
          - id: system/metrics-system.cpu 
             enabled: true
             dataset: system.cpu
             metricset: "cpu"
             period: 10s
             metrics:
              - percentages
              - normalized_percentages

The code that generate streams from package
https://github.com/elastic/kibana/blob/master/x-pack/plugins/ingest_manager/common/services/package_to_config.ts/#L48-L61

Metadata

Metadata

Assignees

Labels

Ingest Management:alpha1Group issues for ingest management alpha1Team:FleetTeam label for Observability Data Collection Fleet teambugFixes for quality problems that affect the customer experience

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions