This documentation describes the old version of our handlebars powered mapper which is not available by default. We will stop supporting it by the end of Q1 2018. Please read the Migration guide to the new mapping language to get started with the new JSONata powered mapper.
Here is another useful feature which is implemented in our system. elastic.io supports Lookup Tables which can be used to replace values based on a designated list of values. For more information about Lookup tables consult our Translating values with lookup tables article.
How to use a Lookup Table?
Here we assume that you have already created a Lookup table called Country Code following this example
To use the Lookup table you can navigate to the appropriate field where the value is and select the right-side menu like this:
Now when you map any values from the step before into this field the values will be replaced according to the rules that you have defined in the Lookup table.