Skip to content

Commit 8128cb8

Browse files
committed
added using statement to .NET
1 parent 2ea5a68 commit 8128cb8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

articles/azure-monitor/logs/tutorial-logs-ingestion-code.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -350,6 +350,11 @@ The following script uses the [Azure Monitor Ingestion client library for .NET](
350350
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.
351351
352352
```csharp
353+
using Azure;
354+
using Azure.Core;
355+
using Azure.Identity;
356+
using Azure.Monitor.Ingestion;
357+
353358
// Initialize variables
354359
var endpoint = new Uri("https://logs-ingestion-rzmk.eastus2-1.ingest.monitor.azure.com");
355360
var ruleId = "dcr-00000000000000000000000000000000";

0 commit comments

Comments
 (0)