How to stream Activity Logs to Azure Event Hubs

Azure

Introduction

In this blog we are going to see how to stream activity logs of your azure subscription to a Event Hub.

  1. First create a service bus name since this is required to export the Activity Log
  2. Go to Activity Logs page and click Exportazure-event-hub-step-2
  3. Enter the service bus name and policyazure-event-hub-step-3
  4. Once the Export is done if you go to service bus resource you will not be able to see the event hubs since the new portal does not support that yetazure-event-hub-step-4
  5. To view the event hub that is created  you need to go to the old portal
  6. In the old portal you should see the event hub with name ‘insights-operational-logs’azure-event-hub-step-5

Conclusion

Once you create the event event you should be able to access it from other application using the proper connection string

Advertisement
Advertisements
Advertisements

.Net activity logs Agile Azure bad parts C# C#7.0 C# Tuples CSS Framework CSS Styling Customization designpatterns dotnet dotnet-core event hubs frontend development functions getting-started Hype Cycle JavaScript learn Next.js Node node_modules npm objects vs functions performance optimization React Redux rimraf scalability server-side rendering Software Development SOLID State management static site generation Tailwind CSS Tips Tricks Tuple Tuples Umamaheswaran Visual Studio Web Design web development

Advertisements
Daily writing prompt
What sacrifices have you made in life?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: