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

**URL:** https://discuss.elastic.co/t/i-am-looking-to-add-some-custom-data-to-the-date-sent-using-elastic-agents/313995
**Category:** Elastic Agent
**Created:** [September 8, 2022, 12:59pm UTC](https://discuss.elastic.co/t/i-am-looking-to-add-some-custom-data-to-the-date-sent-using-elastic-agents/313995 "2022-09-08T12:59:36Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Garry](https://avatars.discourse-cdn.com/v4/letter/g/bb73d2/32.png) [@Garry](https://discuss.elastic.co/u/Garry)
#### Post date: [September 8, 2022, 12:59pm UTC](https://discuss.elastic.co/t/i-am-looking-to-add-some-custom-data-to-the-date-sent-using-elastic-agents/313995/1 "2022-09-08T12:59:36Z")

</div>

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?

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [October 6, 2022, 1:00pm UTC](https://discuss.elastic.co/t/i-am-looking-to-add-some-custom-data-to-the-date-sent-using-elastic-agents/313995/2 "2022-10-06T13:00:12Z")

</div>

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