klens

UI

Keyboard shortcuts, page addresses, and the colors and limits the klens UI uses.

Keyboard shortcuts

KeysAction
⌘ K or Ctrl KOpen or close the search palette.
/Focus the search box of the page, or open the search palette when the page has none.
⌘ B or Ctrl BCollapse or expand the sidebar.
Enter or Space on a rowOpen the row.

Search palette

The palette searches topics, consumer groups, brokers, and schema subjects on the current cluster. Matching is fuzzy and tolerates typos. It shows at most 20 matches, grouped by kind. With an empty query, it lists the pages of the cluster and the other clusters.

Page addresses

Each page keeps its search text and filters in its address, so a copied link opens the same view.

AddressPage
/cluster/{cluster}/topicsTopics. Takes q, internal, policy, health, and activity.
/cluster/{cluster}/topics/{topic}A topic. tab is partitions, groups, or config. Without tab, the page opens on Data.
/cluster/{cluster}/topics/{topic}?partition={p}&offset={o}A topic with one record open.
/cluster/{cluster}/groupsConsumer groups. Takes q, state, and lag.
/cluster/{cluster}/groups/{group}A group. tab is offsets or members.
/cluster/{cluster}/schemasSchema subjects. subject and version open one version.
/cluster/{cluster}/nodesBrokers.
/cluster/{cluster}/nodes/{id}A broker. tab is log-dirs or config.
/cluster/{cluster}/aclsACL bindings. Takes q, resource, operation, permission, and pattern.
/cluster/{cluster}/usersSCRAM users. Takes q and mechanism.
/cluster/{cluster}/quotasClient quotas. Takes q, entity, and scope.

A filter value is a list separated by commas, such as state=STABLE,EMPTY. A leading ! excludes the values, such as state=!DEAD.

Cluster status

The cluster switcher shows a dot for each cluster.

DotMeaning
Grayklens has not read the cluster yet.
Redklens has not read the cluster, and the topology read failed.
AmberA background read failed.
GreenEvery background read succeeds.

Lag colors

LagColor
0Muted
Below 10,000Normal
Below 250,000Amber
250,000 or moreRed

A lag that starts with ≥ leaves out partitions whose end offset klens has not read yet.

Records

LimitValue
Records a page loads50 at a time, as you scroll
Records the live tail keepsThe newest 1,000

On this page