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" => [  California  San Diego,  New Zealand  Auckland
How can we split in logstash?