Multiple spliting in a single string using logstash

I had a string called regions_of_interest which holds the following value "California - San Diego,New Zealand - Auckland,Asia - Hong Kong"

I want to split this string multiple times, First with the comma(,) and then with the dash(-)
such as :
"regions_of_interest" => [ [0] California [0] San Diego, [1] New Zealand [0] Auckland

How can we split in logstash?

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