Redis Get

Redis Get

Certified

Read JSON value from Redis key

Runs JSON.GET on the rendered key and path (default $), returns the decoded value, and can fail when the key is missing.

yaml
type: io.kestra.plugin.redis.json.Get
yaml
id: redis_json_get
namespace: company.team

inputs:
    - id: key_name
      type: STRING
      displayName: Key name to search

tasks:
  - id: get
    type: io.kestra.plugin.redis.json.Get
    url: redis://:redis@localhost:6379/0
    key: "{{ inputs.key_name }}"
Properties

Redis key to read

Rendered before the call and passed to JSON.GET.

Redis connection string

Defaultfalse

Fail when key is missing

Defaults to false; if true, throws when the lookup returns null.

Default$

JSON path to extract

Defaults to $ (root). Uses RedisJSON path syntax.

Reference (ref) of the pluginDefaults to apply to this task.

The fetched data

The fetched key