Add-AzureRmLogProfile
Syntax
-Name <String>]
[-StorageAccountId <String>
[-ServiceBusRuleId <String>
[-RetentionInDays <Int32>
-Location
[-Category
[-DefaultProfile <IAzureContextContainer>]
[ <CommonParameters>]
Description
This cmdlet creates a new activity log profile. This profile is used to either archive the activity log to an Azure storage account or stream it to an Azure event hub in the same subscription.
- Storage Account - The cost of storing the activity log is billed at normal standard storage rates. There could be only one log profile per subscription;
consequentially only one storage account per subscription can be used to export activity log. - Event Hub -If activity log is streamed to an event hub, standard event hub pricing will apply. There could be only one log profile per subscription consequentially only one event hub per subscription can be used to export activity log.
Required parameters
-Location
Description | Specifies the location of the log profile. |
Type | System.Collections.Generic.List`1[System.String] |
Position | Named |
Default value | None |
Accept pipeline input | True (ByPropertyName) |
Accept Wildcard characters | False |
-Name
Description | Specifies the name of the profile. |
Type | String |
Position | Named |
Default value | None |
Accept pipeline input | True (ByPropertyName) |
Accept Wildcard characters | False |
Output
Microsoft.Azure.Commands.Insights.OutputClasses.PSLogProfile
Explore Active Directory auditing and reporting with ADAudit Plus.
- Related Products
- ADManager Plus Active Directory Management & Reporting
- ADAudit Plus Real-time Active Directory Auditing and UBA
- EventLog Analyzer Real-time Log Analysis & Reporting
- ADSelfService Plus Self-Service Password Management
- AD360 Integrated Identity & Access Management
- Log360 (On-Premise | Cloud) Comprehensive SIEM and UEBA
- AD Free Tools Active Directory FREE Tools