I created a template without any problems ( script 1)
Then I create an index by putting data into it ( script 2)
then when I retreve the index the timestamp column is still text ( script 3 )
I looked in the orginal code I had then I found out I was mixing templates with names (
like sensordata* ) ( djan was just an example) and the order they were used was not correct.
Tanks for the quick respons
additional question we get data in a timezone moscow without timezone. Can I add timezone?
I try to convert a date when the index is build. As I understood I can use pipelines. I got my training stuff, google and tried. But something i going wrong.
Most likely this is because you are providing it as an empty value.
Here is a script to test it properly. Note that it's well formatted to be easily readable and using uppercase HTTP verbs to make it usable in a Kibana console.
Please next time, make sure you paste similar code. It will reduce the time needed to test your code.
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.