Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Keep Alive
    • The MQTT keep alive timeout in seconds
  • Max Message Size
    • The maximum message size in bytes that any message can be when pushing to IoT Hub. Generally, this should match the max message size allowed by IoTHub.
  • Session Expiration
    • How long in seconds to specify for session token timeouts when not using certificate based authentication
  • Content Type
    • The content type to include in the topic to Azure IoT Hub

      • NONE (default) - No content type header will be included with the message
      • APPLICATION_JSON - The application/json header will be included with the message and make the body of the message available for routing if content encoding is also not 'NONE'
    • See Using IoT Hub Message Based Routing tutorial for more details
  • Content Encoding
    • The content encoding to include in the topic to Azure IoT Hub
      • NONE (default) - No content encoding header will be included with the message
      • UTF_8 - The 'utf-8' header will be included with the message and make the body of the message available for routing if the content type is also set to APPLICATION_JSON
      • UTF_16 - The 'utf-16' header will be included with the message and make the body of the message available for routing if the content type is also set to APPLICATION_JSON
      • UTF_32 - The 'utf-32' header will be included with the message and make the body of the message available for routing if the content type is also set to APPLICATION_JSON
      • ISO-8859-1 - The 'ISO-5589-1' header will be included with the message and make the body of the message available for routing if the content type is also set to APPLICATION_JSON
    • See Using IoT Hub Message Based Routing tutorial for more details
  • Azure Date/Time Format
    • The date/time format to use when pushing messages to IoT Hub
      • LONG_MS_SINCE_EPOCH (default) - The timestamp values will all be as numbers in milliseconds since epoch (Jan 1, 1970) in UTC
      • STRING_AZURE_COMPAT - The timestamp will be pushed as described here. This is useful when wanting to use 'edge' timestamps in Azure Time Series insights.
    • See Pushing Data to Azure Time Series Insights tutorial for more details

...

Anchor
azureeventhubs
azureeventhubs
Azure Event Hubs

The Azure Event Hubs tab has two parts - Settings and Certificates

Note
From release 4.0.26, certificate based authentication is supported

Anchor
azureeventhubssettings
azureeventhubssettings
Azure Event Hubs - Settings

This tab provides a list of Azure Event Hub endpoints that the module should connect to to push tag data. One or more Azure Event Hub endpoints can be configured on this tab. Image AddedThis tab provides a list of Azure Event Hub endpoints that the module should connect to to push tag data. One or more Azure Event Hub endpoints can be configured on this tab. Image Removed

Clicking on the 'Create new Azure Event Hub ..' link will bring up the following form to add a new Azure Event Hub. The configuration sections available are Main, Authentication, Store & Forward and Advanced

Anchor
eventhubssettingsmain
eventhubssettingsmain
Azure Event Hub - MainImage RemovedImage Added

  • Setting Name
    • This is a friendly name of the Azure Event Hub used to easily identify it.  This must also be unique.
  • Enabled
    • Whether or not this connection is enabled.
  • Set
    • The Set to associate this Azure Event Hub connection with.

Anchor
eventhubssettingsauthentication
eventhubssettingsauthentication
Azure Event Hubs Settings - Authentication

Image Added

  • Enable Certificate Based Authentication
    • Whether or not to use certificate based authentication.
    • If not using certificate based authentication, the 'Password' field must be used.
    • If certificate based authentication is used, the other Authentications fields must be used.
  • Password/Connection String
    • This is
    Password/Connection String
    • This is the Azure Event Hub connection string used to connect. 
    • NOTES: Be sure to provide the connection string for the EventHub itself and not the EventHub Namespace. They both have connection strings, but the one for the EventHub will be of the form -

      Endpoint=<YOUR_ENDPOINT>;SharedAccessKeyName=<YOUR_KEYNAME>;SharedAccessKey=<YOUR_KEY>=;EntityPath=<YOUR_EVENTHUB_ENTITYPATH>

      The Namespace connection string will not contain the entity path.

  • Set
    • The Set to associate this Azure Event Hub connection with.

...

  • Tenant ID
    • The Azure Tenant ID
  • Service Principal Client ID
    • The Service Principal Client ID associated with the client certificate
  • Event Hub Namespace
    • The Event Hub Namespace associated with the client certificate
  • Event Hub Name
    • The Event Hub Name associated with the client certificate
  • Client Certificate File
    • The client certificate file currently in use
    • The drop down is populated from a list of files that have been uploaded to the Event Hubs Certificates tab.
  • Client Private Key File
    • The client private key file currently in use
    • The drop down is populated from a list of files that have been uploaded to the Event Hubs Certificates tab.
  • Password
    • The password used for the private key if one was specified for the key

Anchor
eventhubssettingsstoreandforward
eventhubssettingsstoreandforward
Azure Event Hubs Settings - Store & Forward


Note

From release 4.0.19, major improvements have been made to the disk-backed History Store. As a result, Message Capacity has been deprecated and History Max Age added

Image Added

  • Store & Forward Enabled
    • Whether to enable Store & Forward capabilities for this endpoint
  • Store & Forward Type
    • The type of the Store & Forward mechanism options: In_Memory and Disk_Backed (available in release 4.0.17 and higher)
    • Data stored with an In_Memory Store & Forward
Note

From release 4.0.19, major improvements have been made to the disk-backed History Store. As a result, Message Capacity has been deprecated and History Max Age added

