# Filebeat 8.8.0 error loading template: failed to put data stream: could not put data stream: 400 Bad Request

**URL:** <https://discuss.elastic.co/t/filebeat-8-8-0-error-loading-template-failed-to-put-data-stream-could-not-put-data-stream-400-bad-request/337370>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [July 1, 2023, 1:27pm UTC](https://discuss.elastic.co/t/filebeat-8-8-0-error-loading-template-failed-to-put-data-stream-could-not-put-data-stream-400-bad-request/337370 "2023-07-01T13:27:54Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [July 1, 2023, 4:12pm UTC](https://discuss.elastic.co/t/filebeat-8-8-0-error-loading-template-failed-to-put-data-stream-could-not-put-data-stream-400-bad-request/337370/11 "2023-07-01T16:12:08Z")

</div>

Actually, you can get filebeat to automatically create and set up a template based on the filebeat base template.

I think I have an example of it here

> [@Filebeat 8.3](https://discuss.elastic.co/t/filebeat-8-3/314630/8):
>
> @abaltan Does the above help or do you have a more specific question. auto is no longer a valid setting it was a valid setting in 7.x ... in the Past 7.x auto was (the default) is specified on version 7.0 and later, Filebeat automatically uses index lifecycle management if the feature is enabled in Elasticsearch and has the required license; \> otherwise, Filebeat creates daily indices. true and false is much cleaner now Either true you use the setting in the filebeat.yml or false you do not…

---

_[View the full topic](https://discuss.elastic.co/t/filebeat-8-8-0-error-loading-template-failed-to-put-data-stream-could-not-put-data-stream-400-bad-request/337370)._
