Skip to content

Fleet needs to use data view api to create data views, no saved object api #153368

Open

Description

Currently, fleet uses the generic saved object api to create data views - x-pack/plugins/fleet/server/services/epm/kibana/index_pattern/install.ts

It should be using the data view api instead. Writing raw saved objects is considered tech debt as there's no contract to ensure the written SO is actually functional.

Further, the allowNoIndices flag is currently ignored as its become the default behavior for data views.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Team:FleetTeam label for Observability Data Collection Fleet teamtechnical debtImprovement of the software architecture and operational architecture

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions