Easy way to remove keywords mapping

I am looking for an easy way to remove any keywords mapping from my metricbeat index. Can you give me an example of how can I do it, please?

The easiest way is to customise the default Filebeat template and remove them where they are not wanted.

I see. So there is no way to apply some rule through dynamic template to change all raw fields to text, right?

Do you mean keyword fields? Raw fields haven't existed in Elasticsearch since 5.X (from memory).

You can do that via Dynamic templates | Elasticsearch Guide [8.2] | Elastic

1 Like

Thank you.

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