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 <ronsawyer...@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 <dwy...@hortonworks.com> wrote:
>
>  Subject: Re: logging GetFile processes?
>  To: "Ron Sawyer" <ronsawyer...@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"
>  <ronsawyer...@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
>  >
>

Reply via email to