Add-AzureRmLogProfile

Active Directory Auditing Tool

The Who, Where and When information is very important for an administrator to have complete knowledge of all activities that occur on their Active Directory. This helps them identify any desired / undesired activity happening. ADAudit Plus assists an administrator with this information in the form of reports. In real-time, ensure critical resources in the network like the Domain Controllers are audited, monitored and reported with the entire information on AD objects - Users, Groups, GPO, Computer, OU, DNS, AD Schema and Configuration changes with 200+ detailed event specific GUI reports and email alerts.

Account Management » Add-AzureRmLogProfile

Add-AzureRmLogProfile

Syntax

Add-AzureRmLogProfile

-Name <String>]

[-StorageAccountId <String>

[-ServiceBusRuleId <String>

[-RetentionInDays <Int32>

-Location  

<System.Collections.Generic.List`1[System.String]>]

[-Category  

<System.Collections.Generic.List`1[System.String]>]

[-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