Hi guys, i'm a newbee on elasticsearch. When i start to "Discover" my new created index, i encountered the problem which shows,
Saved "field" parameter is now invalid. Please select a new field.
Discover: "field" is a required parameter
The details:
TypeError: "field" is a required parameter
at FieldAggParamFactory.FieldAggParam.write (http://linux:5601/bundles/kibana.bundle.js?v=14566:57:28138)
at http://linux:5601/bundles/kibana.bundle.js?v=14566:57:25226
at AggParams.forEach (native)
at AggParamsFactory.AggParams.write (http://linux:5601/bundles/kibana.bundle.js?v=14566:57:25184)
at AggConfigFactory.AggConfig.write (http://linux:5601/bundles/kibana.bundle.js?v=14566:60:14294)
at AggConfigFactory.AggConfig.toDsl (http://linux:5601/bundles/kibana.bundle.js?v=14566:60:15051)
at http://linux:5601/bundles/kibana.bundle.js?v=14566:61:3843
at Array.forEach (native)
at AggConfigsFactory.AggConfigs.toDsl (http://linux:5601/bundles/kibana.bundle.js?v=14566:61:3626)
at http://linux:5601/bundles/kibana.bundle.js?v=14566:55:23680
Below is the settings and mappings i used, which is a very simple index:
{
"test": {
"aliases": {},
"mappings": {
"testType": {
"properties": {
"all": {
"type": "text"
},
"timeStampt": {
"type": "date"
}
}
}
},
"settings": {
"index": {
"creation_date": "1484039622930",
"number_of_shards": "5",
"number_of_replicas": "1",
"uuid": "s56bpgOAQWGZmVL-vpcddw",
"version": {
"created": "5010199"
},
"provided_name": "test"
}
}
}
}
And i use "timeStampt" as the "time-field" when creating the index pattern. I found when i click off "Index contains time-based events ", i.e., i just create an index pattern which does not contain time-based event, the issue disappears.
Could anyone provide me some hint?