IoT SiteWise publisher
The IoT SiteWise publisher component (aws.iot.SiteWiseEdgePublisher
) enables Amazon IoT SiteWise gateways to
export data from the edge to the Amazon Web Services Cloud.
For more information about Amazon IoT SiteWise gateways, see Using Amazon IoT SiteWise at the edge in the Amazon IoT SiteWise User Guide.
Topics
Versions
This component has the following versions:
-
3.1.x
-
3.0.x
-
2.4.x
-
2.3.x
-
2.2.x
-
2.1.x
-
2.0.x
Type
This component is a generic component (aws.greengrass.generic
). The Greengrass nucleus runs the component's lifecycle
scripts.
For more information, see Component types.
Operating system
This component can be installed on core devices that run the following operating systems:
Linux
Windows
Requirements
This component has the following requirements:
-
The Greengrass core device must run on one of the following platforms:
-
OS: Ubuntu 18.04 or later
Architecture: x86_64 (AMD64) or ARMv8 (Aarch64)
-
OS: Red Hat Enterprise Linux (RHEL) 8
Architecture: x86_64 (AMD64) or ARMv8 (Aarch64)
-
OS: Amazon Linux 2
Architecture: x86_64 (AMD64) or ARMv8 (Aarch64)
-
OS: Debian 11
Architecture: x86_64 (AMD64) or ARMv8 (Aarch64)
-
OS: Windows Server 2019 or later
Architecture: x86_64 (AMD64)
-
-
The Greengrass core device must connect to the Internet.
-
The Greengrass core device must be authorized to perform the
iotsitewise:BatchPutAssetPropertyValue
action. For more information, see Authorize core devices to interact with Amazon services.Example permissions policy
{ "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": "iotsitewise:BatchPutAssetPropertyValue", "Resource": "*" } ] }
Endpoints and ports
This component must be able to perform outbound requests to the following endpoints and ports, in addition to endpoints and ports required for basic operation. For more information, see Allow device traffic through a proxy or firewall.
Endpoint | Port | Required | Description |
---|---|---|---|
|
443 | Yes |
Publish data to Amazon IoT SiteWise. |
Dependencies
When you deploy a component, Amazon IoT Greengrass also deploys compatible versions of its dependencies. This means that you must meet the requirements for the component and all of its dependencies to successfully deploy the component. This section lists the dependencies for the released versions of this component and the semantic version constraints that define the component versions for each dependency. You can also view the dependencies for each version of the component in the Amazon IoT Greengrass console
The following table lists the dependencies for versions 2.0.x to 2.2.x of this component.
Dependency | Compatible versions | Dependency type |
---|---|---|
Greengrass nucleus | >=2.3.0<3.0.0 | Hard |
Stream manager | >=2.0.10<3.0.0 | Hard |
For more information about component dependencies, see the component recipe reference.
Configuration
This component doesn't have any configuration parameters.
You can use the Amazon IoT SiteWise console or API to configure the IoT SiteWise publisher component. For more information, see Step 3: Configure publisher - optional in the Amazon IoT SiteWise User Guide.
Input data
This component reads PutAssetPropertyValueEntry
messages from Amazon IoT Greengrass stream
manager. For more information, see PutAssetPropertyValueEntry in the Amazon IoT SiteWise API Reference.
Local log file
This component uses the following log file.
To view this component's logs
-
Run the following command on the core device to view this component's log file in real time. Replace
or/greengrass/v2
C:\greengrass\v2
with the path to the Amazon IoT Greengrass root folder.
Troubleshooting and debugging
This component includes a new events log to help customers identify and fix problems. The
log file is separate from the local log file, and is found in the following location. Replace
or /greengrass/v2
C:\greengrass\v2
with the path to the Amazon IoT Greengrass root folder.
This log includes detailed information and troubleshooting instructions. Troubleshooting information is provided alongside the diagnostics, with a description of how to remedy the issue, and sometimes with links to further information. Diagnostic information includes the following:
-
Severity level
-
Timestamp
-
Additional event-specific information
Example log
accountBeingThrottled: Summary: Data upload speed slowed due to quota limits Level: WARN Timestamp: '2023-06-09T21:30:24.654Z' Description: The IoT SiteWise Publisher is limited to the "Rate of data points ingested" quota for a customers account. See the associated documentation and associated metric for the number of requests that were limited for more information. Note that this may be temporary and not require any change, although if the issue continues you may need to request an increase for the mentioned quota. FurtherInformation: - https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html - https://docs.aws.amazon.com/iot-sitewise/latest/userguide/troubleshooting-gateway.html#gateway-issue-data-streams AssociatedMetrics: - Name: TotalErrorCount Description: The total number of errors of this type that occurred. Value: 327724.0 AssociatedData: - Name: AggregatePropertyAliases Description: The aggregated property aliases of the throttled data. FileLocation: /greengrass/v2/work/aws.iot.SiteWiseEdgePublisher/./logs/data/AggregatePropertyAliases_1686346224654.log
Licenses
This component is released under the Greengrass Core Software License Agreement
Changelog
The following table describes the changes in each version of the component.
Version |
Changes |
---|---|
3.1.4 |
|
3.1.3 |
|
3.1.2 |
|
3.1.1 |
WarningVersion 3.1.1 was discontinued on March 12, 2024. The improvements in this version are available in later versions of this component.
|
3.1.0 |
|
3.0.0 |
|
2.4.1 |
|
2.4.0 |
|
2.3.3 |
|
2.3.2 |
|
2.3.1 |
|
2.2.3 |
|
2.2.2 |
|
2.2.1 |
NoteThis version doesn't support HTTP proxy configuration. Version 2.2.2 and higher reintroduces support for this feature.
|
2.2.0 |
NoteThis version doesn't support HTTP proxy configuration. Version 2.2.2 and higher reintroduces support for this feature.
|
2.1.4 |
|
2.1.3 |
WarningThis version is no longer available, except in the US East (Ohio), Canada (Central), and Amazon GovCloud (US-East) Regions. This component version requires Java version 11 or greater to run. The improvements in this version are available in later versions of this component.
|
2.1.2 |
|
2.1.1 |
Bug fixes and improvements. |
2.1.0 |
|
2.0.2 |
Bug fixes and improvements. |
2.0.1 |
Initial version. |
See also
-
What is Amazon IoT SiteWise? in the Amazon IoT SiteWise User Guide.