Image Removed

  • Store & Forward Enabled
    • Whether to enable Store & Forward capabilities for this endpoint
  • Store & Forward Type
    • The type of the Store & Forward mechanism options: In_Memory and Disk_Backed (available in release 4.0.17 and higher)
    • Data stored with an In_Memory Store & Forward will not be persisted across a module configuration change, module disable/enable, module restart or power loss. 
    • Data stored with a Disk_Backed Store & Forward will persist across a module configuration change, module disable/enable, module restart or power loss
  • Message Capacity - deprecated in 4.0.19
    • The maximum number of messages to store before dropping the oldest historical messages
  • History Max Size
    • The maximum number of megabytes history can use before dropping the data
    • In_Memory Store & Forward will use the Ignition Java Heap memory
  • History Max Age
    • The maximum number of minutes to store history before dropping the data
  • Flush Period
    • The period of time to wait (in milliseconds) between sending when flushing messages

...

  • H2 Database Directory - added in 4.0.25
    • Directory to store the H2 Database in. Applicable for Disk-backed history store only
    • The default base path for Linux is ~yourIgnitionInstance\data\modules and the database will be included in the Ignition GWBK
    • The default location for Windows Linux is ~yourIgnitionInstance\user-lib\modules and the database will not be included in the Ignition GWBK
    • The database file will be created in this directory under the base path com.cirrus-link\com.cirruslink.injector.azure.gateway\h2
  • H2 Database PortDatabase Port
    • TCP Port to connect to H2 Database for Disk_Backed Store & Forward

Anchor
azureeventhubscertificates
azureeventhubscertificates
Azure Event Hubs - Certificates

This tab provides a list of the certificate or private keys loaded and available for certificate based authentication. This should include the client certification file and the client private key file.

Note
All certificate or private keys must be in PEM format. Private key formats supported include RSA PKCS1 or PKCS8 format.

Image Added

Clicking on the 'Create new Certificate...' will bring up the following form to add a new certificate. The Certificates tab contains only a single Main section.

Anchor
azureeventhubscertificatesmain
azureeventhubscertificatesmain
Azure Event Hubs Certificates - Main

Image Added

  • Certificate File Upload
    • Browse to the certificate or private key to upload
  • Friendly Name
    • The friendly name of the certificate file or private key
  • File Description
    • The description of the certificate file or private key
    • TCP Port to connect to H2 Database for Disk_Backed Store & Forward

Anchor
azureiotcentral
azureiotcentral
Azure IoT Central

...

Anchor
tagagentsagentsettings
tagagentsagentsettings
Tag Agents - Agent Settings

Image RemovedImage Added

  • Name
    • A unique name for the tag agent.
  • Enabled
    • Sets whether the Tag Agent is enabled or disabled.  If disabled, the Tag Agent will not run and no data will be pushed to any configured endpoints.
  • Tag Provider Name
    • The name of the Tag provider containing the tags.
  • Tag Path
    • An optional path to the root folder where the tag tree starts.
  • Push Trigger
    • Defines what triggers a push to the cloud endpoint
      • EVENT_DRIVEN (default) - when a tag change event (value or quality) occurs, and no pending push exists, tag events will be aggregated for the 'Tag Pacing Period' before being pushed.  
      • PERIODIC - will push the latest data for all tags associated with the Agent every 'Tag Pacing Period'.
        • With this option, only one event per tag will be sent
        and tag change events will not be captured.
        • - this may result in data loss if tags are changing more frequently than the 'tag pacing period'
      • HYBRID - will push change events as EVENT_DRIVEN but will also push non changed events on the same tag pacing period.
    • Review How the MQTT Injector Push Trigger affects data published for examples
  • Tag Pacing Period
    • The buffer period, in milliseconds, that Tag events will be aggregated into a single payload before pushing.
  •  Convert UDTs
    • Whether to convert UDT members to normal Tags before publishing.  If enabled the Tags representing the UDT member will retain their member path prefixed by the UDT Instance name.
  • Publish UDT Definitions
    • This will only be used if 'Convert UDTs' is false  
    • Whether or not to push the UDT Definitions in the the NBIRTH messages
  • Optimize UDTs
    • This will only be used if 'Convert UDTs' is false
    • Whether or not to 'convert UDTs' only for DATA messages.
  • Set
    • The Set of Azure IoT Hub endpoints that the Tag Agent will push to.

...

  • Group ID
    • An ID representing a logical grouping of MQTT Edge Of Network (EoN) Nodes and Devices into the infrastructure.
  • Edge Node ID
    • An ID that uniquely identifies the MQTT Edge Of Network (EoN) Node within the infrastructure.
  • Device ID
    • An optional ID that uniquely identifies a Device within the infrastructure.

The Sparkplug settings are optional and allow for an additional customization of how the Tag Agent scans and discovers tag within the specified Tag Path.

Tip
For more information see the Cloud Injector Tag Agents and Tag Trees tutorial.

Anchor
tagagentsadvanced
tagagentsadvanced
Tag Agents - Advanced

Image RemovedImage Added

  • Send All Properties - added in 4.0.25
    • Send all properties, including default properties, in Sparkplug BIRTH messages
  • Include Info & Control Folders - added in 4.0.30
    • Push all Node and Device Info and Control folder tags from MQTT Engine
  • Filtered Properties
    • A semicolon delimited list of Tag properties to filter/block from being published.  These should typically not be modified unless there is an explicit requirement that a specific property is needed to be added or removed from the default.

...