Skip to content

Latest commit

 

History

History
186 lines (152 loc) · 5.26 KB

aws-timestream.md

File metadata and controls

186 lines (152 loc) · 5.26 KB

AWS Timestream Target

AwsSTimestreamTargetConfiguration extends the type TargetConfiguration with specific configuration data for sending data to a Timestream table. The Targets configuration element can contain entries of this type, the TargetType of these entries must be set to "AWS-TIMESTREAM"

Requires IAM timestream:WriteRecords permission for the configures table as well timestream:DescribeEndpoints

Targets

AwsTimestreamTargetConfiguration

Name Description Type Comments
Database Timestream database String
TableName Timestream table String
Batch Size Batch size for writing records to table Integer Default is 10
Interval Interval in milliseconds after which data is written even if the buffer is not full Integer Optional, if not set only BatchSize is used, minimum value is 10
Records Records to write to table List of AwsTimestreamRecordConfiguration

^top

AwsTimestreamRecordConfiguration

Timestream records to write
Name Description Type Comments
MeasureName Measure name for the value String
MeasureValuePath JMES path that selects the value to write to the record from the data received by the target writer String

https://jmespath.org/

A path typically has the format sourcename.valuename or sourcename.valuename.value (If the data entries contain both value and timestamp, in case TimestampLevel "channel" or "both" is used in the root of the configuration file) the writer will automatically look for a field with the name used for data values specified in "ElementNames" at the top level of the configuration for a path sourcename.valuename)

MeasureValueType Type of the value DOUBLE, BIGINT,VARCHAR,BOOLEAN
MeasureTimePath JMES path that selects the timestamp to use with to the property value from the data received by the target writer String

https://jmespath.org/

If the data entries contain both value and timestamp, in case TimestampLevel "channel" or "both" is used in the root of the configuration file) the writer will automatically look for a field with the name used for timestamp values specified in "ElementNames" at the top level of the configuration for a path sourcename.valuename)

Dimensions Record dimensions List of AwsTimestreamDimensionConfiguration

^top

AwsTimestreamDimensionConfiguration

Timestream record dimensions
Name Description Type Comments
DimensionName Name for the dimensions String
DimensionValue Fixed dimension value String Either DimensionValue or DimensionValuePath (see below) can be used.
DimensionValuePath JMES path that selects the value to write to the dimensions from the data received by the target writer String

https://jmespath.org/

A path typically has the format sourcename.valuename or sourcename.valuename.value (If the data entries contain both value and timestamp, in case TimestampLevel "channel" or "both" is used in the root of the configuration file) the writer will automatically look for a field with the name used for data values specified in "ElementNames" at the top level of the configuration for a path sourcename.valuename)

^top