Get-CASentinelEventSubscriptions
Use this command to see the details of the current Microsoft Sentinel subscriptions.
Table 22. Available parameters
Example: Get a list of all Microsoft Sentinel subscriptions
Get-CASentinelEventSubscriptions -Connection $connection
The command returns the following information.
Set-CASentinelEventSubscription
Use this command to modify a Microsoft Sentinel subscription
The ID of the subscription to modify. This parameter is required if the Subscription parameter is not specified. Use the Get-CASentinelEventSubscriptions command to find the ID.
• To obtain an array of subsystems, use the Get-CAEventExportSubsystems command and filter the list to specify the required subsystems.The unique identifier for the Log Analytics workspace that has been enabled for Microsoft Sentinel.
Example: Set a new batch size value for a Microsoft Sentinel subscription
Remove-CASentinelEventSubscription
Use this command to remove a subscription.
Table 24. Available parameters
The PSCASentinelEventSubscriptionStatus object obtained using Get-CASentinelEventSubscriptions that corresponds to the subscription to remove. This parameter is required if the SubscriptionId parameter is not specified.
The ID of the subscription to remove. This parameter is required if the Subscription parameter is not specified. Use the Get-CASentinelEventSubscriptions command to find the ID.
Example: Remove a subscription Remove-CASentinelEventSubscription -Subscription $subscription
Microsoft Sentinel event subscription wizard
From the Event Subscription Wizard you can add and edit a Microsoft Sentinel subscription.
•To create a subscription
3
4 Click Next to select the events to forward based on subsystem and event date.
▪ By default, events start sending after the subscription is created. To change when to begin collecting and sending events, click Send events starting from and select the desired date and time.
5 Click Finish.To edit the subscription
4 Click Finish.