# Ingest node date processor can't save filed type as 'date'

**URL:** <https://discuss.elastic.co/t/ingest-node-date-processor-cant-save-filed-type-as-date/110304>\
**Category:** Elasticsearch\
**Created:** [December 5, 2017, 9:58am UTC](https://discuss.elastic.co/t/ingest-node-date-processor-cant-save-filed-type-as-date/110304 "2017-12-05T09:58:05Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![shiloong](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shiloong/32/44625_2.png) [@shiloong](https://discuss.elastic.co/u/shiloong)\
**Post date:** [December 5, 2017, 9:58am UTC](https://discuss.elastic.co/t/ingest-node-date-processor-cant-save-filed-type-as-date/110304/1 "2017-12-05T09:58:05Z")

</div>

Hi ,I'm using ES5.4. I'm trying to use Ingest node date processor parse a file and save to another，the source filed type is `keyword` and the target filed type also `keyword`，why it not `date` type？

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [December 5, 2017, 10:22am UTC](https://discuss.elastic.co/t/ingest-node-date-processor-cant-save-filed-type-as-date/110304/2 "2017-12-05T10:22:29Z")

</div>

Most likely because you did not define it as a date field in the mapping?

---

<div class="post-metadata">

**Author:** ![shiloong](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shiloong/32/44625_2.png) [@shiloong](https://discuss.elastic.co/u/shiloong)\
**Post date:** [December 6, 2017, 1:24am UTC](https://discuss.elastic.co/t/ingest-node-date-processor-cant-save-filed-type-as-date/110304/3 "2017-12-06T01:24:38Z")

</div>

I use grok processor before the date processor. I think grok processor auto generate the mapping

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [December 6, 2017, 2:44am UTC](https://discuss.elastic.co/t/ingest-node-date-processor-cant-save-filed-type-as-date/110304/4 "2017-12-06T02:44:18Z")

</div>

No. Ingest does not generate any mapping.

---

<div class="post-metadata">

**Author:** ![shiloong](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shiloong/32/44625_2.png) [@shiloong](https://discuss.elastic.co/u/shiloong)\
**Post date:** [December 6, 2017, 2:56am UTC](https://discuss.elastic.co/t/ingest-node-date-processor-cant-save-filed-type-as-date/110304/5 "2017-12-06T02:56:31Z")

</div>

Thanks，that must be filebeat difine the mapping. I will look into it

---

<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:** [January 3, 2018, 2:57am UTC](https://discuss.elastic.co/t/ingest-node-date-processor-cant-save-filed-type-as-date/110304/6 "2018-01-03T02:57:08Z")

</div>

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