We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ea5a68 commit 8128cb8Copy full SHA for 8128cb8
articles/azure-monitor/logs/tutorial-logs-ingestion-code.md
@@ -350,6 +350,11 @@ The following script uses the [Azure Monitor Ingestion client library for .NET](
350
2. Replace the variables in the following sample code with values from your DCE and DCR. You may also want to replace the sample data with your own.
351
352
```csharp
353
+ using Azure;
354
+ using Azure.Core;
355
+ using Azure.Identity;
356
+ using Azure.Monitor.Ingestion;
357
+
358
// Initialize variables
359
var endpoint = new Uri("https://logs-ingestion-rzmk.eastus2-1.ingest.monitor.azure.com");
360
var ruleId = "dcr-00000000000000000000000000000000";
0 commit comments