HOW TO logstash convert all fields to String

Hello I am a foreign developer.

My process is: Json >> Filebeat >> logstash >> Kibana

So how can i convert all of fileds to String in Json via Logstash Filter config?

P/s: I added this config to pipeline but not work:
" mutate { convert => [ "*" => "string"] } "

Thank You!

You might find it easier to use an Elasticsearch template to do this.

What sort of processing does Logstash do?

Thank @warkolm
I'm using Elasticsearch template, but I need to add one by one field to the template. How can Elasticsearch (or Logstash) auto convert all fields to String?