Goes through data in a field to parse

Hi all
I have some problems with parse data in logstash

i have a field with value like this:

testValue: 1,2,3,4

and i have an yaml file to map data like this:

1: some1
2: some2
3: some3

i want to parse the data to testValue to map it to its appropriate data. but when i tried, it faled, just fail to map the data.

Has anyone tried this before can some help me.

Thanks for your time.

What have you tried so far? I think the translate filter might be what you are looking for.

Thanks for your replies.
The translate filter is what i use for this kind of thing but since the data is like what i said above i cannot iterate through the data to map each of it to it appropriate data.