Forum Discussion

laljeevan's avatar
laljeevan
Copper Contributor
Aug 04, 2021

Adding custom log azure log analytics

hello Team 

 

hope you are doing good .could you please tell me how to add these custom logs and pull information for azure log analytics query   ,when i add it doesn't pull any info 

 

The whole article is here 

https://docs.microsoft.com/en-us/azure/virtual-desktop/set-up-scaling-script

 

 

------------------------------------------------------

# Specify the name of the record type that you'll be creating
[string]$TenantScaleLogType = "WVDTenantScale_CL"
# Specify a field with the created time for the records
$TimeStampField = (Get-Date).GetDateTimeFormats(115)
# Custom WVDTenantScale Table
$CustomLogWVDTenantScale = @"
[
    {
        "hostpoolName":" ",
        "logmessage": " "
    }
]
"@
No RepliesBe the first to reply

Resources