Hello.
I have a date field mapping as date and got the error: 'Fielddata is disabled on text fields by default.'' on Kibana query.
Fielddata is disabled on text fields by default. Set fielddata=true on [log_processed.time] in order to load fielddata in memory by uninverting the inverted index. Note that this can however use significant memory. Alternatively use a keyword field instead.
My field log_processed.time is really a date as you can see on querys bellow:
Blockquote
{
"logstash-2019.12.21" : {
"mappings" : {
"time" : {
"full_name" : "time",
"mapping" : {
"time" : {
"type" : "date"
}
}
}
}
}
}
My versions is:
Elasticsearch and Kibana: 7.4.0
Thank you.