How can I split fields

First of all I would suggest to split by " " using mutate.

For the second step, here's a topic over iteration:
Iteration in Logstash