Data doesn't show up in SiteWise Edge but shows up in AWS Sitewise from REST API

0

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:

  1. Redeploy all component to edge
  2. Recreate assets and data streams
  3. Check all metrics from edge in CloudWatch and found no errors
  4. 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.

1 Answer
0

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

answered 2 months ago
  • 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

    OPC-UA collector: 2.0.3
    Publisher:2.0.2
    Data processing pack: 2.0.14
    

    And now I'm able to see data in edge but can't watch data in cloud.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions