DatWunGuy102
DatWunGuy102

Reputation: 275

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!

Upvotes: 5

Views: 4470

Answers (1)

James
James

Reputation: 11931

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

Upvotes: 10

Related Questions