Normalize IBAN to DE89 3704 0044 0532 0130 00

(Muhammad Aleem Sarwar) #1

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

(Srikanta Patanjali) #2

You can use the mutate filter plugin in the Logstash's pipeline. An example of the opposite is given in the following link ->

(Muhammad Aleem Sarwar) #3

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"