Remove part of string in Logstash

I am getting this document from API,

"name": "accounts/plgh/locations/986532/reviews/"

but i need the 986532 in different key. How to get that form that string.

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