---
title: How Log Events Become Repository Model Stories, Runtime Diagrams, and Mapify Views
description: Learn how a Log Event becomes Repository Model data, how Context Options guide Repository Binding, and how grouped Log Views turn into runtime diagrams, Mapify views, and C4 Diagrams in Nodinite
---

# <i class="fal fa-child-reaching" aria-hidden="true"></i> How Log Events Become Repository Model Stories, Runtime Diagrams, and Mapify Views

Imagine a [Log Event][] as a tiny note that <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> can read.

The note says three simple things:

* what happened
* what was sent
* what extra labels came with it

Those labels help the [Logging Service][] connect the note to the [Repository Model][].

## <i class="fal fa-box" aria-hidden="true"></i> What is inside one Log Event?

Every [Log Event][] has three small parts:

* **Event details** - when, where, and how the event arrived
* **Payload** - the message itself
* **Context Properties** - the helper labels that explain what the message means

<div class="mermaid">
graph TD
    Event["fa:fa-envelope Log Event"]
    Details["fa:fa-clock Event details"]
    Payload["fa:fa-box Payload"]
    Context["fa:fa-tags Context Properties"]
    Event --> Details
    Event --> Payload
    Event --> Context
    style Event fill:#2678BD
    style Details fill:#93d16d
    style Payload fill:#93d16d
    style Context fill:#93d16d
</div>

*Diagram: One [Log Event][] contains event details, payload, and Context Properties. Nodinite reads all three parts before it decides how to connect the event to the [Repository Model][].*

## <i class="fal fa-gears" aria-hidden="true"></i> How the note gets read

The [Log API][Log API] hands the [Log Event][] to the [Logging Service][]. The [Logging Service][] reads the note, checks the [Context Options][], and decides how the event should connect to the [Repository Model][].

Think of [Context Options][] as little helper stickers. They tell <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> which [Message Types][] to expect, which [Search Fields][] matter, and how the event should support [Repository Binding][].

<div class="mermaid">
graph TD
    API["fa:fa-cloud Log API"]
    Service["fa:fa-gears Logging Service"]
    Context["fa:fa-tags Context Options"]
    MsgType["fa:fa-file-lines Message Type"]
    Search["fa:fa-magnifying-glass Search Fields"]
    Bind["fa:fa-link Repository Binding"]
    Repo["fa:fa-sitemap Repository Model"]
    API --> Service
    Service --> Context
    Service --> MsgType
    Service --> Search
    Context --> Bind
    MsgType --> Bind
    Search --> Bind
    Bind --> Repo
    style API fill:#2678BD
    style Service fill:#93d16d
    style Context fill:#FFD525
    style MsgType fill:#93d16d
    style Search fill:#93d16d
    style Bind fill:#93d16d
    style Repo fill:#2678BD
</div>

*Diagram: The [Log API][Log API] sends the event to the [Logging Service][]. The service reads [Context Options][], [Message Types][], and [Search Fields][], then creates or updates [Repository Binding][] in the [Repository Model][].*

## <i class="fal fa-sitemap" aria-hidden="true"></i> How the Repository Model grows

The [Repository Model][] is the grown-up map behind the scenes.

When the event has enough clues, <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> can connect the story to:

* [Systems][]
* [Services][]
* [Contracts][Contracts]
* [Integrations][]

That means the same [Log Event][] can help build living knowledge about the [Integration Landscape][].

![One Log Event with a Repository Binding posted in Scalar creates the Integration INT2001 - Customer Returns with its System, Service and Contract, then shown in Mapify, animated walkthrough (7.12)][1]  
*Animated walkthrough: one return request is sent to the [Log API][] with a [Repository Binding][] that names *INT2001 - Customer Returns*, which doesn't exist yet. Right away, **Repository** → **Integrations** lists the new Integration with its System *Contoso Returns Portal*, its Service *INT2001-RCV-Return-Request* and its Message Type, each described as created from the context-options feature of a Log Event. **Show in [Mapify][]** draws what the one event put in the Repository Model: the Integration, its Service, its System and the Contract *Return Request Contract*.*  

