Add path filters to Amazon IoT SiteWise Edge destinations
Add path filters to a destination. Path filters use MQTT topic syntax, where
#
is a wildcard character that matches any number of levels, and +
is a wildcard character that matches a single level. You can add multiple destinations to a
gateway, each with its own set of path filters subscribed to your equipment telemetry.
Siemens Industrial Edge gateways use a prefix for compatibility. For more information, see Prefixes for path filters.
Note
Copy path filters between destinations by downloading list of path filters. For more information, see Download all path filters in a destination (console).
Upload path filters in bulk
To upload path filters in bulk, use a CSV or text file. Amazon IoT SiteWise automatically removes
exact duplicates when you upload files. For example, windfarm/site1/
and
windfarm/site1/
are exact duplicates that Amazon IoT SiteWise catches because the string
is exactly the same. Partial duplicates are not removed and result in additional charges.
For example, windfarm/#
and windfarm/site1
are overlapping topics
because windfarm/site1
is already encompassed by
windfarm/#
.
Note
Avoid duplicates to prevent additional charges. The uploaded file must be in either .csv or .txt format. It can't contain any headers and should consist of a single column. In the column, list your path filters, with each filter on a separate line. No other information should be included in the file.
File upload requirements
These are additional path filter requirements.
-
You can upload one .csv or .txt file. Other file formats are not supported.
-
CSV (.csv) files cannot have headers and should only contain one column.
-
You can have one path filter on each line.
-
The uploaded files cannot be empty.
-
When using
#
as a wildcard, it must be the last character in the topic filter. For example,topic/#
or as a standalone character at a particular topic level. However, note that#
can also be used as a regular character within a topic level name, such asfactory/machine#1/topic
. For more information see Special characters in path filter names-
You can also use the
+
character. For example, usefactory/+/temp
to get all temperatures for factories instead offactory/machine2/temp
andfactory/machine3/temp
individually.
-