The ingest rename processor has an option ignore_missing which does not rename a field if the field is missing.
In some cases it would be helpful if the field would not be renamed if empty. E.g. with a new option ignore_empty.
Today it can be done with a if statement, but the option would be simpler and one more script could be avoided.