Skip to content

Commit 46f8876

Browse files
committed
Update Azure deployment UI
1 parent da3e53b commit 46f8876

File tree

2 files changed

+753
-11
lines changed

2 files changed

+753
-11
lines changed

event-hubs-hec/deploy/azureDeploy.json

Lines changed: 232 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,10 @@
2323
"eventHubConnectionString": {
2424
"type": "string",
2525
"metadata": {
26-
"description": "Connection string for the activity log Event Hub"
26+
"description": "Event Hub Namespace connection string"
2727
}
2828
},
29+
2930
"activityLogHubName": {
3031
"type": "string",
3132
"defaultValue": "insights-activity-logs",
@@ -47,6 +48,141 @@
4748
"description": "Splunk source type for the activity log Event Hub"
4849
}
4950
},
51+
"activityLogDisabled": {
52+
"type": "bool",
53+
"defaultValue": false
54+
},
55+
56+
"aadLogHubName": {
57+
"type": "string",
58+
"defaultValue": "insights-logs-aad",
59+
"metadata": {
60+
"description": "Event Hub name containing Azure Active Directory logs"
61+
}
62+
},
63+
"aadLogEventHubConsumerGroup": {
64+
"type": "string",
65+
"defaultValue": "$Default",
66+
"metadata": {
67+
"description": "Consumer group for the Azure Active Directory log Event Hub"
68+
}
69+
},
70+
"aadLogSourceType": {
71+
"type": "string",
72+
"defaultValue": "azure:aad",
73+
"metadata": {
74+
"description": "Splunk source type for the Azure Active Directory log Event Hub"
75+
}
76+
},
77+
"aadLogDisabled": {
78+
"type": "bool",
79+
"defaultValue": false
80+
},
81+
82+
"aadNoninteractiveLogHubName": {
83+
"type": "string",
84+
"defaultValue": "insights-logs-noninteractiveusersigninlogs",
85+
"metadata": {
86+
"description": "Event Hub name containing Azure Active Directory non-interactive logs"
87+
}
88+
},
89+
"aadNoninteractiveLogEventHubConsumerGroup": {
90+
"type": "string",
91+
"defaultValue": "$Default",
92+
"metadata": {
93+
"description": "Consumer group for the Azure Active Directory non-interactive log Event Hub"
94+
}
95+
},
96+
"aadNoninteractiveLogSourceType": {
97+
"type": "string",
98+
"defaultValue": "azure:aad:signin:noninteractive",
99+
"metadata": {
100+
"description": "Splunk source type for the Azure Active Directory non-interactive log Event Hub"
101+
}
102+
},
103+
"aadNoninteractiveLogDisabled": {
104+
"type": "bool",
105+
"defaultValue": true
106+
},
107+
108+
"aadServicePrincipalLogHubName": {
109+
"type": "string",
110+
"defaultValue": "insights-logs-serviceprincipalsigninlogs",
111+
"metadata": {
112+
"description": "Event Hub name containing Azure Active Directory Service Principal logs"
113+
}
114+
},
115+
"aadServicePrincipalLogEventHubConsumerGroup": {
116+
"type": "string",
117+
"defaultValue": "$Default",
118+
"metadata": {
119+
"description": "Consumer group for the Azure Active Directory Service Principal log Event Hub"
120+
}
121+
},
122+
"aadServicePrincipalLogSourceType": {
123+
"type": "string",
124+
"defaultValue": "azure:aad:signin:serviceprincipal",
125+
"metadata": {
126+
"description": "Splunk source type for the Azure Active Directory Service Principal log Event Hub"
127+
}
128+
},
129+
"aadServicePrincipalLogDisabled": {
130+
"type": "bool",
131+
"defaultValue": true
132+
},
133+
134+
"metricsHubName": {
135+
"type": "string",
136+
"defaultValue": "insights-metrics-pt1m",
137+
"metadata": {
138+
"description": "Event Hub name containing metrics"
139+
}
140+
},
141+
"metricsEventHubConsumerGroup": {
142+
"type": "string",
143+
"defaultValue": "$Default",
144+
"metadata": {
145+
"description": "Consumer group for the metrics Event Hub"
146+
}
147+
},
148+
"metricsSourceType": {
149+
"type": "string",
150+
"defaultValue": "azure:metrics",
151+
"metadata": {
152+
"description": "Splunk source type for the metrics Event Hub"
153+
}
154+
},
155+
"metricsDisabled": {
156+
"type": "bool",
157+
"defaultValue": true
158+
},
159+
160+
"diagnosticsHubName": {
161+
"type": "string",
162+
"defaultValue": "insights-logs-diag",
163+
"metadata": {
164+
"description": "Event Hub name containing diagnostics"
165+
}
166+
},
167+
"diagnosticsEventHubConsumerGroup": {
168+
"type": "string",
169+
"defaultValue": "$Default",
170+
"metadata": {
171+
"description": "Consumer group for the diagnostics Event Hub"
172+
}
173+
},
174+
"diagnosticsSourceType": {
175+
"type": "string",
176+
"defaultValue": "azure:diagnostics",
177+
"metadata": {
178+
"description": "Splunk source type for the diagnostics Event Hub"
179+
}
180+
},
181+
"diagnosticsDisabled": {
182+
"type": "bool",
183+
"defaultValue": true
184+
},
185+
50186
"githubRepoURL": {
51187
"type": "string",
52188
"defaultValue": "https://github.com/splunk/azure-functions-splunk.git"
@@ -55,6 +191,10 @@
55191
"type": "string",
56192
"defaultValue": "master"
57193
},
194+
"githubRepoProject": {
195+
"type": "string",
196+
"defaultValue": "event-hubs-hec"
197+
},
58198
"SplunkEndpoint": {
59199
"type": "string",
60200
"metadata": {
@@ -149,6 +289,96 @@
149289
"name": "ACTIVITY_LOG_SOURCETYPE",
150290
"value": "[parameters('activityLogSourceType')]"
151291
},
292+
{
293+
"name": "AzureWebJobs.activity-logs.Disabled",
294+
"value": "[parameters('activityLogDisabled')]"
295+
},
296+
297+
{
298+
"name": "AAD_LOG_HUB_NAME",
299+
"value": "[parameters('aadLogHubName')]"
300+
},
301+
{
302+
"name": "AAD_LOG_CONSUMER_GROUP",
303+
"value": "[parameters('aadLogEventHubConsumerGroup')]"
304+
},
305+
{
306+
"name": "AAD_LOG_SOURCETYPE",
307+
"value": "[parameters('aadLogSourceType')]"
308+
},
309+
{
310+
"name": "AzureWebJobs.aad-logs.Disabled",
311+
"value": "[parameters('aadLogDisabled')]"
312+
},
313+
314+
{
315+
"name": "AAD_NON_INTERACTIVE_SIGNIN_LOG_HUB_NAME",
316+
"value": "[parameters('aadNoninteractiveLogHubName')]"
317+
},
318+
{
319+
"name": "AAD_NON_INTERACTIVE_SIGNIN_LOG_CONSUMER_GROUP",
320+
"value": "[parameters('aadNoninteractiveLogEventHubConsumerGroup')]"
321+
},
322+
{
323+
"name": "AAD_NON_INTERACTIVE_SIGNIN_LOG_SOURCETYPE",
324+
"value": "[parameters('aadNoninteractiveLogSourceType')]"
325+
},
326+
{
327+
"name": "AzureWebJobs.aad-signin-logs-non-interactive.Disabled",
328+
"value": "[parameters('aadNoninteractiveLogDisabled')]"
329+
},
330+
331+
{
332+
"name": "AAD_SERVICE_PRINCIPAL_SIGNIN_LOG_HUB_NAME",
333+
"value": "[parameters('aadServicePrincipalLogHubName')]"
334+
},
335+
{
336+
"name": "AAD_SERVICE_PRINCIPAL_SIGNIN_LOG_CONSUMER_GROUP",
337+
"value": "[parameters('aadServicePrincipalLogEventHubConsumerGroup')]"
338+
},
339+
{
340+
"name": "AAD_SERVICE_PRINCIPAL_SIGNIN_LOG_SOURCETYPE",
341+
"value": "[parameters('aadServicePrincipalLogSourceType')]"
342+
},
343+
{
344+
"name": "AzureWebJobs.aad-signin-logs-service-principal.Disabled",
345+
"value": "[parameters('aadServicePrincipalLogDisabled')]"
346+
},
347+
348+
{
349+
"name": "METRICS_LOG_HUB_NAME",
350+
"value": "[parameters('metricsHubName')]"
351+
},
352+
{
353+
"name": "METRICS_LOG_CONSUMER_GROUP",
354+
"value": "[parameters('metricsEventHubConsumerGroup')]"
355+
},
356+
{
357+
"name": "METRICS_LOG_SOURCETYPE",
358+
"value": "[parameters('metricsSourceType')]"
359+
},
360+
{
361+
"name": "AzureWebJobs.metrics.Disabled",
362+
"value": "[parameters('metricsDisabled')]"
363+
},
364+
365+
{
366+
"name": "DIAGNOSTIC_LOG_HUB_NAME",
367+
"value": "[parameters('diagnosticsHubName')]"
368+
},
369+
{
370+
"name": "DIAGNOSTIC_LOG_SOURCETYPE",
371+
"value": "[parameters('diagnosticsEventHubConsumerGroup')]"
372+
},
373+
{
374+
"name": "DIAGNOSTIC_LOG_SOURCETYPE",
375+
"value": "[parameters('diagnosticsSourceType')]"
376+
},
377+
{
378+
"name": "AzureWebJobs.diatnostic-logs.Disabled",
379+
"value": "[parameters('diagnosticsDisabled')]"
380+
},
381+
152382
{
153383
"name": "SPLUNK_HEC_TOKEN",
154384
"value": "[parameters('SplunkToken')]"
@@ -163,7 +393,7 @@
163393
},
164394
{
165395
"name": "Project",
166-
"value": "event-hubs-hec"
396+
"value": "[parameters('githubRepoProject')]"
167397
}
168398
]
169399
}

0 commit comments

Comments
 (0)