Skip to content

Commit 98b23bc

Browse files
committed
Revert "update event hub forwarder and template"
This reverts commit 8ddd100.
1 parent 8ddd100 commit 98b23bc

File tree

7 files changed

+11
-19
lines changed

7 files changed

+11
-19
lines changed
-717 KB
Binary file not shown.

azure/activity_logs_monitoring/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
const { app, InvocationContext } = require('@azure/functions');
77

8-
const VERSION = '2.2.0';
8+
const VERSION = '2.1.1';
99

1010
const STRING = 'string'; // example: 'some message'
1111
const STRING_ARRAY = 'string-array'; // example: ['one message', 'two message', ...]
@@ -29,7 +29,7 @@ const DD_SOURCE = process.env.DD_SOURCE || 'azure';
2929
const DD_SOURCE_CATEGORY = process.env.DD_SOURCE_CATEGORY || 'azure';
3030
const DD_PARSE_DEFENDER_LOGS = process.env.DD_PARSE_DEFENDER_LOGS; // Boolean whether to enable special parsing of Defender for Cloud logs. Set to 'false' to disable
3131

32-
const EVENTHUB_NAME = process.env.EVENTHUB_NAME || 'datadogEventhub'; // The event hub name inside your eventhub namespace
32+
const EVENTHUB_NAME = process.env.EVENTHUB_NAME || 'datadog-eventhub'; // The event hub name inside your eventhub namespace
3333

3434
const MAX_RETRIES = 4; // max number of times to retry a single http request
3535
const RETRY_INTERVAL = 250; // amount of time (milliseconds) to wait before retrying request, doubles after every retry

azure/activity_logs_monitoring/package-lock.json

Lines changed: 5 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

azure/activity_logs_monitoring/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55
"author": "Datadog",
66
"license": "Apache-2.0",
77
"dependencies": {
8-
"@azure/functions": "^4.9.0"
8+
"@azure/functions": "^4.8.0"
99
}
1010
}

azure/eventhub_log_forwarder/activity_log_diagnostic_settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
},
2424
"eventHubName": {
2525
"type": "string",
26-
"defaultValue": "datadogEventhub",
26+
"defaultValue": "datadog-eventhub",
2727
"metadata": {
2828
"description": "Name of the EventHub to which the Activity logs will be sent."
2929
}

azure/eventhub_log_forwarder/event_hub.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
},
1717
"eventHubName": {
1818
"type": "string",
19-
"defaultValue": "datadogEventhub",
19+
"defaultValue": "datadog-eventhub",
2020
"metadata": {
2121
"description": "Name of Event Hub"
2222
}

azure/eventhub_log_forwarder/parent_template.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
},
5555
"eventhubName": {
5656
"type": "string",
57-
"defaultValue": "datadogEventhub",
57+
"defaultValue": "datadog-eventhub",
5858
"metadata": {
5959
"description": "The name of the eventhub."
6060
}

0 commit comments

Comments
 (0)