How to customize fleet agent policy integration

Hello,

I am currently setting up an Elasticsearch cluster using the ECK operator, and I would like to know how I can customize the fleet integration configuration using the kibana.yml

The problems I am facing.

  1. I can create a new policy and install the integration, But deleting the policy from the config file is not deleting the policy from UI. How to make this work?
  2. How can I adjust the integration settings? I cannot find any detailed documentation on how to adjust this.
    Here is an example kibana.yml xpack.fleet.agentPolicies
      xpack.fleet.packages:
      - name: elastic_agent
        version: latest
      - name: fleet_server
        version: latest
      - name: elasticsearch
        version: latest
      xpack.fleet.agentPolicies:
      - name: Fleet Server on ECK policy
        id: eck-fleet-server
        is_default_fleet_server: true
        description: Fleet Server in EKS Policy
        is_managed: true
        namespace: default
        monitoring_enabled:
        - metrics
        - logs
        unenroll_timeout: 600
        package_policies:
        - name: fleet-server
          id: fleet-server
          package:
            name: fleet_server
        - name: elasticsearch
          id: elasticsearch
          package:
            name: elasticsearch
          inputs:
            - type: elasticsearch-elasticsearch/metrics
              enabled: true
              vars:
              - name: hosts
                value: ["https://es-http.elastic-systems.svc:9200"]

After applying the changes, kibana logs sys the fleet configuration completed. But the changes are not reflected in the UI.

Thanks in advance

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.