# How to index different time formats into one field？

**URL:** <https://discuss.elastic.co/t/how-to-index-different-time-formats-into-one-field/158139>\
**Category:** Logstash\
**Created:** [November 26, 2018, 8:59am UTC](https://discuss.elastic.co/t/how-to-index-different-time-formats-into-one-field/158139 "2018-11-26T08:59:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![aabababba](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aabababba/32/36732_2.png) [@aabababba](https://discuss.elastic.co/u/aabababba)\
**Post date:** [November 26, 2018, 8:59am UTC](https://discuss.elastic.co/t/how-to-index-different-time-formats-into-one-field/158139/1 "2018-11-26T08:59:47Z")

</div>

[2018-11-26 16:40:00.196]  
16:16:00,022  
Nov 20 09:26:36

like that can index to one field "logtime"?

---

<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 24, 2018, 8:59am UTC](https://discuss.elastic.co/t/how-to-index-different-time-formats-into-one-field/158139/2 "2018-12-24T08:59:52Z")

</div>

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