<div class="mermaid">
graph TD
    Event["fa:fa-envelope Log Event"]
    Bind["fa:fa-link Repository Binding"]
    Systems["fa:fa-building Systems"]
    Services["fa:fa-cog Services"]
    Contracts["fa:fa-file-contract Contracts"]
    Integrations["fa:fa-diagram-project Integrations"]
    Landscape["fa:fa-map Integration Landscape"]
    Event --> Bind
    Bind --> Systems
    Bind --> Services
    Bind --> Contracts
    Bind --> Integrations
    Systems --> Landscape
    Services --> Landscape
    Contracts --> Landscape
    Integrations --> Landscape
    style Event fill:#2678BD
    style Bind fill:#93d16d
    style Systems fill:#93d16d
    style Services fill:#93d16d
    style Contracts fill:#93d16d
    style Integrations fill:#93d16d
    style Landscape fill:#2678BD
</div>

*Diagram: The same [Log Event][] can connect to [Systems][], [Services][], [Contracts][Contracts], and [Integrations][]. Together they form the [Integration Landscape][].*

## <i class="fal fa-diagram-project" aria-hidden="true"></i> How one group becomes a runtime story

When [Log Views][] are grouped, Nodinite collects the matching [Log Events][Log Event] for one business trip.

That grouped view can then become a [Runtime Diagram][].

There are two easy ways to read it:

| Mode | Kid version | What it shows |
| --- | --- | --- |
| [Participants mode][Participants mode] | The people or helpers in the story | Which [Service][Services] or [Contract][Contracts] handled each step |
| [Systems mode][Systems mode] | The big boxes in the story | How the same trip moved from [System][Systems] to [System][Systems] |

<div class="mermaid">
graph TD
    Group["fa:fa-layer-group Grouped Log View"]
    Participants["fa:fa-share-nodes Participants mode"]
    SystemsMode["fa:fa-building Systems mode"]
    Runtime["fa:fa-diagram-project Runtime Diagram"]
    Group --> Participants
    Group --> SystemsMode
    Participants --> Runtime
    SystemsMode --> Runtime
    style Group fill:#2678BD
    style Participants fill:#93d16d
    style SystemsMode fill:#93d16d
    style Runtime fill:#FFD525
</div>

*Diagram: A [Grouped Log View][Grouped Log View] becomes a [Runtime Diagram][]. You can read the same story in [Participants mode][Participants mode] or [Systems mode][Systems mode].*

## <i class="fal fa-diagram-project" aria-hidden="true"></i> Why BPM, Mapify, and C4 all care about the same facts

* <i class="fal fa-project-diagram" aria-hidden="true"></i> [BPM][] shows the business step.
* <i class="fal fa-map" aria-hidden="true"></i> [Mapify][] shows the big interactive relationship map.
* <i class="fal fa-diagram-project" aria-hidden="true"></i> [C4 Diagrams][] show the architecture shape in a structured way. <sup><span class="nodinite-new-badge">New 7.12</span></sup> A BPM can generate its own C4 Dynamic diagram with **C4 Dynamic** on its view page.

All three can use the same [Repository Model][] facts that started with the [Log Event][].

<div class="mermaid">
graph LR
    Event["fa:fa-envelope Log Event"]
    Repo["fa:fa-sitemap Repository Model"]
    BPMNode["fa:fa-project-diagram BPM"]
    MapifyNode["fa:fa-map Mapify"]
    C4Node["fa:fa-diagram-project C4 Diagrams"]
    Event --> Repo
    Repo --> BPMNode
    Repo --> MapifyNode
    Repo --> C4Node
    style Event fill:#2678BD
    style Repo fill:#93d16d
    style BPMNode fill:#FFD525
    style MapifyNode fill:#93d16d
    style C4Node fill:#93d16d
</div>

*Diagram: One [Log Event][] helps build the [Repository Model][]. The same Repository facts can then feed [BPM][], [Mapify][], and [C4 Diagrams][].*

## <i class="fal fa-table" aria-hidden="true"></i> Tiny cheat sheet

