Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

How to ExtractText from flow file using Nifi Processor?

avatar
New Contributor

Hello,
new with nifi, I need to save in attributes a line of a text file, I have a get file, the split and I am using the extract text, but when trying to save the entire line it eliminates the blank spaces.

You know how I can save the entire content in the attribute, including all the spaces.

 

 

kquintero_0-1601144101944.png

 

txt file example

Screenshot_1.png

 

ExtractText

 

Screenshot_4.png

 

Screenshot_6.png

1 REPLY 1

avatar
Expert Contributor

Hi @kquintero,
Can you put the attribute into flowFile content and see if the spaces are removed in the content as well?

From what I know, attributes won't show extra spaces, but, the spaces are still present. Even when you hover over those values, you can still see the empty spaces.