nifi-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Wilson <>
Subject concatenate attributes
Date Fri, 12 Feb 2016 18:58:12 GMT
I wanted to create an attribute by concatenating two attributes with a
connector string ('.' or '_') using the UpdateAttribute processor.

For example I have some JSON formatted data coming off CollectD that I'm
trying to reshape for OpenTSDB.  I'm pulling out attributes like 'plugin'
("cpu") and 'type_instance' ("user") and I want to concatonate them into an
OpenTSDB metric like "cpu.system".

I've tried append in various configurations, ${plugin}"."${type_instance}
as an entry, and a few others and have not gotten to the end yet.

Any help appreciated, thanks.


View raw message