Hi
I am using following version of Kibana:
Version: 6.1.2
I have created dynamic mapping field using PUT MAPPINGS api in following way:
PUT /logstash-2019.05.31/doc/_mapping
{
"properties":{
"message": {
"type": "text",
"norms": false,
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 2048
}
}
}
}
}
Because I wanted to perform aggregate function of message field but it is text type. So i added message.keyword of keyword type.
But when I see the data, in many places, data is present in the message but message.keyword is empty. After some inspections, I realised that if any special character is present that message.keyword is null.
Kindly help me to resolve the issue.
Thanks!