nifi-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ron Sawyer <ronsawyer...@yahoo.com>
Subject Re: logging GetFile processes?
Date Thu, 08 Oct 2015 17:45:26 GMT
Joe,
it appears that the version I'm using doesn't currently support putMongo.  So until I can
fix that, what would be the flow to write the filename and date to a text file?   ExecuteScript?

v/r,
Ron Sawyer

--------------------------------------------
On Thu, 10/8/15, Joe Witt <joe.witt@gmail.com> wrote:

 Subject: Re: logging GetFile processes?
 To: users@nifi.apache.org
 Date: Thursday, October 8, 2015, 1:04 PM
 
 Ron,
 
 Yep makes sense.  We'll try to put
 together a flow template for you to
 check
 out.  Basic gist is
 
 <your flow> - > ReplaceText ->
 PutMongo
 
 In the ReplaceText
 processor you can use the expression language to
 make new content which would be a JSON document
 containing the
 filename and entry time and
 whatever other values you'd like.  Then
 drive those new JSON documents into Mongo.
 
 Does that get you on the path
 or would the template help?
 
 Thanks
 Joe
 
 On
 Thu, Oct 8, 2015 at 12:59 PM, Ron Sawyer <ronsawyer777@yahoo.com>
 wrote:
 > Would prefer to log them in a
 mongodb collection, just the file name and date processed is
 all.
 >
 > I know this
 is being logged in the app log I think but need something
 that is publicly viewable so others can know files are in
 fact being picked up and processed.
 >
 >
 > v/r,
 > Ron Sawyer
 >
 >
 --------------------------------------------
 > On Thu, 10/8/15, David Wynne <dwynne@hortonworks.com>
 wrote:
 >
 >  Subject:
 Re: logging GetFile processes?
 >  To:
 "Ron Sawyer" <ronsawyer777@yahoo.com>
 >  Cc: "users@nifi.apache.org"
 <users@nifi.apache.org>
 >  Date: Thursday, October 8, 2015, 12:43
 PM
 >
 >  Ron,
 >  How
 >  do you want
 to keep the file names? In a file on disk? In a
 >  database?
 >
 >
 >
 >
 >         
 David.
 >
 >
 >
 >  On 10/8/15, 12:38
 PM, "Ron Sawyer"
 >  <ronsawyer777@yahoo.com>
 >  wrote:
 >
 >  >Hopefully this
 >  isn't asking too much, but I have
 several getFile
 >  processes running and
 would like to log the file names and
 > 
 times they process into a mongo collection to easily
 track
 >  what and when files have been
 handled, can someone tell how
 >  to do
 this or point me in a direction?
 > 
 >
 >  >Thanks.
 >  >
 >  >v/r,
 >  >Ron Sawyer
 > 
 >
 >
 

Mime
View raw message