Re: Common Attributes (FileSize)

2016-03-28 Thread Joe Witt
Hello Take a look at the example usage of ${fileSize} as shown here [1] It has been this way for quite a while so you should have no problem accessing it using the expression language while configuring the flow. Could you share a template of your flow that is not working? [1]

Re: Common Attributes (FileSize)

2016-03-28 Thread Radhakrishna Bhat
I just looked at the data provdence for one of the flow files and it wasn't there. I also tried accessing as ${fileSize} in updateAttribute value. I am using nifi .4.0. Is this attribute added in the newer versions? On 28-Mar-2016 18:50, "Matt Burgess" wrote: > Radhakrishna,

Re: Common Attributes (FileSize)

2016-03-28 Thread Matt Burgess
Radhakrishna, The "fileSize" attribute should be available for every flow file. Can you describe how you are finding the default set of attributes and which ones you are finding? To test, I generated a flow file with the text "Hello" in it, then sent that to a LogAttribute processor, and got the

Common Attributes (FileSize)

2016-03-28 Thread Radhakrishna Bhat
Hi, I am trying extract FileSize attribute from a flowfile. I don't see it in default set of attributes. However, in the documentation it is mentioned https://nifi.apache.org/docs/nifi-docs/html/getting-started.html#common-attributes . Is there any flag that I should enable for me to access