Skip to content
This repository has been archived by the owner on Dec 16, 2022. It is now read-only.

[ERROR] failed to parse field [Class/attribute] of type [date] in document #252

Answered by pds-ops
jordanpadams asked this question in Q&A
Discussion options

You must be logged in to vote

To store date fields in Elasticserch, the values have to be converted to ISO-8601 "instant" format (e.g., "2013-10-24T00:49:37.457Z").

The current Harvest will only try to convert fields containing "date" string in their names (improvement planned for future here).

As a workaround, you can update your Harvest config to specify fields you want to convert that do not have "date" in their names. See the Harvest documentation here

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by pds-ops
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants