Normalize IBAN to DE89 3704 0044 0532 0130 00

I want to normalize IBAN from DE89370400440532013000 to DE89 3704 0044 0532 0130 00.
any idea using split or grok mutate filter

You can use the mutate filter plugin in the Logstash's pipeline. An example of the opposite is given in the following link -> https://stackoverflow.com/questions/31947860/replace-all-into-spaces-in-field-logstash

I am doing like this but it's not working
"KRH_IBAN", "\H\H\D\D\D\D\D\D\D\D\D\D\D\D\D\D\D\D\D\D\D\D",
"\H\H\D\D \D\D\D\ D\D\D\D\D \D\D\D\D \D\D\D\D \D\D"

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.