none
How to view the logs from eventhub? RRS feed

  • Question

  • Hi, I have created and configured eventhub in azure APIM.I have also created a logger and trying to log the request/response payload using log-to-eventhub policy. How to view the logs from event hub? Pleae provide the detailed precedure
    • Edited by IlavarasanM Thursday, January 4, 2018 5:57 AM
    Thursday, January 4, 2018 5:56 AM

All replies

  • You need to have a reader from the even hub.

    You can look at the below Azure Functions examples and see if it helps.

    https://kvaes.wordpress.com/2016/12/02/azure-functions-a-quick-demo-when-using-event-hub/

    https://technology.amis.nl/2017/08/31/serverless-computing-with-azure-functions-interaction-with-event-hub/

    Disclaimer: This response contains a reference to a third-party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites; therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet. 

    ------------------------------------------------------------------------------------------------------------------

    Do click on "Mark as Answer" on the post that helps you, this can be beneficial to other community members.

    • Proposed as answer by Sheethal J S Thursday, January 4, 2018 7:07 AM
    Thursday, January 4, 2018 7:07 AM