© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
7.
Under
Frequency
, choose
Every 1 minute
, and choose
Save
.
8.5.3 Configuring Amazon QuickSight
Amazon QuickSight lets you easily create and publish interactive BI dashboards that include Machine Learning-
powered insights. To configure Amazon QuickSight, follow these steps:
1.
Go to
2.
From the management console, enter “QuickSight” in the “
Search for services, features..
” search box.
3.
Click on
QuickSight
in the search results.
4.
If you haven’t signed up for the service before, go ahead and sign up, as there is a free trial period.
5.
Select the
Standard
Edition, and choose
Continue
.
6.
Enter a unique name in the field
QuickSight account name
.
7.
Fill in the
Notification email address
.
8.
Review the other checkbox options and change them as necessary. The
AWS IoT Analytics
option must
be selected.
9.
Choose
Finish.
You will see a confirmation message.
10.
Choose
Go to Amazon QuickSight
.
11.
Select
Datasets
.
12.
Select
New dataset
.
13.
Select
AWS IoT Analytics
.
14.
Under
Select an AWS IoT Analytics data set to import
, choose the data set created in
15.
Choose
Create data source
, and then choose
Visualize
.
16.
Select dataset created, then select
Refresh
or
Schedule Refresh
for periodic refresh of dataset.
8.6 Testing your “Hello World” Application
Using your device, create a condition to generate an event such as a high temperature condition. If the
temperature is above the configured threshold then you will receive a text alert on your phone. This alert will
include key parameters about the alert.
You can also visualize the data set by following these steps:
1.
Go to the
2.
Choose
Data sets
.
3.
Select the dataset created earlier.
4.
Select
Content
. and ensure there are at least few uplink entries available in the data set.
5.
Go to the
6.
Choose
New analysis
.
7.
Creating an IoT Analytics Rule
8.
Select time on the X-axis, Value as temp (Average) and Color as device_id to see a chart of your dataset.
9.
Debugging
Debugging can be done by reviewing the logs
stored on the
debug
account which can be accessed by following
these steps:
1.
Acquire IP address of gateway via the ADTRAN IoT app or other means.
2.
SSH
into the
debug
account of the gateway and enter the following password:
adtraniotdebug
.
3.
Logs are located in
/home/debug/logs
.
4.
To view AWS basic station logs:
cat home/debug/logs basic_station_aws.log
.
5.
Logs are periodically saved every 30 seconds and take the last 10000 lines of program output.
10. Troubleshooting
The following are troubleshooting tips for avoiding common problems: