Azure Logs
Pull logs from an Azure Event Hub to Logstash
Follow the steps below to send your observability data to Logit.io
Logs
Stream Azure monitoring logs to an event hub and configure Logstash to pull the logs into the Logit.io stack.
Install Integration
Ensure Azure Event Hub
Before you begin you will need to ensure you have an available Azure Event Hub in your Azure Portal (opens in a new tab)
Read more about how to configure azure monitoring to stream to an event hub (opens in a new tab).
The Azure event hub Logstash plugin is only available for stacks running Logstash 6.4 onwards
Configure Permissions
Once you have data streaming to your Azure event hub, it is recommended to create a Consumer Group specifically for Logstash and not to reuse any default or existing groups.
The Logstash input supports multiple event hubs - the connection string for each hub can be found in the Azure Portal (opens in a new tab) -> Event Hub -> Shared access policies.
example connection string
Endpoint=sb://<youreventhubnamespace>.servicebus.windows.net/;SharedAccessKeyName=<yoursharedaccesspolicyname>;SharedAccessKey=<yoursharedaccesskey>;EntityPath=<youreventhubname>
A blob storage account is used to preserve state across Logstash reboots. The Storage account connection string can be found in the Access Keys section under the Storage Account Settings menu in the Azure Portal (opens in a new tab)
example connection string
DefaultEndpointsProtocol=https;AccountName=<storage-account-name>;
AccountKey=<storage-account-key>;
EndpointSuffix=core.windows.net
Start Sending Logs To A Stack
To start pulling logs and metrics from the Azure Event Hub to your Stack you need to configure an Azure Logstash Input on your Logit.io Stack.
Go to DashboardLogit.io will verify your input before it is applied, we will contact you to confirm when this has been completed.
Check Logit.io for your logs
Data should now have been sent to your Stack.
View My DataIf you don't see take a look at How to diagnose no data in Stack below for how to diagnose common issues.
How to diagnose no data in Stack
If you don't see data appearing in your stack after following this integration, take a look at the troubleshooting guide for steps to diagnose and resolve the problem or contact our support team and we'll be happy to assist.
Azure Log Monitoring Overview
As a disaster recovery tool, Azure is known for its advanced site recovery which is operational across all operating systems, locations, & languages. The platform also allows users to customise the frequency of backup schedules & works alongside the Logit.io platform as our hosted ELK Stacks support version control & rollbacks for added peace of mind.
Our platform is built to simplify Azure log management (opens in a new tab) as we provide your hybrid cloud & multi-cloud (opens in a new tab) Azure environments with the ability to parse & monitor your activity across hybrid environments & audit logs to bring data-driven insights that are valuable for a wide variety of use cases.
Logit.io's hosted Elastic Stack allows you to aggregate and analyze all of your logs centrally, saving your InfoSec & DevOps teams from unnecessary maintenance overheads by centralising all of your Azure monitor logs.
Tail large volumes of logs & gain near real-time insights on the performance and security issues your infrastructure faces using our cloud-based platform. Logit.io also offers automated parsing through highly available Logstash pipelines as a solution for migrating your log data fast.
If you need any further assistance with migrating your Azure data to Logstash we're here to help you discover the insights locked in data hosted on Azure, GCP, AWS or any of the integrations covered in our data source integrations.
Feel free to reach out by contacting our support team via live chat and we will be happy to assist.