diff --git a/plugins/inputs/eventhub_consumer/README.md b/plugins/inputs/eventhub_consumer/README.md index 151e0802a..06c43cf31 100644 --- a/plugins/inputs/eventhub_consumer/README.md +++ b/plugins/inputs/eventhub_consumer/README.md @@ -30,7 +30,7 @@ The main focus for development of this plugin is Azure IoT hub: ## Uncommenting the option below will create an Event Hub client based solely on the connection string. ## This can either be the associated environment variable or hard coded directly. - # connection_string = "$EVENTHUB_CONNECTION_STRING" + # connection_string = "" ## Set persistence directory to a valid folder to use a file persister instead of an in-memory persister # persistence_dir = "" @@ -68,8 +68,8 @@ The main focus for development of this plugin is Azure IoT hub: ## Tags or fields to create from keys present in the application property bag. ## These could for example be set by message enrichments in Azure IoT Hub. - application_property_tags = [] - application_property_fields = [] + # application_property_tags = [] + # application_property_fields = [] ## Tag or field name to use for metadata ## By default all metadata is disabled @@ -91,6 +91,8 @@ The main focus for development of this plugin is Azure IoT hub: data_format = "influx" ``` -### Additional Environment +#### Environment Variables -- Authentication with [AAD TokenProvider environment variables](https://github.com/Azure/azure-event-hubs-go#aad-tokenprovider-environment-variables) +[Full documentation of the available environment variables][envvar]. + +[envvar]: https://github.com/Azure/azure-event-hubs-go#environment-variables diff --git a/plugins/inputs/eventhub_consumer/eventhub_consumer.go b/plugins/inputs/eventhub_consumer/eventhub_consumer.go index d5e2be115..da8a6e5f7 100644 --- a/plugins/inputs/eventhub_consumer/eventhub_consumer.go +++ b/plugins/inputs/eventhub_consumer/eventhub_consumer.go @@ -81,7 +81,7 @@ func (*EventHub) SampleConfig() string { ## Uncommenting the option below will create an Event Hub client based solely on the connection string. ## This can either be the associated environment variable or hard coded directly. - # connection_string = "$EVENTHUB_CONNECTION_STRING" + # connection_string = "" ## Set persistence directory to a valid folder to use a file persister instead of an in-memory persister # persistence_dir = "" @@ -119,8 +119,8 @@ func (*EventHub) SampleConfig() string { ## Tags or fields to create from keys present in the application property bag. ## These could for example be set by message enrichments in Azure IoT Hub. - application_property_tags = [] - application_property_fields = [] + # application_property_tags = [] + # application_property_fields = [] ## Tag or field name to use for metadata ## By default all metadata is disabled