My datatype for field "event_datatime" is date using your ingest pipeline.
Probably because when you first create the index using the pipeline, you've used an incorrect input, which produces a parsing error. After the initial incorrect attempt, the field type "event_created" will be determined as text.
Thanks for the awesome tip , i deleted and reloaded with correct data and is worked fine.
However this seems to be not correct rite.. so for instance now its working fine and if i load incorrect format will it go wrong again or its just first record after index is created ?
It will stay the same after the first index. Dynamic mapping happens in the first time the field is created.
Also, if there is a parsing error, the incorrect document will have a field named "date_parse_error" and the parsing error message will be stored in it.
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.