Skip to main content

Redis

This section explains how to create a Redis data source in DataDios, create keys of all supported types, and verify automatic TTL-based key expiry.


Steps to Create and Manage a Redis Data Source​

Step 1: Navigate to Data Sources​

  1. Navigate to Data Explorer from the left navigation menu.
  2. The Sources view lists all existing connections.

Step 2: Select Redis Connector​

  1. Click + Add connection in the top-right corner. The Create data source dialog opens.

  2. Under Identity, enter a Name for the datasource and select Redis from the searchable Type dropdown.

    Create data source dialog


Step 3: Fill Connection Details​

In the Connection Parameters section, fill in:

  • Host: the Redis server's hostname or IP address, for example localhost
  • Port: optional, the Redis port (Redis uses 6379 unless the server was set up otherwise)
  • Username: optional, for servers that use Redis ACL users
  • Password: the Redis password. The new interface requires a value when you create the connection.
  • Network Mode: direct to connect straight to the server, or ssh to go through an SSH bastion. With ssh, pick the bastion in the field that appears. The bastion must already exist as a Remote Host data source.

If your deployment has a secret store set up (AWS Secrets Manager or Azure Key Vault), a Select Secret Source field also appears for the password. Choose Direct Input to type it, or From Secret Store to use a stored one.


Step 4: Test Connection​

Click Test Connection to validate the credentials before saving.


Step 5: Save Data Source​

If the test succeeds, click Create. You'll land back on the Sources list with the new Redis connection visible.


Step 6: Explore and Create Redis Keys​

Click the connection's name to list its keys. Open a key to see its Metadata, Data Preview and Queries tabs.

To create a key, use the Add item action on the connection's row in the Sources view. Pick the key type (STRING, LIST, HASH or SET; see Supported Key Types) and, optionally, a TTL in seconds.


Step 7: Verify All Keys​

Open the connection and click Refresh to reload the latest key list from Redis.


Step 8: TTL Key Expiry​

When a key's TTL runs out, Redis deletes it. Open the connection and click Refresh to see the updated list.


Supported Key Types​

Key TypeDescriptionTTL Support
STRINGSingle string valueYes
LISTOrdered list of string elementsYes
HASHMap of field-value pairsYes
SETUnordered collection of unique membersYes

Connection Parameters​

ParameterRequiredDefaultDescription
hostYes—Redis server hostname or IP
portNo6379Redis server port
passwordNo—Redis AUTH password; leave empty if auth is disabled

The new-UI create dialog also exposes an optional Username field (username) for Redis servers using ACL-based authentication.