Skip to content

Commit 00c2463

Browse files
committed
endpoints
1 parent a119433 commit 00c2463

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ The following script uses the [Azure Monitor Ingestion client library for .NET](
4343
using Azure.Monitor.Ingestion;
4444
4545
// Initialize variables
46-
var endpoint = new Uri("https://logs-ingestion-rzmk.eastus2-1.ingest.monitor.azure.com");
46+
var endpoint = new Uri("https://my-url.monitor.azure.com");
4747
var ruleId = "dcr-00000000000000000000000000000000";
4848
var streamName = "Custom-MyTableRawData";
4949
@@ -160,7 +160,7 @@ The following sample code uses the [Azure Monitor Ingestion Logs client module f
160160
)
161161
162162
// logs ingestion URI
163-
const endpoint = "https://logs-ingestion-rzmk.eastus2-1.ingest.monitor.azure.com"
163+
const endpoint = "https://my-url.monitor.azure.com"
164164
// data collection rule (DCR) immutable ID
165165
const ruleID = "dcr-00000000000000000000000000000000"
166166
// stream name in the DCR that represents the destination table
@@ -257,7 +257,7 @@ The following sample code uses the [Azure Monitor Ingestion client library for J
257257
public static void main(String[] args) {
258258
259259
LogsIngestionClient client = new LogsIngestionClientBuilder()
260-
.endpoint("https://logs-ingestion-rzmk.eastus2-1.ingest.monitor.azure.com")
260+
.endpoint("https://my-url.monitor.azure.com")
261261
.credential(new DefaultAzureCredentialBuilder().build())
262262
.buildClient();
263263
@@ -325,7 +325,7 @@ The following sample code uses the [Azure Monitor Ingestion client library for J
325325
require("dotenv").config();
326326
327327
async function main() {
328-
const logsIngestionEndpoint = "https://logs-ingestion-rzmk.eastus2-1.ingest.monitor.azure.com";
328+
const logsIngestionEndpoint = "https://my-url.monitor.azure.com";
329329
const ruleId = "dcr-00000000000000000000000000000000";
330330
const streamName = "Custom-MyTableRawData";
331331
const credential = new DefaultAzureCredential();
@@ -484,7 +484,7 @@ The following sample code uses the [Azure Monitor Ingestion client library for P
484484
485485
```python
486486
# information needed to send data to the DCR endpoint
487-
endpoint_uri = "https://logs-ingestion-rzmk.eastus2-1.ingest.monitor.azure.com" # logs ingestion endpoint of the DCR
487+
endpoint_uri = "https://my-url.monitor.azure.com" # logs ingestion endpoint of the DCR
488488
dcr_immutableid = "dcr-00000000000000000000000000000000" # immutableId property of the Data Collection Rule
489489
stream_name = "Custom-MyTableRawData" #name of the stream in the DCR that represents the destination table
490490

0 commit comments

Comments
 (0)