I have a very simple ingest set processor which copied from our official document, it stop working after upgrading to 5.2.0 yesterday.
{
"set": {
"field": "received"
"value": "{{_ingest.timestamp}}"
}
}
now every document indexing was reject and throw below errors.
{
"error": {
"root_cause": [
{
"type": "mapper_parsing_exception",
"reason": "failed to parse [received]"
}
],
"type": "mapper_parsing_exception",
"reason": "failed to parse [timestamp]",
"caused_by": {
"type": "illegal_argument_exception",
"reason": "Invalid format: "Wed Feb 01 19:02:14 UTC 2017""
}
},
"status": 400
}
Any suggestion about how to get it working without changing my mapping?
i solved the problem by replacing the set processor with script processor without changing mapping. possible it is helpful to well document how to use set processor for handling this case.
where's no information about format or options. As this "replaces" the automatic timestamp mechanic of elasticsearch, I think more information should be supplied.
Anyway, could you please so kind to share your script?
I'd like to keep the default timestamp format and don't change the mapping.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.