# Mapping for filebeat-\*

**URL:** <https://discuss.elastic.co/t/mapping-for-filebeat/99251>\
**Category:** Elasticsearch\
**Created:** [September 4, 2017, 7:05am UTC](https://discuss.elastic.co/t/mapping-for-filebeat/99251 "2017-09-04T07:05:33Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![tomer](https://avatars.discourse-cdn.com/v4/letter/t/41988e/32.png) [@tomer](https://discuss.elastic.co/u/tomer)\
**Post date:** [September 4, 2017, 7:05am UTC](https://discuss.elastic.co/t/mapping-for-filebeat/99251/1 "2017-09-04T07:05:33Z")

</div>

Hi,

I created a mapping through "put" but I can't do this for every filebeat-\* index, I can only do this for a specific filebeat-XXXXX how can I change this that it will work for all dates?

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [September 4, 2017, 8:50am UTC](https://discuss.elastic.co/t/mapping-for-filebeat/99251/2 "2017-09-04T08:50:08Z")

</div>

Specify an [index template](https://www.elastic.co/guide/en/elasticsearch/reference/5.5/indices-templates.html).

---

<div class="post-metadata">

**Author:** ![tomer](https://avatars.discourse-cdn.com/v4/letter/t/41988e/32.png) [@tomer](https://discuss.elastic.co/u/tomer)\
**Post date:** [September 5, 2017, 7:38am UTC](https://discuss.elastic.co/t/mapping-for-filebeat/99251/3 "2017-09-05T07:38:46Z")

</div>

Thanks, Yes I saw this but was not sure if this is the correct way... I hit a few difficulties doing this, but thanks anyway. I used at the end Logstash

---

<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 3, 2017, 7:38am UTC](https://discuss.elastic.co/t/mapping-for-filebeat/99251/4 "2017-10-03T07:38:56Z")

</div>

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