Skip to content

Add elastic_agent.shipper to the list of known monitoring datasets in Fleet #2654

@cmacknz

Description

@cmacknz

We need to add the elastic_agent.shipper dataset to the list of known monitoring datasets in Fleet.

These are defined in https://github.com/elastic/kibana/blob/51f6eeccefca5b927f96727be39181e0c4119275/x-pack/plugins/fleet/common/constants/agent_policy.ts#L15-L30

export const AGENT_POLICY_DEFAULT_MONITORING_DATASETS = [
  'elastic_agent',
  'elastic_agent.elastic_agent',
  'elastic_agent.apm_server',
  'elastic_agent.filebeat',
  'elastic_agent.filebeat_input',
  'elastic_agent.fleet_server',
  'elastic_agent.metricbeat',
  'elastic_agent.osquerybeat',
  'elastic_agent.packetbeat',
  'elastic_agent.endpoint_security',
  'elastic_agent.auditbeat',
  'elastic_agent.heartbeat',
  'elastic_agent.cloudbeat',
  'elastic_agent.cloud_defend',
];

Without this the the shipper logs and metrics cannot be written to Fleet, each write will fail with an API key error. Fleet only generates API keys for monitoring datasets in this list.

Metadata

Metadata

Assignees

No one assigned

    Labels

    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