Prerequisites: Info |
---|
AMP Permissions Your Armor Management Portal (AMP) account must have the following permissions: - Read Log Management
- Write Log Management
- Delete Log Management
|
Note |
---|
Microsoft Azure Portal: - An Azure account with an active subscription
- Azure Event Hubs connection string and a Azure Storage Account connection string. To learn more about how to create and configure EventHubs and Storage account, see the article here.
|
Event Hubs and Storage Account CreationAzure Event Hubs is a big data streaming platform and event ingestion service. It can receive and process millions of events per second. SubscriptionCreate Subscription (if not available) - This should be controlled by the billing administrator of the Azure Directory. Resource GroupCreate Resource Group (if not available) - A resource group is a container that holds related resources for an Azure solution. The resource group can include all the resources for the solution, or only those resources that you want to manage as a group. Create an Event Hubs Namespace Note |
---|
The following steps take place inside the Azure portal. |
- Log in to the Azure Portal. (https://portal.azure.com/#allservices)
- In search box next to All services, type event hub when Event Hub appear in the search results, select it.
- Event Hubs -> +Add
Image Added
- On the Create namespace page, take the following steps:
- Select the subscription in which you want to create the namespace.
- Select the resource group you created in the previous step.
- Enter a name for the namespace. The system immediately checks to see if the name is available.
- Select a location for the namespace.
- Choose the pricing tier(Standard (can not be basic as we are required to provide a named ConsumerGroup)).
- Throughput Units: 1
- Throughput units are explicitly selected by the customer, either through the Azure portal or event hub management APIs. Throughput units apply to all event hubs in a namespace, and each throughput unit entitles the namespace to the following capabilities:
- Up to 1 MB per second of ingress events (= events send into an event hub), but no more than 1,000 ingress events, management operations, or control API calls per second.
- Up to 2 MB per second of egress events (= events consumed from an event hub).
- Up to 84 GB of event storage (sufficient for the default 24-hour retention period).
- Throughput units are billed hourly, based on the maximum number of units selected during this hour.
- Setup Features
- Provides enhanced availability by spreading replicas across availability zones within one region at no additional cost. Learn more
Image Added
- Add tags: Tags can be any additional metadata used to describe the resource
- Review and create
Image Added
Create an Event Hub- On the Event Hubs Namespace page, select Event Hubs in the left menu.
- At the top of the window, click + Event Hub.
Image Added - Type a name - armor-logs for your event hub, then click Create.
- Click Create
Image Added
Create Shared access policies- On the Event Hubs Namespace page, select Event Hubs in the left menu.
- Select Event Hub created above, armor-logs.
- Select Shared access policies in Settings in the left menu and click +Add
- Enter Policy name → armor-logs
- Select Manage
- Click Create
Image Added
Create a Consumer Group- On the Event Hubs Namespace page, Click Event Hubs in the left menu.
- Select Event Hub created above, armor-logs.
- Select Consumer groups in Entities and click +Consumer group
- Name → armor-logs
- Click Create
Image Added
Retrieve Event Hub Connection String- Select All services, then type event hub when Event hub appear in the search results, select it.
- On the Event Hubs Namespace page, select Event Hubs.
- Select Event Hub created above, armor-logs.
- Select Shared access policies in settings.
- Select the Shared access policy created above, armor-logs.
- Copy Connection string—primary key
Image Added
Info |
---|
Endpoint=sb://[Namespace Name].servicebus.windows.net/;SharedAccessKeyName=[SAS Key Name];SharedAccessKey=[SAS Key];EntityPath=[Event Hub Name] |
Create Storage AccountAn Azure storage account contains all of your Azure Storage data objects: blobs, files, queues, tables, and disks. The storage account provides a unique namespace for your Azure Storage data that is accessible from anywhere in the world over HTTP or HTTPS. Data in your Azure storage account is durable and highly available, secure and massively scalable. - Log in to the Azure Portal. (https://portal.azure.com/#allservices )
- In search box next to All services, type storage account when Storage accounts appear in the search results, select it. All Services ->Storage accounts -> +Add
Image Added
- Basic :
- Storage account name
- Performance: Depending on the type of storage account you create, you can choose between standard and premium performance tiers.Learn more
- Account kind: Azure Storage offers several types of storage accounts. Each type supports different features and has its own pricing model.Learn more
Image Added
- Networking:
- Public endpoint (all networks)
Image Added
- Advanced:
- Secure transfer required: Enabled
- Large file shares: Disabled
- Blob soft delete: Disabled
- Versioning: Disabled
- Hierarchical namespace: Disabled
Image Added
- Tags: Tags are name/value pairs that enable you to categorize resources and view consolidated billing by applying the same tag to multiple resources and resource groups
Image Added
- Review and Create
- Click Create
Retrieve Storage Account Connection String- Select All services, then type storage account when Storage account appear in the search results, select it. Click on the storage account → Settings → Access Keys
- From the key 1 or key 2 section copy the Connection string
Image Added
Info |
---|
DefaultEndpointsProtocol=https;AccountName=[Storage Account Name];AccountKey=[Storage Account Key];EndpointSuffix=core.windows.net |
Create Armor Azure Event Hubs Log Source Note |
---|
The following steps take place inside the Armor Management Portal (AMP). |
- In the Armor Management Portal (AMP), in the left-side navigation, click Security.
- Click Log & Data Management.
- Click External Sources.
- Click the plus ( + ) sign.
- If you do not have any log sources already created, then click Add a New Log Source.
- Complete the missing fields:
- In Protocol, confirm that the Azure Platform is selected.
- Enter your Azure platform details:
- Consumer Group, by default, armor-logs will be populated.
- In Event Hub Connection String, paste your event hub connection string
- In Storage Acc. Connection String, paste your storage account connection string
- Click Save Log Source.
- A message will display at the bottom of the screen, indicating that the log source has been created.
Image Added
|