[jira] [Commented] (NIFI-4728) Create ExtractHeader processor

2024-02-16 Thread David Handermann (Jira)


[ 
https://issues.apache.org/jira/browse/NIFI-4728?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=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)


[jira] [Commented] (NIFI-4728) Create ExtractHeader processor

2024-02-16 Thread crissaegrim (Jira)


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

crissaegrim commented on NIFI-4728:
---

Okay, I was gonna head a `ExtractHeadOrTail` proc with configurable lines.  If 
it's as you say, then can probably close.

> 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)


[jira] [Commented] (NIFI-4728) Create ExtractHeader processor

2024-02-16 Thread David Handermann (Jira)


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

David Handermann commented on NIFI-4728:


[~crissaegrim] The ReplaceText Processor already supports a number of text 
manipulation use cases, so this without further description of features, this 
may not be a necessary addition.

> 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)


[jira] [Commented] (NIFI-4728) Create ExtractHeader processor

2024-02-16 Thread crissaegrim (Jira)


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

crissaegrim commented on NIFI-4728:
---

It doesn't look like there's been update on this ticket.  I'll take this one.

> 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)


[jira] [Commented] (NIFI-4728) Create ExtractHeader processor

2019-10-22 Thread Andy LoPresto (Jira)


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

Andy LoPresto commented on NIFI-4728:
-

Thanks Jason. I've added you to the contributors role for the project and 
assigned this ticket to you. 

> 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.3.4#803005)


[jira] [Commented] (NIFI-4728) Create ExtractHeader processor

2019-10-19 Thread Jason Sherman (Jira)


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

Jason Sherman commented on NIFI-4728:
-

[~alopresto] New developer to the project here.  I've written several 
processors at work (focused on redis mainly), but this looks like an easy 
ticket to get me started as a contributor.  I'd like to take this one, please.

> 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: Andy LoPresto
>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.3.4#803005)