Thanks Bryan. I guess I am not reading docs. wish we have more examples and blog posts for each existing processor. developers prefer to learn from examples then reading docs :-)
I am trying to consolidate all flow examples on GitHub. I just finished a flow that connect NiFi to streaming dashboard: https://github.com/xmlking/nifi-examples/tree/master/collect-stream-logs <https://github.com/xmlking/nifi-examples/tree/master/collect-stream-logs> sumo > On Oct 3, 2015, at 5:46 PM, Bryan Bende <[email protected]> wrote: > > Hello, > > You could use ReplaceText to build a new Json document from flow file > attributes. Something like... > > Replacement Text = { "myField" : "${attribute1}" } > > -Bryan > > On Saturday, October 3, 2015, Sumanth Chinthagunta <[email protected]> > wrote: > >> do we have attributes to json processor ? >> I am thinking to use it along with ExtractText where the matching data is >> stored in attributes. now I need to convert those attributes into json >> flowFile. >> if we don’t have such processor, any ideas to use, existing processors to >> compose what I needed? >> thanks >> sumo > > > > -- > Sent from Gmail Mobile
