# Elastic agent dropwizard configuration

**URL:** <https://discuss.elastic.co/t/elastic-agent-dropwizard-configuration/343920>\
**Category:** Elastic Agent\
**Tags:** metricbeat\
**Created:** [September 26, 2023, 6:48pm UTC](https://discuss.elastic.co/t/elastic-agent-dropwizard-configuration/343920 "2023-09-26T18:48:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![umesh2020](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/umesh2020/32/126038_2.png) [@umesh2020](https://discuss.elastic.co/u/umesh2020)\
**Post date:** [September 26, 2023, 6:48pm UTC](https://discuss.elastic.co/t/elastic-agent-dropwizard-configuration/343920/1 "2023-09-26T18:48:37Z")

</div>

Does elastic agent support dropwizard configuration ? I couldn't find any documentation on how to enable dropwizard configuration using elastic agent. I am running elastic agent in kubernetes, and would like to know how to add the following dropwizard configuration:  
metricbeat.yml: |  
metricbeat.modules:  
- module: dropwizard  
index: metrics-\*  
period: 10s  
metricsets: ["collector"]  
hosts: ["[https://my-service:8008](https://my-service:8008)"]  
metrics\_path: /metrics  
namespace: "test-namespace"  
enabled: true  
ssl.verification\_mode: none  
processors:  
- add\_kubernetes\_metadata: ~

---

<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 24, 2023, 6:49pm UTC](https://discuss.elastic.co/t/elastic-agent-dropwizard-configuration/343920/2 "2023-10-24T18:49:04Z")

</div>

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