Hello @Ma, Yuanning ,
Welcome to the MS Q&A platform.
Unfortunately, you cannot send custom logs to Azure Event Hub using Data Collector API.
Reason: This is a know limitation - "The existing custom log tables won’t be supported in export. A new custom log version available in March 2022 will be supported."
For more details, refer to Log Analytics workspace data export in Azure Monitor (preview).
Hope this will help. Please let us know if any further queries.
------------------------------
- Please don't forget to click on or upvote button whenever the information provided helps you. Original posters help the community find answers faster by identifying the correct answer. Here is how
- Want a reminder to come back and check responses? Here is how to subscribe to a notification
- If you are interested in joining the VM program and help shape the future of Q&A: Here is how you can be part of Q&A Volunteer Moderators