Re: Filename attribute is changing automatically at fetchS3 processor.
You could use UpdateAttribute to copy the original filename into another attribute of the FlowFile before it gets to FetchS3, e.g. original_filename = ${filename} Then refer to the appropriate attribute when needed in your flow. Cheers, Chris Sampson On Sun, 22 Nov 2020, 03:44 naga satish, wrote: > Mike, Is there a way that I can retain filename with out updating > attributes? I mean is there any configuration changes that can prevents > unwanted name changes?? > > > Regards, > Satish. > > > On Sun, 22 Nov 2020, 12:24 am Mike Thomsen, > wrote: > >> It drops the prefix and tries to set a file name in keeping with >> normal NiFi practices on setting the filename. >> >> On Fri, Nov 20, 2020 at 11:06 AM naga satish >> wrote: >> > >> > I have created a nifi flow in which I’m listing files from S3 and >> fetching those files. After the files are fetched by FetchS3 the name of >> the file is changing. Here is the screenshot. My NiFi supported by cloudera >> and hosted on AWS. >> >
Re: Filename attribute is changing automatically at fetchS3 processor.
Mike, Is there a way that I can retain filename with out updating attributes? I mean is there any configuration changes that can prevents unwanted name changes?? Regards, Satish. On Sun, 22 Nov 2020, 12:24 am Mike Thomsen, wrote: > It drops the prefix and tries to set a file name in keeping with > normal NiFi practices on setting the filename. > > On Fri, Nov 20, 2020 at 11:06 AM naga satish > wrote: > > > > I have created a nifi flow in which I’m listing files from S3 and > fetching those files. After the files are fetched by FetchS3 the name of > the file is changing. Here is the screenshot. My NiFi supported by cloudera > and hosted on AWS. >
Re: Filename attribute is changing automatically at fetchS3 processor.
It drops the prefix and tries to set a file name in keeping with normal NiFi practices on setting the filename. On Fri, Nov 20, 2020 at 11:06 AM naga satish wrote: > > I have created a nifi flow in which I’m listing files from S3 and fetching > those files. After the files are fetched by FetchS3 the name of the file is > changing. Here is the screenshot. My NiFi supported by cloudera and hosted on > AWS.