- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
How to ExtractText from flow file using Nifi Processor?
- Labels:
-
Apache NiFi
Created ‎09-26-2020 11:43 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
txt file example
ExtractText
Created ‎09-30-2020 12:44 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
