@Shekhar Nadide Thanks for reaching out.
You can leverage the log-to-eventhub
policy (sync) to send messages in the specified format to the event hub. You can refer to this example here.
In case if you don't want to send the events to event hub and want to use the any other service to store those events then you can leverage the send-one-way-request policy and call the respective service endpoint to save/send the data if you don't want to wait for the response from the endpoint (async). Alternatively, you can also use the send-request-policy that will wait for the response from your endpoint (sync).
Feel free to get back to me if you have any queries or concerns.
Please 'Accept Answer' if it helped so that it can help others in the community looking for help on similar topics.