Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

Sample application - Amazon Timestream

Sample application

Timestream ships with a fully functional sample application that shows how to create a database and table, populate the table with ~126K rows of sample data, and run sample queries. Follow the steps below to get started with the sample application in any of the supported languages:

Java
  1. Clone the GitHub repository Timestream for LiveAnalytics sample applications following the instructions from GitHub.

  2. Configure the AWS SDK to connect to Timestream for LiveAnalytics following the instructions described in Getting Started with Java.

  3. Run the Java sample application following the instructions described here

Java v2
  1. Clone the GitHub repository Timestream for LiveAnalytics sample applications following the instructions from GitHub.

  2. Configure the AWS SDK to connect to Amazon Timestream for LiveAnalytics following the instructions described in Getting Started with Java v2.

  3. Run the Java 2.0 sample application following the instructions described here

Go
  1. Clone the GitHub repository Timestream for LiveAnalytics sample applications following the instructions from GitHub.

  2. Configure the AWS SDK to connect to Amazon Timestream for LiveAnalytics following the instructions described in Getting Started with Go.

  3. Run the Go sample application following the instructions described here

Python
  1. Clone the GitHub repository Timestream for LiveAnalytics sample applications following the instructions from GitHub.

  2. Configure the AWS SDK to connect to Amazon Timestream for LiveAnalytics following the instructions described in Python.

  3. Run the Python sample application following the instructions described here

Node.js
  1. Clone the GitHub repository Timestream for LiveAnalytics sample applications following the instructions from GitHub.

  2. Configure the AWS SDK to connect to Amazon Timestream for LiveAnalytics following the instructions described in Getting Started with Node.js.

  3. Run the Node.js sample application following the instructions described here

.NET
  1. Clone the GitHub repository Timestream for LiveAnalytics sample applications following the instructions from GitHub.

  2. Configure the AWS SDK to connect to Amazon Timestream for LiveAnalytics following the instructions described in Getting Started with .NET.

  3. Run the .NET sample application following the instructions described here

  1. Clone the GitHub repository Timestream for LiveAnalytics sample applications following the instructions from GitHub.

  2. Configure the AWS SDK to connect to Timestream for LiveAnalytics following the instructions described in Getting Started with Java.

  3. Run the Java sample application following the instructions described here

PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.