# How to disable dynamic\_templates in packetbeat

**URL:** <https://discuss.elastic.co/t/how-to-disable-dynamic-templates-in-packetbeat/158695>\
**Category:** Beats\
**Created:** [November 29, 2018, 6:40am UTC](https://discuss.elastic.co/t/how-to-disable-dynamic-templates-in-packetbeat/158695 "2018-11-29T06:40:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mhsankar](https://avatars.discourse-cdn.com/v4/letter/m/bbe5ce/32.png) [@mhsankar](https://discuss.elastic.co/u/mhsankar)\
**Post date:** [November 29, 2018, 6:40am UTC](https://discuss.elastic.co/t/how-to-disable-dynamic-templates-in-packetbeat/158695/1 "2018-11-29T06:40:38Z")

</div>

Hi  
when start packetbeat .it create an index template in elastic.  
it has a section called dynamic\_templates  
how can i remove this section in packetbeat.yml?  
i dont want create new field if not exists.

---

<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:** [December 27, 2018, 8:40am UTC](https://discuss.elastic.co/t/how-to-disable-dynamic-templates-in-packetbeat/158695/2 "2018-12-27T08:40:40Z")

</div>

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