Skip to main content

Owl overview

Owl records and displays events about experiment networks. Use it to watch changes to nodes and links, explain those changes with messages and narratives, and replay recorded activity. Owl displays observations sent by your scripts or applications; the included examples generate observations for demonstration.

Start here​

I want to…Read
Understand the components, event flow, and access checksArchitecture
Watch an experiment, inspect its topology, or replay eventsBrowser user guide
Send events from a terminal or experiment scriptCLI user guide
Deploy Owl into my own SPHERE experimentSPHERE deployment (and demos)
Try a supplied star, tree, or simulated incident demoDemos
Integrate an application or understand event JSONAPI and event format
Configure the Owl backendServer setup
Build or configure the XDC viewerViewer deployment
Use Kubernetes for an alternative deployment on a non-SPHERE systemHelm deployment

View an experiment​

  1. Sign in to your testbed's Launch portal.
  2. Open an XDC built with the Owl image and attach it to the realization you want to observe. Your deployment must provide an Owl server and event sources.
  3. Open the XDC's Owl link in Launch. If prompted, select Continue to Launch Login and sign in.
  4. The viewer selects the attached stream and begins playback from offset 0 at 1× speed. Select Live to follow only new events.
  5. Select a node or link to inspect it, or search the event feed below the topology.

The viewer follows the XDC attachment automatically. To view a different realization, change that attachment.

Send your first event​

Install the owlclient package from your testbed's package repository, or build the CLI. The executable is named owl. Use the private Owl server URL provided by your deployment and the same stream ID shown as Attached stream in the viewer:

owl --server http://control.infra --owlid REALIZATION.EXPERIMENT.PROJECT \
send node server --state ok --message "Service ready"

Replace the stream ID and server node name with values from your experiment. The experiment model defines every experiment node name. Observations using those names update the experiment nodes in the viewer; names outside the model create additional visualization nodes for observability purposes. To print the stream in a terminal:

owl --server http://control.infra --owlid REALIZATION.EXPERIMENT.PROJECT \
get stream 0 --speed 1

Press Ctrl+C to stop reading. Publishing continues independently.

How the pieces fit together​

Experiment scripts and applications publish events through the owl CLI or the Owl API. The Owl server stores those events in RabbitMQ streams. The CLI and browser viewer read them back for live viewing or replay. The XDC viewer also gets the topology and access checks from the SPHERE portal.

See the architecture diagrams for the component connections and the path from publishing an observation to replaying it.

TermMeaning
Stream / Owl IDThe name of one event history. In the XDC viewer this is rid.eid.pid: realization, experiment, and project IDs joined with dots.
EntityA node identified by its name, or a link identified by its two endpoint node names.
Entity eventA change to one state, color, or shape, optionally carrying a message, narrative, and duration.
LegendA complete list explaining the meanings assigned to event states, colors, and shapes.
Topology snapshotA complete set of nodes and links stored in the event history. The XDC viewer gets the experiment model from the SPHERE portal to build its initial topology.
OffsetA numeric position in stored event history, starting at 0. Legend and topology records occupy positions too.
Client IDAn identity for a reader connection; it is separate from the stream ID and is used when stopping a reader.

Streams are created on demand. History is bounded: the server currently declares each stream with a 2 GB limit, so older history can be removed as it fills. Owl is not an archival backup of experiment activity.

Stop ends a reader connection. Stopping an event generator ends publishing. Delete stream erases stored history for everyone using that stream; the server recreates an empty stream with the same ID, and active publishers can fill it again. These operations have different effects.

The Owl backend has no built-in login or per-stream authorization. Deploy it on the experiment's private network or behind your site's access controls. The XDC viewer applies Launch session and materialization access checks to its own requests.