Redis keys and Elasticsearch search in QuerentDB
Browse Redis keys with SCAN, edit values and TTLs, run Redis commands; search Elasticsearch, filter hits, and run Kibana-style DSL requests in QuerentDB.
Transcript
Find Redis keys. Open a Redis connection, and QuerentDB lists its keys with SCAN, in batches. It never runs KEYS, so a big database stays responsive. Type a pattern, like session star, and choose Find. Pick a key to see its value. This session is a hash, and its time to live counts down as you watch.
The Redis command line. Each type has its own view and editor: strings, hashes, lists, sets, sorted sets and streams. For anything else, switch to CLI and type commands, one per line. This one reads the five best-selling products from a sorted set.
Search Elasticsearch. Elasticsearch opens on its indices. Pick products and search it like a search engine. Words are combined with AND; quotes match a phrase, and a minus sign excludes a word. Add filter narrows the hits by a field, like a tag, and shows it as a chip.
The DSL console. DSL is a console like Kibana's Dev Tools: a method, a path, and a JSON body. This request groups the products by tag, with their average price. The aggregations show up in the response. Reads run right away. Writes, like a bulk update or a delete by query, ask first, with an estimate.
Mapping, settings and aliases. Mapping lists every field with its type, and Settings and Aliases show the rest of the index.
QuerentDB, a desktop database client by Keepware, opens Redis and Valkey as a key browser and Elasticsearch and OpenSearch as a search screen. For Redis, it lists keys with SCAN in batches (never KEYS), filters them by pattern and type, shows each value in a view for its type with a live TTL, and has a command line. For Elasticsearch, it searches an index or a pattern of indices with a search box and field filters, runs Kibana-style requests in a DSL console with the whole response (aggregations included), and shows each index’s mapping, settings and aliases.
How do I find Redis keys?
Open a Redis connection: the Browse view lists keys as it scans, with their Type, Key, TTL and Size. Type a Pattern such as session:*, pick a type (or All types), and choose Find; Reset goes back to *. The count line shows how many keys were found and scanned, and Stop / Continue scan control a long scan. Pick another database with the db switcher in the toolbar.

How do I read and change a value?
Pick a key. Strings (shown as formatted JSON when they are JSON), hashes, lists, sets, sorted sets and streams each get a table of their own; the TTL chip counts down live.
- Edit value changes it, sending only what changed (an
HSETfor one field, aZADDfor one member, and so on); for streams, Append entry adds one. - Click the TTL chip, or right-click a key and choose Set expiry…, to set a TTL (
7d,24h,30mor seconds); leave it empty to remove the expiry. - New key creates a key of any type, with a TTL; Delete removes one.
- Bulk actions sets a TTL on, or deletes, every key that matches the current pattern and type, up to 10,000 keys.
Every change shows the commands first and runs on the read-write account; values with more than 5,000 items are changed from the command line instead.
How do I run Redis commands?
Switch to CLI and type commands, one per line, with redis-cli quoting; # starts a comment and commands autocomplete. Choose Run (Ctrl+Enter); each command’s result shows as a table, JSON or raw. Commands that change data ask first. Commands that would take over the connection, such as SUBSCRIBE, MONITOR or RESET, aren’t available.

How do I search Elasticsearch?
Open the connection and pick an index on the left, or All indices (*) or a pattern from the Indices menu. Type in Search: words are combined with AND, quotes match a phrase, -word excludes a word and prefix* matches the start of a word. + Add filter narrows the hits by a field’s value and shows it as a chip.

Hits show as a Table (click a header to sort, on the server) or as Docs. New document, Edit and Delete change single documents; Update matching… runs a Painless script on every hit (_update_by_query) and Delete matching… deletes them (_delete_by_query), each with an estimate first. Export saves the hits as CSV or JSON, up to 10,000.
How do I use the DSL console?
DSL works like Kibana’s Dev Tools: a method and a path, then the JSON body, on the same line or the next. Put several requests in one tab; _bulk and _msearch take NDJSON. Format lays the bodies out, Explain shows how a _search is executed, and Run (Ctrl+Enter) sends them.
Reads run right away. Anything that writes (an index change, a bulk load, an update or delete by query) asks first, with an estimate of the documents it affects. The result shows the hits as a table and the whole response under Response: a search with "size": 0 and aggregations opens on it.

What do Mapping, Settings and Aliases show?
Mapping lists every field with its type (and dense_vector dimensions on Elasticsearch 8), Settings lists the index settings, and Aliases shows which aliases point to the index. They’re read-only; change them with a request in DSL.

FAQ
Does QuerentDB support Redis Cluster?
Not yet: Redis Cluster and Redis Sentinel aren’t supported. Standalone Redis 5 to 7 and Valkey 8 are, with or without TLS.
Does QuerentDB support OpenSearch?
Yes, OpenSearch 2, with the same search, DSL and index views as Elasticsearch 6.8 to 8.
Is there a JSON viewer for RedisJSON keys?
Not yet. Strings that hold JSON are formatted. For RedisJSON keys, use JSON.GET in CLI; QuerentDB doesn’t know module commands, so it treats them as writes and asks before running them.