Did you find a solution @rallapallisagar ?
Can you open with some words what you are exactly trying to do?
Sure we have some Azure functions running with C# or Java code there for we have some custom log statements they go into the Eventhub and than to Splunk but Splunk have a problem with the format which comes from the Eventhub (nested jsons) eventhough the log messages are microsoft standard...
I have used eventhub with splunk without issues e.g. with AKS and other logs. Just use https://splunkbase.splunk.com/app/3110 this app to ingest those.
Ithink the best way to start to collect azure event logs is read these two articles
https://www.splunk.com/en_us/blog/tips-and-tricks/getting-microsoft-azure-data-into-splunk.html
https://www.splunk.com/en_us/blog/platform/splunking-azure-event-hubs.html
However, if these articles aren't enough, please don't hesitate to ask
Regards
Alessandro