-
Notifications
You must be signed in to change notification settings - Fork 38
Open
Description
Can you provide a simple appsettings.json that demonstrates a managed id.
I dont have access to the app-source just the appsettings.
Using a connectionString works but id rather use managedIdenties
I tried...
"Serilog": {
"Using": [
"Serilog.Sinks.Console",
"Serilog.Sinks.AzureBlobStorage"
],
"MinimumLevel": "Debug",
"WriteTo": [
{
"Name": "Console",
"Args": {
"outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss} [{Level}] {Message} {Properties}{NewLine}"
}
},
{
"Name": "AzureBlobStorage",
"Args": {
"managedIdentityClientId": "XXXXXX-XXXX-XXXX-XXXX-XXXXX",
"storageAccountUri": "https://mystorageacct.blob.core.windows.net/",
"storageContainerName": "mycontainer",
"storageFileName": "envoyauth_{yyyy}{MM}{dd}_{HH}{mm}.log",
"outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss} [{Level}] {Message} {Properties}{NewLine}",
"rollingInterval": "Day",
"period": "00:00:30",
"batchPostingLimit": "50"
}
}
],
"Enrich": [
"FromLogContext"
]
},
Metadata
Metadata
Assignees
Labels
No labels