i am using kibana 6.5, in machine learning i have uploaded a time series data, one column is date and other is currency value, while indexing i have selected the date column as time filed, but showing error as index pattern * is not time based, may i know how to set it? Thanks
https://www.elastic.co/guide/en/kibana/current/tutorial-define-index.html should help you out.
Thanks for that, Date field in the image set as string, i can't edit through the link, may i know how to set that,Thanks
You need to use a mapping in Elasticsearch to set it before the data is passed in, you can't change it once it is there.
How are you sending data to Elasticsearch?
Hi have uploaded via ML, from there created the inedx name and imported

After loading data, i select Time Field in override setting the Date column as in the image 
You will need to delete the index that already exists and reprocess the file,
Actually, when you load a fresh file, this is the page we are getting, may i know which index you were mentioning please
If your "Date" field is still a string, you have not setup a template or a mapping for your index. You can look at: https://www.elastic.co/guide/en/elasticsearch/reference/6.5/indices-templates.html.
You need to have a mapping that says that the Date field is of type date. Below is an example. Dates come in many formats and you need to match what is being ingested.
PUT _template/bryan
{
"index_patterns": ["bry*"],
"settings": {
"number_of_shards": 1,
"number_of_replicas": 0
},
"mappings": {
"doc": {
"_source": {
"enabled": true
},
"properties": {
"time": {"type": "date", "format": "MM-dd-yyyy HH:mm" },
"temperature": {"type": "integer"},
"humidity": {"type": "integer"}
}
}
}
}
The "File Visualizer" is an experimental feature. You can see from the docs: https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-find-file-structure.html that it will properly guess the following date formats:
dd/MMM/YYYY:HH:mm:ss ZEEE MMM dd HH:mm zzz YYYYEEE MMM dd HH:mm:ss YYYYEEE MMM dd HH:mm:ss zzz YYYYEEE MMM dd YYYY HH:mm zzzEEE MMM dd YYYY HH:mm:ss zzzEEE, dd MMM YYYY HH:mm ZEEE, dd MMM YYYY HH:mm ZZEEE, dd MMM YYYY HH:mm:ss ZEEE, dd MMM YYYY HH:mm:ss ZZISO8601MMM d HH:mm:ssMMM d HH:mm:ss,SSSMMM d YYYY HH:mm:ssMMM dd HH:mm:ssMMM dd HH:mm:ss,SSSMMM dd YYYY HH:mm:ssMMM dd, YYYY h:mm:ss aTAI64NUNIXUNIX_MSYYYY-MM-dd HH:mm:ssYYYY-MM-dd HH:mm:ss,SSSYYYY-MM-dd HH:mm:ss,SSS ZYYYY-MM-dd HH:mm:ss,SSSZYYYY-MM-dd HH:mm:ss,SSSZZYYYY-MM-dd HH:mm:ssZYYYY-MM-dd HH:mm:ssZZYYYYMMddHHmmss
Notice that your timestamp format does not fall into one of those.
2/01/2014 could be 1st February or 2nd January, depending on the user's locale.
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
