nifi-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Wing <jvw...@gmail.com>
Subject Re: Copy content to attribute
Date Sat, 27 Feb 2016 00:46:12 GMT
It is certainly possible to do this.  One method would be to use an
ExtractText processor, adding a custom attribute with a value set to the
regular expression "(.*)".  There is probably a more elegant way.

You should be careful with this.  FlowFile attributes are stored in memory,
where content is stored on disk.  Some questions about that came across the
email lists within the last few days, you might want to read back to
understand the performance issues involved.

http://mail-archives.apache.org/mod_mbox/nifi-users/201602.mbox/%3CCALJK9a5uLcitNfo0DLSvD5D-JKcSqM+RQJXuRUzwGRdbqaDT3w@mail.gmail.com%3E



On Fri, Feb 26, 2016 at 12:53 PM, Radhakrishna Bhat <
radhakrishna12@gmail.com> wrote:

> Hi,
>
> Is there any way to copy all of the content of flowfile to an attribute?
>

Mime
View raw message