I am working with a Nested field with date data type for as starting and ending duration.
I would like to use use those fields for date histograms in data table and also to create drop down with control. I am not able to see these date fields as date in the data table or control.
Following is my data format
"stockperiod" : {
"type": "nested",
"properties" : {
"dateperiod" : {
"type": "nested",
"properties" : {
"enddate" : {
"type" : "date"
},
"startdate" : {
"type" : "date"
}
}
},
"itemstatus" : {
"type" : "keyword",
"ignore_above" : 256,
"norms": "false"
}
}