I am looking to add some custom data to the date sent using Elastic Agents

Hi, I am am looking to add some custom data through the integrations used by elastic agents.

For example, when I manually use metricbeat I can send through static custom fields using

processors:

  • add_host_metadata: ~
  • add_cloud_metadata: ~
  • add_docker_metadata: ~
  • add_kubernetes_metadata: ~
  • add_fields:
    target: project
    fields:
    name: project1
    type: 'Web'
    country: UK
    location: 'location X'

in the metricbeat.yml file. This is the same for filebeat.

Can I replicate this functionality using the Elastic agent?

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