Skip to content

Redis Timeseries Source

Read data from Redis timeseries and write it to Quix.

Note that you need Redis Stack to use this code sample.

How to run

Create a Quix account or log in and visit the Code Samples to use this project.

Clicking Deploy on the Sample, deploys a pre-built container in Quix. Complete the environment variables to configure the container.

Clicking Edit code on the Sample, forks the project to your own Git repo so you can customize it before deploying.

Environment Variables

The code sample uses the following environment variables:

  • output: This is the ouput topic that will receive the stream (Default: output, Required: True)
  • redis_host: Host address for the Redis instance (Required: True)
  • redis_host: Host address for the Redis instance (Required: True)
  • redis_port: Port for the Redis instance (Default: 6379, Required: True)
  • redis_password: Password for the Redis instance (Default: None, Required: False)
  • redis_username: Username for the Redis instance (Default: None, Required: False)

Requirements / Prerequisites

You will need to have a Redis Stack database. Either you can use the Redis Cloud or you can install Redis locally. You can find the instructions to install Redis locally.

Contribute

Submit forked projects to the Quix GitHub repo. Any new project that we accept will be attributed to you and you'll receive $200 in Quix credit.

Open Source

This project is open source under the Apache 2.0 license and available in our GitHub repo. Please star us and mention us on social to show your appreciation.