Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Deleting multiple attributes in Nifi

I am aware of how to delete a single attribute in Nifi, but what is the proper syntax to delete multiple attributes? Do I have to use multiple UpdateAttributes transformations or is there a delimiter I can use to separate the attributes?

Thank you!

like image 495
DatWunGuy102 Avatar asked Jan 04 '23 18:01

DatWunGuy102


1 Answers

The UpdateAttribute processor's Delete Attribute Express is a regular expression, and you can delete multiple attributes with simple regex:

attribute1|attribute2|attribute3

or more complicated rules:

attribute\d
like image 108
James Avatar answered Jan 06 '23 07:01

James