How do I remove 'field.keyword' from my index ? I should be able to see 'field' only
here is my GET _mapping output
{
"collectd-2020.06.29" : {
"mappings" : {
"doc" : {
"properties" : {
"@timestamp" : {
"type" : "date"
},
"@version" : {
"type" : "text",
"fields" : {
"keyword" : {
"type" : "keyword",
"ignore_above" : 256
}
}
},
"CMD" : {
"type" : "text",
"fields" : {
"keyword" : {
"type" : "keyword",
"ignore_above" : 256
}
}
},
"ConnectionType" : {
"type" : "text",
"fields" : {
"keyword" : {
"type" : "keyword",
"ignore_above" : 256
}
}
},
"PID" : {
"type" : "text",
"fields" : {
"keyword" : {
"type" : "keyword",
"ignore_above" : 256
}
}
},
"PPID" : {
"type" : "text",
"fields" : {
"keyword" : {
"type" : "keyword",
"ignore_above" : 256
}
}
},
"TCPPort" : {
"type" : "text",
"fields" : {
"keyword" : {
"type" : "keyword",
"ignore_above" : 256
}
}
},
"collectd_type" : {
"type" : "text",
"fields" : {
"keyword" : {
"type" : "keyword",
"ignore_above" : 256
}
}
},
"free" : {
"type" : "float"
},
"freepct" : {
"type" : "long"
},
"host" : {
"type" : "text",
"fields" : {
"keyword" : {
"type" : "keyword",
"ignore_above" : 256
}
}
},
"longterm" : {
"type" : "float"
},
"majflt" : {
"type" : "long"
},
"midterm" : {
"type" : "float"
},
"minflt" : {
"type" : "long"
},
"plugin" : {
"type" : "text",
"fields" : {
"keyword" : {
"type" : "keyword",
"ignore_above" : 256
}
}
},
"plugin_instance" : {
"type" : "text",
"fields" : {
"keyword" : {
"type" : "keyword",
"ignore_above" : 256
}
}
},
"processes" : {
"type" : "float"
},
"read" : {
"type" : "long"
},
"rx" : {
"type" : "long"
},
"shortterm" : {
"type" : "float"
},
"syst" : {
"type" : "long"
},
"threads" : {
"type" : "float"
},
"total" : {
"type" : "long"
},
"tx" : {
"type" : "long"
},
"type" : {
"type" : "text",
"fields" : {
"keyword" : {
"type" : "keyword",
"ignore_above" : 256
}
}
},
"type_instance" : {
"type" : "text",
"fields" : {
"keyword" : {
"type" : "keyword",
"ignore_above" : 256
}
}
},
"used" : {
"type" : "float"
},
"usedpct" : {
"type" : "long"
},
"user" : {
"type" : "long"
},
"value" : {
"type" : "float"
},
"write" : {
"type" : "long"
}
}
}
}
}
}