# Oracle to Elastic search date conversion #logstash

**URL:** <https://discuss.elastic.co/t/oracle-to-elastic-search-date-conversion-logstash/262368>\
**Category:** Logstash\
**Created:** [January 27, 2021, 12:59pm UTC](https://discuss.elastic.co/t/oracle-to-elastic-search-date-conversion-logstash/262368 "2021-01-27T12:59:27Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [January 27, 2021, 4:29pm UTC](https://discuss.elastic.co/t/oracle-to-elastic-search-date-conversion-logstash/262368/2 "2021-01-27T16:29:28Z")

</div>

If a column in the database is a timestamp then the jdbc input will convert it to a Logstash::Timestamp type. You can reformat that as a string using [ruby](https://discuss.elastic.co/t/date-field-being-converted-to-timestamps/180044/4).

---

_[View the full topic](https://discuss.elastic.co/t/oracle-to-elastic-search-date-conversion-logstash/262368)._
