-
Notifications
You must be signed in to change notification settings - Fork 24
Translate Processor
MarinaRazumovsky edited this page Jan 30, 2018
·
5 revisions
- field
- targetField
- fallback (optional)
- dictionary [this is a json object with key:values where the key is the original value, and the value is what you want to replace it with] EG
{
translate: {
config: {
field: "deviceTypeId"
targetField: "deviceType"
fallback: "UNKNOWN"
dictionary: {
"0":"Unknown",
"1":"Windows",
"2":"Mac",
"3":"Windows",
"256":"Home Gateway",
"257":"Home Gateway",
"258":"Home Gateway",
"272":"Home Gateway",
"273":"Home Gateway",
"274":"Home Gateway",
"320":"STB",
"321":"STB",
"322":"STB",
"352":"STB",
"353":"STB",
"768":"iOS Phone",
"832":"iOS PMP",
"896":"iOS Tablet",
"1024":"Android Phone",
"1152":"Android Tablet",
"1280":"Windows 8 Phone",
"1297":"Windows 8 Metro",
"1298":"Windows 8 Metro",
"1536":"Connected TV",
"1792":"PS3",
"2048":"XBOX",
"2304":"PS3",
"2305":"PS4",
"2384":"Roku",
"2385":"Chromecast",
"2416":"AMLogic Dongle"
}
}
}
}
- Home
-
Pipelines
-
Processors
- Add Field Processor
- Add Tag Processor
- AhoCorasick Processor
- Anonymize Processor
- Append List Processor
- Arrays Intersect Processor
- Base64 Decode Processor
- Convert Processor
- CSV Processor
- Date Processor
- Drop Processor
- External Mapping Source Processor
- GeoIP Processor
- Grok Processor
- JSON Processor
- Key Value Processor
- LowerCase Processor
- Math Processor
- Remove Field Processor
- Remove Tag Processor
- Rename Field Processor
- Split Processor
- Strip Processor
- Substitue Processor
- Substring Processor
- Translate Processor
- UpperCase Processor
- User Agent Processor
- URL Decode Processor
- XML Processor
- DeDot Processor
- Doc Size Processor
- If statement
- Additional Commands
-
Processors