# Is it possible to add additional fields to the elastic serverless forwarder config?

**URL:** <https://discuss.elastic.co/t/is-it-possible-to-add-additional-fields-to-the-elastic-serverless-forwarder-config/385215>\
**Category:** Elasticsearch\
**Tags:** serverless\
**Created:** [February 25, 2026, 12:51pm UTC](https://discuss.elastic.co/t/is-it-possible-to-add-additional-fields-to-the-elastic-serverless-forwarder-config/385215 "2026-02-25T12:51:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lasra\_Bilaj](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lasra_bilaj/32/127247_2.png) [@Lasra\_Bilaj](https://discuss.elastic.co/u/Lasra_Bilaj)\
**Post date:** [February 25, 2026, 12:51pm UTC](https://discuss.elastic.co/t/is-it-possible-to-add-additional-fields-to-the-elastic-serverless-forwarder-config/385215/1 "2026-02-25T12:51:29Z")

</div>

In the config.yml for Elastics serverless forwarder, is it possible to do something like this.

`outputs:`  
` - type: elasticsearch`  
` args:`  
` cloud_id: ${ELASTIC_CLOUD_ID}`  
` api_key: ${ELASTIC_API_KEY}`  
` index: "custom-index"`  
` fields:`  
` environment: "prod"`  
` team: "security"`  
` application: "payments-api"`
