I tried regex of "." To grab everything. Works as intended on regexr.com. Not in nifi
-Sven Davison (sent from my iPhone) > On Jul 3, 2016, at 9:04 AM, Sven Davison <[email protected]> wrote: > > I've been looking at it. Google doesn't have many examples. Maybe I'm putting > my cart before the horse in learning but I don't see many books. So far, the > documentation seems to assume some base knowledge or something. > > I see the documentation for "dynamic properties" of extracttext, but haven't > found an example of it in use. > > > -Sven Davison > (sent from my iPhone) > >> On Jul 3, 2016, at 7:43 AM, Andrew Grande <[email protected]> wrote: >> >> Sven, take a look at ExtractText component, it will allow you to promote a >> result into an attribute. >> >> Andrew >> >> >>> On Sat, Jul 2, 2016, 7:41 PM Sven Davison <[email protected]> wrote: >>> I’ve been trying to run a script and fetch said output from the script as a >>> variable work with. The process executes and I see the content in the body >>> if I send it off to a LogAttribute process but I’m not sure how to get the >>> output of the script as a variable. I want to be able to use this content >>> to send it to a database and it would be much easier if I could use it as a >>> variable I think. >>> >>> >>> >>> >>> >>> Link to LogAttribute screenshot showing desired content. >>> http://prntscr.com/bo2cbw >>> >>> >>> >>> I’m guessing I need to use the ExtractText processor but I’m not sure how >>> to address the output of the script. >>> >>> >>> >>> >>> >>> -Sven >>> >>> >>> >>> >>> >>> Sent from Mail for Windows 10
