No problem. The grouping was messing me up. I got it working in s round about way. Inserts into database. So for now I'll just do sql magic on the inserts/updates.
Thanks! -Sven Davison (sent from my iPhone) > On Jul 3, 2016, at 9:53 AM, Matt Burgess <[email protected]> wrote: > > A single dot will match a single character, so I think you'll need ".*". Also > ExtractText might be looking for a grouping, so you may need "(.*)". If that > doesn't handle multi-lines I think there's a processor property for that. > Sorry I'm not at my computer so can't confirm. > > On Jul 3, 2016, at 9:20 AM, Sven Davison <[email protected]> wrote: > >> 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
