Hello,
i loaded data sets into elasticsearch that contains the field timestamp ,this is a part of json file i loaded
i used the command
curl -s -XPOST 'http://localhost:9200/_bulk' --data-binary @logs.jsonl
i defined the mapping in kibana dev tool PUT /logs-2015.05.18
{
"mappings": {
"log": {
"properties": {
"geo": {
"properties": {
"coordinates": {
"type": "geo_point"
}
}
}
}
}
}
}
i changed the time range into this weak but nothing appear in discover tool ,i checked whether there is data and i found the data
but i don(t know why it deoesn't appear
thank you ,this was the problem but i didn't understand the time range is used to filter the period when we had loaded data or it is likned to the timestamp ???
an other question ,if our data contains timestamp do we need to define the mapping of each date or what is the process to mapp the timestamp field ?
because i followed the example of loading data into elasticsearch in the official documentation and with csv file that contains timestamp equal to 2015.05.20,2015.05.19 and 2015.05.18 they did define 3 mappings ??
so what i want to know if my data contains timestamp ,how to mapp 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.