.. _param-omazureeventhubs-azurehost:
.. _omazureeventhubs.parameter.input.azurehost:

azurehost
=========

.. index::
   single: omazureeventhubs; azurehost
   single: azurehost

.. summary-start

Sets the fully qualified Event Hubs namespace host the action connects to.

.. summary-end

This parameter applies to :doc:`../../configuration/modules/omazureeventhubs`.

:Name: azurehost
:Scope: input
:Type: word
:Default: input=none
:Required?: no
:Introduced: v8.2304

Description
-----------
Specifies the fully qualified domain name (FQDN) of the Event Hubs instance that the
rsyslog output plugin should connect to. The format of the hostname should be
``<namespace>.servicebus.windows.net``, where ``<namespace>`` is the name of the
Event Hubs namespace that was created in Microsoft Azure. This setting is required
unless ``amqpAddress`` supplies the complete connection string.

Input usage
-----------
.. _omazureeventhubs.parameter.input.azurehost-usage:

.. code-block:: rsyslog

   action(type="omazureeventhubs" azureHost="example.servicebus.windows.net" ...)

See also
--------
See also :doc:`../../configuration/modules/omazureeventhubs`.
