[ 
https://issues.apache.org/jira/browse/NIFI-4728?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17817993#comment-17817993
 ] 

David Handermann commented on NIFI-4728:
----------------------------------------

Thanks for the reply. ReplaceText has a number of configuration options for 
selective extraction or removal as needed. If there are use cases that it 
doesn't cover, it would be worth highlighting them and considering additions to 
that Processor. If things don't fit, that might be a reason for a new 
Processor, but that's where a few use case examples would be helpful. Using a 
Line-by-Line evaluation with tailored regular expression also enables 
fine-grained control over text manipulation, versus a more arbitrary removal of 
a number of lines.

> Create ExtractHeader processor
> ------------------------------
>
>                 Key: NIFI-4728
>                 URL: https://issues.apache.org/jira/browse/NIFI-4728
>             Project: Apache NiFi
>          Issue Type: New Feature
>          Components: Extensions
>    Affects Versions: 1.4.0
>            Reporter: Andy LoPresto
>            Assignee: Jason Sherman
>            Priority: Minor
>              Labels: header, processor, text
>
> A frequent community request is to remove a header line from incoming text. 
> The {{ExtractHeaderProcessor}} should accept arbitrary text, remove a 
> (configurable number of) lines from the beginning, and route a new child 
> flowfile containing the header to a {{header}} relationship, and the 
> remaining contents to a {{body}} relationship. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to