Data doesn't show up in SiteWise Edge but shows up in AWS Sitewise from REST API
I can't see the data in AWS SiteWise Edge from REST API, CLI or monitor portal, but I can see it in the AWS Sitewise.
I use the last versions of components: OPC-UA collector: 2.1.3 Publisher: 2.2.2 Data processing pack: 2.2.23
In data processing component logs I see some errors but I can't interpret it correctly:
SiteWiseEdgeProcessor: stderr. % Total % Received % Xferd Average Speed Time Time Time Current. {scriptName=services.aws.iot.SiteWiseEdgeProcessor.lifecycle.Run.Script, serviceName=aws.iot.SiteWiseEdgeProcessor, currentState=RUNNING}
2022-10-21T08:42:37.330Z [WARN] (Copier) aws.iot.SiteWiseEdgeProcessor: stderr. Dload Upload Total Spent Left Speed. {scriptName=services.aws.iot.SiteWiseEdgeProcessor.lifecycle.Run.Script, serviceName=aws.iot.SiteWiseEdgeProcessor, currentState=RUNNING}
2022-10-21T08:42:37.330Z [WARN] (Copier) aws.iot.SiteWiseEdgeProcessor: stderr. {scriptName=services.aws.iot.SiteWiseEdgeProcessor.lifecycle.Run.Script, serviceName=aws.iot.SiteWiseEdgeProcessor, currentState=RUNNING}
2022-10-21T08:42:37.335Z [WARN] (Copier) aws.iot.SiteWiseEdgeProcessor: stderr. 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0. {scriptName=services.aws.iot.SiteWiseEdgeProcessor.lifecycle.Run.Script, serviceName=aws.iot.SiteWiseEdgeProcessor, currentState=RUNNING}
2022-10-21T08:42:37.336Z [WARN] (Copier) aws.iot.SiteWiseEdgeProcessor: stderr. 100 7 100 7 0 0 1271 0 --:--:-- --:--:-- --:--:-- 1400. {scriptName=services.aws.iot.SiteWiseEdgeProcessor.lifecycle.Run.Script, serviceName=aws.iot.SiteWiseEdgeProcessor, currentState=RUNNING}
2022-10-21T08:42:37.337Z [INFO] (Copier) aws.iot.SiteWiseEdgeProcessor: stdout. healthy[2022-10-21] [08:42:37] INFO - model-service is healthy. {scriptName=services.aws.iot.SiteWiseEdgeProcessor.lifecycle.Run.Script, serviceName=aws.iot.SiteWiseEdgeProcessor, currentState=RUNNING}
2022-10-21T08:42:37.390Z [INFO] (Copier) aws.iot.SiteWiseEdgeProcessor: stdout. [2022-10-21] [08:42:37] INFO - Running curl -f http://localhost:9500/deep_ping command to validate health of insights. {scriptName=services.aws.iot.SiteWiseEdgeProcessor.lifecycle.Run.Script, serviceName=aws.iot.SiteWiseEdgeProcessor, currentState=RUNNING}
2022-10-21T08:42:37.390Z [INFO] (Copier) aws.iot.SiteWiseEdgeProcessor: stdout. [2022-10-21] [08:42:37] INFO - Running commnad with "curl -f http://localhost:9500/deep_ping" command. {scriptName=services.aws.iot.SiteWiseEdgeProcessor.lifecycle.Run.Script, serviceName=aws.iot.SiteWiseEdgeProcessor, currentState=RUNNING}
2022-10-21T08:42:37.397Z [WARN] (Copier) aws.iot.SiteWiseEdgeProcessor: stderr. % Total % Received % Xferd Average Speed Time Time Time Current. {scriptName=services.aws.iot.SiteWiseEdgeProcessor.lifecycle.Run.Script, serviceName=aws.iot.SiteWiseEdgeProcessor, currentState=RUNNING}
2022-10-21T08:42:37.397Z [WARN] (Copier) aws.iot.SiteWiseEdgeProcessor: stderr. Dload Upload Total Spent Left Speed. {scriptName=services.aws.iot.SiteWiseEdgeProcessor.lifecycle.Run.Script, serviceName=aws.iot.SiteWiseEdgeProcessor, currentState=RUNNING}
2022-10-21T08:42:37.397Z [WARN] (Copier) aws.iot.SiteWiseEdgeProcessor: stderr. {scriptName=services.aws.iot.SiteWiseEdgeProcessor.lifecycle.Run.Script, serviceName=aws.iot.SiteWiseEdgeProcessor, currentState=RUNNING}
2022-10-21T08:42:37.399Z [WARN] (Copier) aws.iot.SiteWiseEdgeProcessor: stderr. 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0. {scriptName=services.aws.iot.SiteWiseEdgeProcessor.lifecycle.Run.Script, serviceName=aws.iot.SiteWiseEdgeProcessor, currentState=RUNNING}
2022-10-21T08:42:37.399Z [WARN] (Copier) aws.iot.SiteWiseEdgeProcessor: stderr. 100 7 100 7 0 0 2652 0 --:--:-- --:--:-- --:--:-- 3500. {scriptName=services.aws.iot.SiteWiseEdgeProcessor.lifecycle.Run.Script, serviceName=aws.iot.SiteWiseEdgeProcessor, currentState=RUNNING}
2022-10-21T08:42:37.400Z [INFO] (Copier) aws.iot.SiteWiseEdgeProcessor: stdout. healthy[2022-10-21] [08:42:37] INFO - insights is healthy. {scriptName=services.aws.iot.SiteWiseEdgeProcessor.lifecycle.Run.Script, serviceName=aws.iot.SiteWiseEdgeProcessor, currentState=RUNNING}
2022-10-21T08:42:38.557Z [INFO] (Copier) aws.iot.SiteWiseEdgeProcessor: stdout. [2022-10-21] [08:42:38] INFO - Running curl -f http://localhost:8081/deep_ping command to validate health of property-state-service. {scriptName=services.aws.iot.SiteWiseEdgeProcessor.lifecycle.Run.Script, serviceName=aws.iot.SiteWiseEdgeProcessor, currentState=RUNNING}
2022-10-21T08:42:38.557Z [INFO] (Copier) aws.iot.SiteWiseEdgeProcessor: stdout. [2022-10-21] [08:42:38] INFO - Running commnad with "curl -f http://localhost:8081/deep_ping" command. {scriptName=services.aws.iot.SiteWiseEdgeProcessor.lifecycle.Run.Script, serviceName=aws.iot.SiteWiseEdgeProcessor, currentState=RUNNING}
2022-10-21T08:42:38.587Z [WARN] (Copier) aws.iot.SiteWiseEdgeProcessor: stderr. % Total % Received % Xferd Average Speed Time Time Time Current. {scriptName=services.aws.iot.SiteWiseEdgeProcessor.lifecycle.Run.Script, serviceName=aws.iot.SiteWiseEdgeProcessor, currentState=RUNNING}
2022-10-21T08:42:38.588Z [WARN] (Copier) aws.iot.SiteWiseEdgeProcessor: stderr. Dload Upload Total Spent Left Speed. {scriptName=services.aws.iot.SiteWiseEdgeProcessor.lifecycle.Run.Script, serviceName=aws.iot.SiteWiseEdgeProcessor, currentState=RUNNING}
2022-10-21T08:42:38.588Z [WARN] (Copier) aws.iot.SiteWiseEdgeProcessor: stderr. {scriptName=services.aws.iot.SiteWiseEdgeProcessor.lifecycle.Run.Script, serviceName=aws.iot.SiteWiseEdgeProcessor, currentState=RUNNING}
2022-10-21T08:42:38.619Z [WARN] (Copier) aws.iot.SiteWiseEdgeProcessor: stderr. 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0. {scriptName=services.aws.iot.SiteWiseEdgeProcessor.lifecycle.Run.Script, serviceName=aws.iot.SiteWiseEdgeProcessor, currentState=RUNNING}
2022-10-21T08:42:38.619Z [WARN] (Copier) aws.iot.SiteWiseEdgeProcessor: stderr. 100 7 100 7 0 0 205 0 --:--:-- --:--:-- --:--:-- 212. {scriptName=services.aws.iot.SiteWiseEdgeProcessor.lifecycle.Run.Script, serviceName=aws.iot.SiteWiseEdgeProcessor, currentState=RUNNING}
2022-10-21T08:42:38.619Z [INFO] (Copier) aws.iot.
What I've already done:
- Redeploy all component to edge
- Recreate assets and data streams
- Check all metrics from edge in CloudWatch and found no errors
- Restart Sitewise Edge
How can I proof the no data issue: On edge:
aws iotsitewise --endpoint https://localhost --no-verify-ssl get-asset-property-value-history --asset-id <id> --property-id <prod_id>
{
"assetPropertyValueHistory": []
}
The same command to cloud return data. And checking the monitor portal shows the same results.
- 最新
- 最多得票
- 最多評論
Hi,
which errors in the logs are you referring to? In the log output there are only INFO and WARN messages.
Did you configure your asset models and the monitor portal for the Edge? In case you missed it data will not be available at the Edge.
You can find some guidance in the AWS IoT SiteWise Edge workshop.
Cheers,
Philipp
相關內容
- 已提問 7 個月前lg...
- 已提問 1 年前lg...
- 已提問 9 個月前lg...
- AWS 官方已更新 2 年前
- AWS 官方已更新 2 年前
I configured models and set up "Compute all properties at the edge". For the portal I enabled "Edge access" additional feature. I downgraded component for versions
And now I'm able to see data in edge but can't watch data in cloud.