# Name new filebeat index based on time from log

**URL:** <https://discuss.elastic.co/t/name-new-filebeat-index-based-on-time-from-log/111514>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [December 13, 2017, 8:57am UTC](https://discuss.elastic.co/t/name-new-filebeat-index-based-on-time-from-log/111514 "2017-12-13T08:57:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sukeshss](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sukeshss/32/46145_2.png) [@sukeshss](https://discuss.elastic.co/u/sukeshss)\
**Post date:** [December 13, 2017, 8:57am UTC](https://discuss.elastic.co/t/name-new-filebeat-index-based-on-time-from-log/111514/1 "2017-12-13T08:57:24Z")

</div>

How I can name the index created by filebeat based on the time from the log file.  
Can we use date filter in filebeat configuration like logstash.

---

<div class="post-metadata">

**Author:** ![adrisr](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/adrisr/32/25423_2.png) [@adrisr](https://discuss.elastic.co/u/adrisr)\
**Post date:** [December 13, 2017, 9:44am UTC](https://discuss.elastic.co/t/name-new-filebeat-index-based-on-time-from-log/111514/2 "2017-12-13T09:44:20Z")

</div>

This is currently not supported in filebeat.

You can either use Logstash or use the Elasticsearch Ingest feature. Have a look at this:

[https://www.elastic.co/guide/en/elasticsearch/reference/current/date-index-name-processor.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/date-index-name-processor.html)

---

<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:** [January 10, 2018, 9:44am UTC](https://discuss.elastic.co/t/name-new-filebeat-index-based-on-time-from-log/111514/3 "2018-01-10T09:44:56Z")

</div>

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