# Convert string to date isnt working when logstash reading data from csv file. Need help!

**URL:** <https://discuss.elastic.co/t/convert-string-to-date-isnt-working-when-logstash-reading-data-from-csv-file-need-help/188898>\
**Category:** Logstash\
**Created:** [July 4, 2019, 11:16am UTC](https://discuss.elastic.co/t/convert-string-to-date-isnt-working-when-logstash-reading-data-from-csv-file-need-help/188898 "2019-07-04T11:16:49Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![prataprajasekhar](https://avatars.discourse-cdn.com/v4/letter/p/e19b73/32.png) [@prataprajasekhar](https://discuss.elastic.co/u/prataprajasekhar)\
**Post date:** [July 4, 2019, 12:24pm UTC](https://discuss.elastic.co/t/convert-string-to-date-isnt-working-when-logstash-reading-data-from-csv-file-need-help/188898/2 "2019-07-04T12:24:32Z")

</div>

Hi All,

This is now resolved by following steps stated in

> [@Convert date to string string](https://discuss.elastic.co/t/convert-date-to-string-string/181128/9):
>
> In your other case, you cannot have multiple match+target pairs in the same date filter. They should be separate filters. I am sorry, But i didnt understand what i should do if i have several date columns. Can you please share a simple test case how to handle such senario ? Thanks !!!!

---

_[View the full topic](https://discuss.elastic.co/t/convert-string-to-date-isnt-working-when-logstash-reading-data-from-csv-file-need-help/188898)._
