Hi,
I send email data to http event collector in JSON format like this :
{
"sender-domain":"domain.com",
"sender":"sender.test@domain.com",
"recipient":"Name1 Surname1<name1.surname1@domain.com>, "Name2 Surname2<name2.surname2@domain.com>"
}
I would like to extract email addresses from recipient field and save it as multivalue field with the same name (field recipient will be used in email data model).
Do you have any idea what can i do this?
The only idea which I have is use sedcmd to change name for recipient to another field name and next use regex to do extraction from this fields email adresses as recipient field.
The Regex is:
SOURCE_KEY = changed_recipient_field_name
REGEX = (?<recipient>[\w\d\.\-\=\+]+\@[\w\d\.\-]+)
FORMAT = recipient::$1
What is the best solution for this?
Thank you in advance.
... View more