Kapalı

Help modify JSON content in an Apache Nifi flow file with RegEx

Job Description:

I need assistance writing a script or configuring the appropriate processor within Apache Nifi to add attributes to the JSON content in a flow file based upon RegEx matches of another attribute already in the flow file.

Sample Input:

{

"timestamp" : 1680066635,

"objectType" : "map",

"alias" : "AAAA4455_BBBB9999_C11"

}

Sample Output:

{

"timestamp" : 1680066635,

"objectType" : "map",

"alias" : "AAAA4455_BBBB9999_C11",

"partA" : "AAAA4455",

"partB" : "BBBB9999",

"partC" : "C11"

}

Note: This actually needs to be done with RegEx and not a simple split string function. The sample provided is simplified. The RegEx in use has five capture groups that would each have their own attribute added if there was a match.

Beceriler: ETL, Regular Expressions

Müşteri Hakkında:
( 1 değerlendirme ) Puyallup, United States

Proje NO: #36288628

Bu iş için 2 freelancer ortalamada $225 teklif veriyor

ingwalabs

Hello, I am interested in assisting you with your project. As a freelancer with experience in Apache Nifi and JSON processing, I am confident that I can help you write a script or configure the appropriate processor t Daha Fazla

$250 USD in 5 gün içinde
(0 Değerlendirme)
0.0