Skip to main content
robnew
Gold ⭐️
Aug 7, 2024 10:19 AM UTC
Solved

ConvertRecord from CEF to JSON, but retain original event as a field called event.original

I want to utilise the ConvertRecord 1.23.2 processor to convert text based CEF into JSON using the CEFReader to JsonRecordSetWriter, but somehow keep the original text CEF log as it appears in its text formate as a field called event.original. Is this at all possible within Nifi?

robnew
robnewAnswer
Gold ⭐️
Aug 7, 2024 10:30 AM UTC

Just figured it out by using the service Raw Message Field 🙂

1 reply

robnew
robnewAuthorAnswer
Gold ⭐️
Aug 7, 2024 10:30 AM UTC

Just figured it out by using the service Raw Message Field 🙂

Translate