Skip to content

Introduce JQ type of filtering in key/value search #2679

@igroeg

Description

@igroeg

Problem / Motivation

AKHQ’s current key/value search is useful for simple substring matching, but it becomes hard to use when:
• payloads are JSON (or JSON-like) and we need field-level conditions
• we want complex predicates (AND/OR), nested fields, arrays
• we want quick ad-hoc “find records where X holds” without exporting data elsewhere

In practice, this pushes users to copy/paste messages into external tools (jq, scripts, IDE) which breaks the workflow and is slow for incident/debugging scenarios.

Proposed Feature

Introduce JQ-like filtering for message search on key and/or value.

UX proposal

  • Add a toggle or dropdown in the search UI:
  • Simple (existing behavior)
  • JQ filter (new)
  • When JQ filter is selected, interpret the input as a jq expression applied to the records; The filtration should be serialization agnostic (working with JSON, Avro, ProtoBuff)

Please let me know what you think. If you find value in it, I could also give it a try to implement it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions