Exceptions for Rename Ingest Processor


I'm trying to create an ingest pipeline to rename fields, if they exist. I see there is an if statement option for the Rename processor, but I'm unsure of how to implement it. I want to do "if" : "ctx.containsKey('field')", then rename it to the specified field.

I've found my solution.

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