
Redis JSON Get
CertifiedRead JSON value from Redis key
Redis JSON Get
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.
type: io.kestra.plugin.redis.json.GetExamples
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 }}"
Installation
Our standard Docker images already include this plugin. If you use a -slim image or another setup, install it with the following command:
kestractl plugins get io.kestra.plugin:plugin-redis --compatible-for $KESTRA_VERSION For kestractl, use your Kestra version with --compatible-for, or specify an exact plugin version.
For Kestra CLI, replace LATEST with a specific version or version range to pin the plugin version.
Properties
key *string
Redis key to read
Rendered before the call and passed to JSON.GET.
url *string
Redis connection string
assets
Assets this task consumes as inputs or produces as outputs, for lineage tracking and the asset graph (Enterprise Edition). A flow declaring this property on a task is rejected in the open-source edition.
io.kestra.core.models.assets.AssetsDeclaration
IGNOREFAILWARNAsset failure behavior
Behavior applied to the task state when a declared asset fails to render, emit, or be persisted (e.g. a lock conflict): FAIL escalates it to FAILED, WARN (default) warns it if it would otherwise succeed, IGNORE leaves the state untouched.
Whether to auto-register assets referenced dynamically at runtime that are not statically declared in inputs or outputs.
The assets consumed as inputs.
io.kestra.core.models.assets.AssetIdentifier
1The assets produced as outputs.
io.kestra.plugin.ee.assets.Dataset
1150{}1150io.kestra.plugin.ee.assets.File
1150{}1150io.kestra.plugin.ee.assets.Table
1150{}1150io.kestra.plugin.ee.assets.VM
1150{}1150io.kestra.core.models.assets.External
1150{}1150io.kestra.core.models.assets.Custom
11501Custom asset type
{}1150failedOnMissing booleanstring
falseFail when key is missing
Defaults to false; if true, throws when the lookup returns null.
path string
$JSON path to extract
Defaults to $ (root). Uses RedisJSON path syntax.
Outputs
data object
The fetched data
key string
The fetched key