Splits a expression by a delimiter token.
Splits the original message into space separated words.
"processors" : {
"split" : {
"type" : "split",
"config" : {
"input" : "${originalMessage}",
"output" : "words",
"separator" : " "
}
}
}
Splits the original message and map the elements into fields.
"processors" : {
"split" : {
"type" : "split",
"config" : {
"input" : "${originalMessage}",
"output" : "entry",
"separator" : ";",
"map" : [
"header","host","port","_",
"_","source","url"
]
}
}
}
- input : Input expression
- output : Output field
- separator : Separator token
- map : List of fields to be assigned.