# Logstash pulling in Date as a Timestamp

**URL:** <https://discuss.elastic.co/t/logstash-pulling-in-date-as-a-timestamp/365329>\
**Category:** Logstash\
**Created:** [August 22, 2024, 2:10am UTC](https://discuss.elastic.co/t/logstash-pulling-in-date-as-a-timestamp/365329 "2024-08-22T02:10:37Z")\
**Posts on this page:** 1\
**Showing post:** 5

<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:** [August 22, 2024, 12:58pm UTC](https://discuss.elastic.co/t/logstash-pulling-in-date-as-a-timestamp/365329/5 "2024-08-22T12:58:04Z")

</div>

> [@dadoonet](#):
>
> If you don't want to transform the text as a date, just don't use the date filter.

The jdbc input will automatically convert a date column fetched from the DB to a LogStash::Timestamp, no date filter required. And yes, that is usually a good thing.

It can be changed to a string in any desired date using [ruby+strftime](https://discuss.elastic.co/t/date-field-being-converted-to-timestamps/180044/4).

---

_[View the full topic](https://discuss.elastic.co/t/logstash-pulling-in-date-as-a-timestamp/365329)._
