Create, view, and manage Event Grid system topics in the Azure portal
This article shows you how to create and manage system topics using the Azure portal. For an overview of system topics, see System topics.
Create a system topic
You can create a system topic for an Azure resource (Storage account, Event Hubs namespace, etc.) in two ways:
Using the Events page of a resource, for example, Storage Account or Event Hubs Namespace. Event Grid automatically creates a system topic for you in this case.
When you use the Events page in the Azure portal to create an event subscription for an event raised by an Azure source (for example: Azure Storage account), the portal creates a system topic for the Azure resource and then creates a subscription for the system topic. You specify the name of the system topic if you're creating an event subscription on the Azure resource for the first time. From the second time onwards, the system topic name is displayed for you in the read-only mode. See Quickstart: Route Blob storage events to web endpoint with the Azure portal for detailed steps.
Using the Event Grid System Topics page. You create a system topic manually in this case by using the following steps.
Sign in to Azure portal.
In the search box at the top, type Event Grid System Topics, and then press ENTER.
On the Event Grid System Topics page, select + Create on the toolbar.
On the Create Event Grid System Topic page, do the following steps:
Select the topic type. In the following example, Storage Accounts option is selected.
Select the Azure subscription that has your storage account resource.
Select the resource group that has the storage account.
Select the storage account.
Enter a name for the system topic to be created.
Note
You can use this system topic name to search metrics and diagnostic logs.
Select Review + create.
Review settings and select Create.
After the deployment succeeds, select Go to resource to see the Event Grid System Topic page for the system topic you created.
View all system topics
Follow these steps to view all existing Event Grid system topics.
Sign in to Azure portal.
In the search box at the top, type Event Grid System Topics, and then press ENTER.
On the Event Grid System Topics page, you see all the system topics.
Select a system topic from the list to see details about it.
This page shows you details about the system topic such as the following information:
- Source. Name of the resource on which the system topic was created.
- Source type. Type of the resource. For example:
Microsoft.Storage.StorageAccounts
,Microsoft.EventHub.Namespaces
,Microsoft.Resources.ResourceGroups
and so on. - Any subscriptions created for the system topic.
This page allows operations such as the following ones:
- Create an event subscription Select +Event Subscription on the toolbar.
- Delete an event subscription. Select Delete on the toolbar.
- Add tags for the system topic. Select Tags on the left menu, and specify tag names and values.
Delete a system topic
Follow instructions from the View system topics section to view all system topics, and select the system topic that you want to delete from the list.
On the Event Grid System Topic page, select Delete on the toolbar.
On the confirmation page, select OK to confirm the deletion. It deletes the system topic and also all the event subscriptions for the system topic.
Create an event subscription
Follow instructions from the View system topics section to view all system topics, and select the system topic that you want to delete from the list.
On the Event Grid System Topic page, select + Event Subscription from the toolbar.
Confirm that the Topic Type, Source Resource, and Topic Name are automatically populated. Enter a name, select an Endpoint Type, and specify the endpoint. Then, select Create to create the event subscription.
Next steps
See the System topics in Azure Event Grid section to learn more about system topics and topic types supported by Azure Event Grid.