We have updated our Terms of Service, Code of Conduct, and Addendum.

How do I map value field with appropriate name field for the following log sample?

Options
tpeveler
tpeveler Posts: 9 mod
edited October 2023 in General Discussions

can any one help me with the following

How do I map value field with appropriate name field for the following log sample

Log sample
profileId=sss eventstype=notification eventsname=notification_triggered 0_name=notification_type 0_value=changed_event 1_name=notification_method 1_value=email 2_name=recipient_email 2_value=some@some.com 3_name=notification_message_id 3_value=<ssss> 4_name=event_id 4_value=someevent

for example in the above log,
1_name=notification_method 1_value=email needs to be mapped as follows:
 notification_method=email.
Similarly for
2_name=recipient_email 2_value=some@some.com 3_name=notification_message_id 3_value=<ssss> 4_name=event_id 4_value=someevent
should be mapped as follows

recipient_email=some@some.com
notification_message_id=<ssss>
event_id=someevent

I would appreciate any help you can offer

Tagged:

Answers