# retrieving a date format column in Logstash

**URL:** <https://discuss.elastic.co/t/retrieving-a-date-format-column-in-logstash/339821>\
**Category:** Logstash\
**Tags:** elastic-stack-sql, kql-kibana-query-language\
**Created:** [August 1, 2023, 3:22pm UTC](https://discuss.elastic.co/t/retrieving-a-date-format-column-in-logstash/339821 "2023-08-01T15:22:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Amal\_Krizi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/amal_krizi/32/124188_2.png) [@Amal\_Krizi](https://discuss.elastic.co/u/Amal_Krizi)\
**Post date:** [August 1, 2023, 3:22pm UTC](https://discuss.elastic.co/t/retrieving-a-date-format-column-in-logstash/339821/1 "2023-08-01T15:22:35Z")

</div>

good morning,  
I have a database that contains several columns, including date type columns. I was able to retrieve these date fields via logstach, but one in particular is stuck.  
This column takes a null date by default in the format [0000-00-00 00:00:00] , and always keeps the null value, i.e. this column doesn't update and must always remain null in the format [0000-00-00 00:00:00] . Unfortunately, I can't change this type, but I absolutely must retrieve this column.  
I always get an error. Here's a screenshot

 ![Screenshot from 2023-08-01 16-07-55 (2)](https://us1.discourse-cdn.com/elastic/original/3X/d/9/d983136bd9a2e9c7cf17cbd368bc44e24223336e.png)

---

<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:** [August 29, 2023, 3:22pm UTC](https://discuss.elastic.co/t/retrieving-a-date-format-column-in-logstash/339821/2 "2023-08-29T15:22:58Z")

</div>

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