| Thing | Easy way to think about it |
| --- | --- |
| [Log Event][] | A tiny note from a running system |
| [Context Options][] | Helper stickers that explain the note |
| [Repository Binding][] | The string that ties the note to the map |
| [Grouped Log View][Grouped Log View] | A pile of notes that belong to one trip |
| [Runtime Diagram][] | The story of that trip |
| [Mapify][] | The big interactive playground map |
| [C4 Diagrams][] | The neat blueprint version of the same facts |

## <i class="fal fa-hand-point-right" aria-hidden="true"></i> Next Steps

* <i class="fal fa-share-nodes" aria-hidden="true"></i> [Inspect grouped Log Views as runtime diagrams][Runtime Diagram Feature]  
* <i class="fal fa-diagram-project" aria-hidden="true"></i> [Working with Nodinite Log Views][Log Overview]  
* <i class="fal fa-map" aria-hidden="true"></i> [Mapify Overview][Mapify Overview]  

## <i class="fal fa-link-horizontal" aria-hidden="true"></i> Related Topics

* <i class="fal fa-cloud" aria-hidden="true"></i> [Log API][Log API]  
* <i class="fal fa-gears" aria-hidden="true"></i> [Logging Service][]  
* <i class="fal fa-tags" aria-hidden="true"></i> [Context Options][]  
* <i class="fal fa-sitemap" aria-hidden="true"></i> [Repository Model][]  
* <i class="fal fa-layer-group" aria-hidden="true"></i> [Log Views][]  
* <i class="fal fa-project-diagram" aria-hidden="true"></i> [Business Process Model (BPM)][BPM]  
* <i class="fal fa-map" aria-hidden="true"></i> [Mapify][]  
* <i class="fal fa-diagram-project" aria-hidden="true"></i> [C4 Diagrams][]  
* <i class="fal fa-map-location-dot" aria-hidden="true"></i> [Integration Landscape][]  

[1]:https://docs.nodinite.com/media/Documentation%20Pictures/IM/CoreServices/LogAPI/LogEvent_ToRepositoryStory.gif

[BPM]:https://docs.nodinite.com/repository-model/bpms/overview/
[C4 Diagrams]:https://docs.nodinite.com/repository-model/c4-diagrams/overview/
[Context Options]:https://docs.nodinite.com/core-services/log-event/features/context-options/
[Contracts]:https://docs.nodinite.com/getting-started/repository/contracts/overview/
[Grouped Log View]:https://docs.nodinite.com/administration/log-management/log-views/features/what-is-a-log-view/
[Integration Landscape]:https://docs.nodinite.com/getting-started/repository/integrations/integration-landscape/
[Integrations]:https://docs.nodinite.com/getting-started/repository/integrations/overview/
[Log API]:https://docs.nodinite.com/core-services/log-event/overview/
[Log Event]:https://docs.nodinite.com/core-services/log-event/overview/
[Log Overview]:https://docs.nodinite.com/getting-started/log/overview/
[Log Views]:https://docs.nodinite.com/administration/log-management/log-views/features/what-is-a-log-view/
[Logging Service]:https://docs.nodinite.com/core-services/logging-service/overview/
[Mapify]:https://docs.nodinite.com/mapify/overview/
[Mapify Overview]:https://docs.nodinite.com/mapify/overview/
[Message Types]:https://docs.nodinite.com/repository-model/message-types/overview/
[Participants mode]:https://docs.nodinite.com/getting-started/log/inspect-grouped-log-views-as-runtime-diagrams/#participants-mode
[Repository Binding]:https://docs.nodinite.com/core-services/log-event/features/context-options/
[Repository Model]:https://docs.nodinite.com/repository-model/overview/
[Runtime Diagram]:https://docs.nodinite.com/getting-started/log/inspect-grouped-log-views-as-runtime-diagrams/
[Runtime Diagram Feature]:https://docs.nodinite.com/getting-started/log/inspect-grouped-log-views-as-runtime-diagrams/
[Search Fields]:https://docs.nodinite.com/administration/log-management/search-fields/features/what-is-a-search-field/
[Services]:https://docs.nodinite.com/getting-started/repository/services/overview/
[Systems]:https://docs.nodinite.com/getting-started/repository/systems/overview/
[Systems mode]:https://docs.nodinite.com/getting-started/log/inspect-grouped-log-views-as-runtime-diagrams/#systems-mode