How to add keyword field on elasticsearch mapping

I want to do aggregation on text keyword field, but accidentally delete all keyword field of the index on Kibana. Can I fix this in the mapping by adding keyword field? Thanks!

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.