Skip to content

Commit 48f02a9

Browse files
authored
Merge pull request #5569 from MicrosoftDocs/mike-urnun-msft-patch-2
updates api-version reference
2 parents e981444 + 311ebe1 commit 48f02a9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

articles/api-management/api-management-howto-log-event-hubs.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ API Management loggers are configured using the [API Management REST API](http:/
3333

3434
To create a logger, make an HTTP PUT request using the following URL template:
3535

36-
`https://{your service}.management.azure-api.net/loggers/{new logger name}?api-version=2014-02-14-preview`
36+
`https://{your service}.management.azure-api.net/loggers/{new logger name}?api-version=2017-03-01`
3737

3838
* Replace `{your service}` with the name of your API Management service instance.
3939
* Replace `{new logger name}` with the desired name for your new logger. You reference this name when you configure the [log-to-eventhub](https://msdn.microsoft.com/library/azure/dn894085.aspx#log-to-eventhub) policy
@@ -48,7 +48,7 @@ Specify the request body using the following template:
4848

4949
```json
5050
{
51-
"loggertype" : "AzureEventHub",
51+
"loggerType" : "AzureEventHub",
5252
"description" : "Sample logger description",
5353
"credentials" : {
5454
"name" : "Name of the Event Hub from the Azure Classic Portal",
@@ -57,7 +57,7 @@ Specify the request body using the following template:
5757
}
5858
```
5959

60-
* `loggertype` must be set to `AzureEventHub`.
60+
* `loggerType` must be set to `AzureEventHub`.
6161
* `description` provides an optional description of the logger and can be a zero length string if desired.
6262
* `credentials` contains the `name` and `connectionString` of your Azure Event Hub.
6363

0 commit comments

Comments
 (0)