# Logstash - change existing date format

**URL:** <https://discuss.elastic.co/t/logstash-change-existing-date-format/120683>\
**Category:** Logstash\
**Created:** [February 20, 2018, 4:32pm UTC](https://discuss.elastic.co/t/logstash-change-existing-date-format/120683 "2018-02-20T16:32:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aleksander\_de](https://avatars.discourse-cdn.com/v4/letter/a/bcef8e/32.png) [@Aleksander\_de](https://discuss.elastic.co/u/Aleksander_de)\
**Post date:** [February 20, 2018, 4:32pm UTC](https://discuss.elastic.co/t/logstash-change-existing-date-format/120683/1 "2018-02-20T16:32:23Z")

</div>

I need to change the date format in logstash from field "DATE" -\> 10/21/2017 5:26:42 PM to 2017-10-21T17:26:42.000Z. I don't mean to just change the mapping in that field (which I did) but to change existing data.

Date filter plugin doesn't seem to help: [https://www.elastic.co/guide/en/logstash/current/plugins-filters-date.html#plugins-filters-date-remove\_field](https://www.elastic.co/guide/en/logstash/current/plugins-filters-date.html#plugins-filters-date-remove_field)

Might you have an idea how to do it?

I am using ELK stack ver. 5.1

---

<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:** [March 20, 2018, 4:32pm UTC](https://discuss.elastic.co/t/logstash-change-existing-date-format/120683/2 "2018-03-20T16:32:36Z")

</div>

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