Skip to main content

Console pages

The console pages are the screens an operator works in, one feature directory per domain, and are one part of dfe-ui.

FactValue
Repohyperi-io/dfe-ui, apps/dfe-core-ui/src/app and apps/dfe-core-ui/src/{Sources,Schemas,Rules,...}
Imageghcr.io/hyperi-io/dfe-ui, with the thin chart built from deploy/contract.json
Confignone of their own: each domain reads the engine through the API client
Endpointsroute group (auth) for the signed-in app, (no-auth) for login, setup, the forced password change and the engine-unavailable page
Metricsthe app's process metrics on /metrics, port 3000. Nothing specific to this part

A record enters DFE, is optionally transformed, and lands in a table. The console's menu groups follow that flow: Data flow defines what comes in, Detect what to look for in it, Observe is where the landed data is read, and Stack is what is running.

Data flow feeds both Observe and Detect, and Stack runs the apps behind it.

Figure 1. L4 Detail -- Console menu groups. The arrow from Stack is Stack running and tuning the apps, not data moving. Up: L3 Components -- dfe-ui.

A heading appears when at least one destination under it is the signed-in user's. The sidebar lists Observe first, then Data flow, Detect and Stack (apps/dfe-core-ui/src/core/components/SidebarMenu/SidebarMenu/constants.tsx).

GroupDestinationsRouteWhat the user does thereRBAC family
ObserveSearch, Saved Searches, Chart Explorer, Dashboards/observe/search, /observe/search/list, /observe/chart, /observe/dashboardslook at the datadashboard_read
Data flowSources, Meta Schemas, Library/sources, /schemas, /librarydefine what comes in, its fields, where it landssource_*, schema_*, library_*
DetectRules, Hunts, Detections, Field Maps/rules, /hunts, /observe/hunt-results, /field-mapsdefine what to look for, and read what hunts foundrule_*, hunt_*, dashboard_read (Detections), fieldmap_*
StackComponents, Admin Tools/components, /admin-toolssee and tune what is runningdeployment_read, helmvars_read, helmvars_write, deployment_admin_links_read

The Observe destinations are dfe-hyperdx embeds and appear once a dfe-hyperdx URL is configured.

Settings and Platform are not in the menu. The settings button in the header opens them, at /settings/admin and /settings/platform. Some routes have no menu entry either: /sources/ingest-procedures, /schemas/meta-schemas, /schemas/other-schemas, /field-maps, /account, and the first-run /setup/[step].

The Source page draws the engine's flow resolver​

A source's page opens on its Flow tab: three stages and the two arrows between them. The main source, and a source with no meta schema or not yet deployed, shows no Transform stage.

The Flow tab draws a source's input, transform and output, with the carrier and target on each arrow.

Figure 2. L4 Detail -- Source flow card. Up: L3 Components -- dfe-ui.

StageShows
InputThe receiver match, the fetcher instance, or the topic your pipeline writes, with the origin and the transport.
TransformThe app, its variant and its endpoint or topics. For your pipeline, the topics it reads and writes, its consumer group and its lag in records.
OutputThe table, the topic or endpoint the loader reads it from, and whether the archive keeps the raw record.

The stages, transport and targets on that card come from GET /api/v1/sources/{name}/flow, which returns the engine's flow resolver, and the lag of your pipeline from GET /api/v1/sources/{name}/lag. The compilers write each app's deployed config from the same resolver, so the drawing and the running stack are one answer. The console never builds a topic name or an endpoint itself (apps/dfe-core-ui/src/Sources/components/ViewSourceTabs/SourceFlowTabContent/flowStages.ts). Three things follow:

  • The card shows the effective transport, never the declared one. A source that names no transport takes the deployment's default, and the card says which.
  • A refusal is the engine's sentence. When a source's stages cannot run as declared (archiving where the archiver does not have the transport, a transform app that does not have it, a transport the deployment does not offer) the resolver answers 422 and the card shows that message verbatim.
  • Engine-managed stages are read-only. A fetcher instance and a transform instance are derived from the source, so the card marks them engine-owned and links to the app's page under /components rather than offering an edit that would be recompiled away.

With no source in the URL, the Sources page opens the main source, where every record the receiver cannot place lands. So the card draws that default flow before anyone has defined a source.

Transport and archive are set on the source form's first tab, beside the name:

  • Transport: leave it empty to inherit the deployment default, or pick one the deployment offers, bus or direct. The engine rejects at save a flow its resolver cannot run.
  • Archive: keep the raw record as it arrived. The archiver reads the landing topic, so this needs the bus.

The Stack pages read the app manifest​

The Stack destinations render from GET /api/v1/apps, and its entries come from the app manifest. These fields, not the app's name, decide what the console draws:

  • multiplicity decides where an app appears. A single app serves every source and belongs to the fleet. A per_config app belongs to its source and appears on that source's page.
  • file_sets decides whether an app instance gets a Files panel at all.
  • has_compiled_routing decides whether a source page shows the app's routing card. That card is read-only, because the routing is compiled from the sources, and offers Sync routing when the deployed routing has drifted from them.