# How to change a template of integration stream?

**URL:** <https://discuss.elastic.co/t/how-to-change-a-template-of-integration-stream/376005>\
**Category:** Elasticsearch\
**Tags:** datastreams\
**Created:** [March 17, 2025, 11:19am UTC](https://discuss.elastic.co/t/how-to-change-a-template-of-integration-stream/376005 "2025-03-17T11:19:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![111238](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/111238/32/57619_2.png) [@111238](https://discuss.elastic.co/u/111238)\
**Post date:** [March 17, 2025, 11:19am UTC](https://discuss.elastic.co/t/how-to-change-a-template-of-integration-stream/376005/1 "2025-03-17T11:19:04Z")

</div>

Hi there.

I use custom UDP integration. And it creates a datastream with seemingly hardcoded default "logs" template. Creating another one with a higher priority doesn't help. How the heck do I change it?

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/6/1/61adce74e85530bfd67cc5ecb48d0a9c4c05e558.png)

Creating a higher priority template does not help. On simulation, backing index does use newer template, but actual stream does not.
