Multiple replacement in single mutate in Logstash

Hi Team,

I want to change the countryCode in transaction Log to the respective country name
Now iam using multiple if loops like:

if[countryCD]== "978"{
mutate {
replace => ["countryCD","Euro Market"]
}
}
if[countryCD]== "004"{
mutate {
replace => ["countryCD","Afghanistan"]
}
}

Is there any simple method to do multiple replacement instead of this?

Thanks,
Gayathri TR

Use a translate filter instead.