Remove objects in arrays

Hello, using json filter in logstash and trying to remove the field device.vendor and also split the field of similar kind

I tried to do remove_field => "[device][vendor][0]" but it did not work. how do I remove or split these type of fields?

found solution
Thanks