---
title: "Nodinite Alert Variables & JSONPath: Dynamic, Customizable Notifications"
description: Master dynamic alert customization in Nodinite using built-in variables and JSONPath expressions. Extract Repository Model data and tailor email and event log content for advanced, actionable integration monitoring.
---

# <i class="fal fa-brackets-curly" aria-hidden="true"></i> Variables and JSON Path examples for Alerts

Unlock the full power of dynamic, actionable notifications in <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> by leveraging built-in variables and JSONPath expressions. This guide shows you how to extract [Repository Model][] data and tailor email and event log content for advanced integration monitoring.

* ✅ Personalize alerts with dynamic variables and JSONPath  
* ✅ Extract actionable data from Repository Model for notifications  
* ✅ Automate and customize email and event log content  
* ✅ Empower rapid response and compliance for integration teams  

![The Subject of an E-mail with options Alarm Plugin set to Customer, Environment, StatusAndCount and DateTime variables and saved, a Monitor View alert after the Print Spooler stops, and the received e-mail with the resolved subject IBSS DEV: 1 Warning at a date and time, animated walkthrough (7.13)][Hero]  
*Animated walkthrough: on the **Configuration** tab of an [E-mail with options][] entry, under **Basic**, set the **Subject** to `{Customer} {Environment}: {StatusAndCount} at {DateTime}` and **Save**. When the [Monitor View][Monitor Views] *Contoso: Alert variables* sends its alert, the e-mail arrives with the subject *IBSS DEV: 1 Warning at 2026-12-02 19:28:35*.*  

> Control the content in email and [Windows Event Log][] entries using **variables** and **JSONPath** for maximum flexibility and actionable insights. <i class="fal fa-magic" aria-hidden="true"></i>

With <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span>, you can dynamically generate alert content at run-time using built-in variables (like the customer name from [CustomerName][] and the environment name from [EnvironmentName][]) and data from the [Repository Model][], such as [Custom Metadata][] on [Integrations][]. This enables you to deliver highly relevant, context-rich notifications to your team and stakeholders—empowering rapid response and compliance.

Typical use cases include:

* <i class="fal fa-envelope" aria-hidden="true"></i> **Email Plugins** ([E-mail][] and [E-mail with options][])
  * **Subject** – Personalize subject lines with dynamic data for clarity and traceability. All the variables below work here, and in the **Recurrence** subject of [E-mail with options][].
* <i class="fab fa-windows" aria-hidden="true"></i> [Event Log][Windows Event Log]
  * **Event Source** – Default: `Nodinite: [{Customer} | {Environment}]`. Takes only `{Customer}`, `{Environment}`, and `{Alarm.JsonPath:…}`.
  * **EventId** (0-65535) – A fixed number or `{Alarm.JsonPath:…}`. The result is 0 when it isn't a whole number from 0 to 65535, also when the JSONPath finds nothing or several values.

Variables work nowhere else: the [HTTP Webhook][HTTPWebhook] has none (it posts the whole alarm object), and [Stylesheets][] receive the alarm object itself.

## Variables

|Variable name|Description|Example|Works in|  
|:---:|---|---|---|  
|**\{Customer\}**|Customer name of the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> installation ([CustomerName][])|**Contoso**|Subject, Event Source|  
|**\{Environment\}**|Environment name of the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> installation ([EnvironmentName][], [shown in the Web Client][Environment])|**Prod/Test/QA...**|Subject, Event Source|  
|**\{Version\}**|The <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> version of the [Monitoring Service][]|**7.12.1**|Subject|  
|**\{Status\}**|The states of the [Monitor Views][] in the alert, without counts, joined with a comma; plural when more than one view has the state|**Errors, OK**|Subject|  
|**\{StatusAndCount\}**|The same states with the number of Monitor Views (not [Resources][]) in each|**2 Errors, 1 OK**|Subject|  
|**\{DateTime\}**|When the alarm was created, in the local time of the Monitoring Service server, as `yyyy-MM-dd HH:mm:ss`|**2026-12-02 19:28:35**|Subject|  
|**\{Alarm.JsonPath:`...`}**|Advanced: Use JSONPath to extract [Repository][Repository Model] data from the alarm object sent to the [Alarm Plugin][Alarm Plugins]|See JSONPath examples below|Subject, Event Source, EventId|  

A subject is one line (line breaks become spaces) of at most 998 characters. A trial installation adds *- Nodinite Trial expires …* to it.

![Windows Event Log Application entry with the Source Nodinite: IBSS | DEV, Level Warning, and Event Id 4350, read with Get-WinEvent (7.12)][1]  
*The Application log entry on the Monitoring Service server: the Event Source `Nodinite: [{Customer} | {Environment}]` resolved to `Nodinite: [IBSS | DEV]`, and the Event Id taken from the Monitor View's id.*  

![The Event Log Alarm Plugin entry with Event Source Nodinite: Customer | Environment and an Event Id from the JSONPath of the Monitor View id, saved, then the Print Spooler stops and the Application log entry on the Monitoring Service server shows the resolved source and Event Id 4350, animated walkthrough (7.12)][3]  
*Animated walkthrough: on the [Event Log][Windows Event Log] entry *Contoso: Event Log with variables*, set **Event Source** to `Nodinite: [{Customer} | {Environment}]` and **Event Id** to `{Alarm.JsonPath:MonitorViews[0].MonitorViewId}`, and **Save**. The next alert writes an Application log entry with the source `Nodinite: [IBSS | DEV]` and Event Id *4350*, the Monitor View's id.*  

<aside aria-label="Important" class="nodinite-note nodinite-note--important">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-message-exclamation"></i> Important</p>
<div class="nodinite-note__content"><p>From the <strong>Event Source</strong>, only the characters <code>&amp;</code>, <code>&lt;</code>, and <code>&gt;</code> are removed; every other character is kept. A source that doesn't exist yet is created in the Application log the first time it is used, which needs local administrator rights for the <a href="https://docs.nodinite.com/core-services/monitoring-service/overview/">Monitoring Service</a> account.</p></div>
</aside>

## JSONPath Examples

Any valid **JSONPath** on the **Alarm (JSON)** object sent by the [Monitoring Service][] can be used to set run-time values for **Subject**, **Event Source**, and **EventId**. Several matches are joined with a comma, a date is written as ISO 8601, and a path that matches nothing is left as you typed it. For example:

* **Monitor View Name** – `{Alarm.JsonPath:MonitorViews[*].Name}`
* **Monitor View Id**, for an **EventId** – `{Alarm.JsonPath:MonitorViews[0].MonitorViewId}`
* <sup><span class="nodinite-new-badge">New 7.12</span></sup> **Tags of the first Monitor View** – `{Alarm.JsonPath:MonitorViews[0].Tags[*].Name}`; in the example below, *Order-to-Cash, Production*
* **Repository Model Data** ('Integration Number' is an example [Custom Metadata][] field name)

```csharp
{Alarm.JsonPath:MonitorViews[0].Integrations[0].CustomMetaDatas[?(@.Name=='SLA')].CustomValues[0].Value}
{Alarm.JsonPath:MonitorViews[0].Integrations[0].CustomMetaDatas[?(@.Name=='Integration Number')].CustomValues[0].Value}
```

![The Subject set to Customer, Environment and Status plus the JSONPath of the first Integration's SLA, saved, then the OK alert after the Print Spooler starts again and the received e-mail with the subject IBSS DEV: OK, SLA Silver, animated walkthrough (7.13)][2]  
*Animated walkthrough: the **Subject** `{Customer} {Environment}: {Status}, SLA {Alarm.JsonPath:MonitorViews[0].Integrations[0].CustomMetaDatas[?(@.Name=='SLA')].CustomValues[0].Value}` reads the *SLA* of *INT002: Invoices*, the [Integration][Integrations] assigned to the Monitor View. When the Print Spooler runs again, the OK alert arrives as *IBSS DEV: OK, SLA Silver*.*  

## JSON Alarm Example

Here is an example of an Alarm (JSON) object to apply your **JSONPath** expressions on: the Contoso sample that **Execute Alarm test** sends with the state Error, as the HTTP Webhook posts it. The Monitor Views keep this order, *Contoso: Order-to-Cash* first (`MonitorViews[0]`) and *Contoso: Message Queues* second; only the shipped e-mail Stylesheet sorts the worst first. The [HTTP Webhook][HTTPWebhook] receives the same object as its payload; the email plugins' [Stylesheets][] receive it as XML ([Alarm Plugin Object][]). Each changed Resource carries its agent as `Source`, its own `CustomMetaDatas`, and `WasRemovedFromMonitorView`; <sup><span class="nodinite-new-badge">New 7.12</span></sup> each Monitor View and Resource has its [Tags][]. Each Monitor View has `Users`, the recipients, filled for the plugins that send to users; the Webhook leaves them out. The sample has no `Integrations` or Custom Metadata, which real alerts carry and the **Repository Model Data** examples above read. `Created` is in UTC.

```json
{
  "MonitorViews": [
    {
      "MonitorViewId": 1,
      "Name": "Contoso: Order-to-Cash",
      "Description": "Orders from the web shop to the ERP, and invoices back to the customer. Always OK in this test.",
      "WebSite": null,
      "StatusCode": {
        "StatusCode": 0,
        "Name": "OK"
      },
      "NumberOfMonitoredResources": 2,
      "Integrations": [],
      "Tags": [
        {
          "TagId": 1,
          "Name": "Order-to-Cash"
        },
        {
          "TagId": 2,
          "Name": "Production"
        }
      ],
      "ChangedResources": [
        {
          "ResourceId": 1,
          "Name": "INT001: Send Order to ERP",
          "Description": "Sends each order to the ERP.",
          "WebSite": null,
          "Source": {
            "SourceId": 1,
            "Name": "BizTalk",
            "Description": "Monitors the BizTalk group.",
            "Server": "NODINITE01",
            "Environment": "Production",
            "Version": null,
            "WebSite": null
          },
          "Category": {
            "CategoryId": 1,
            "Name": "Send Ports",
            "Description": "BizTalk Send Ports.",
            "WebSite": null
          },
          "Application": {
            "ApplicationId": 1,
            "Name": "Contoso.OrderToCash",
            "Description": "The BizTalk application of the Order-to-Cash flow.",
            "WebSite": null
          },
          "StatusCode": {
            "StatusCode": 0,
            "Name": "OK"
          },
          "LogText": "Started and enlisted.",
          "CustomMetaDatas": [],
          "Tags": [
            {
              "TagId": 4,
              "Name": "Finance"
            }
          ],
          "WasRemovedFromMonitorView": false
        },
        {
          "ResourceId": 2,
          "Name": "INT001: Receive Order from File",
          "Description": "Picks up the web shop's order files.",
          "WebSite": null,
          "Source": {
            "SourceId": 1,
            "Name": "BizTalk",
            "Description": "Monitors the BizTalk group.",
            "Server": "NODINITE01",
            "Environment": "Production",
            "Version": null,
            "WebSite": null
          },
          "Category": {
            "CategoryId": 2,
            "Name": "Receive Locations",
            "Description": "BizTalk Receive Locations.",
            "WebSite": null
          },
          "Application": {
            "ApplicationId": 1,
            "Name": "Contoso.OrderToCash",
            "Description": "The BizTalk application of the Order-to-Cash flow.",
            "WebSite": null
          },
          "StatusCode": {
            "StatusCode": 0,
            "Name": "OK"
          },
          "LogText": "Enabled.",
          "CustomMetaDatas": [],
          "Tags": [],
          "WasRemovedFromMonitorView": false
        }
      ]
    },
    {
      "MonitorViewId": 2,
      "Name": "Contoso: Message Queues",
      "Description": "The queues the order flow and the Log API depend on.",
      "WebSite": null,
      "StatusCode": {
        "StatusCode": 2,
        "Name": "ERROR"
      },
      "NumberOfMonitoredResources": 2,
      "Integrations": [],
      "Tags": [
        {
          "TagId": 3,
          "Name": "Infrastructure"
        },
        {
          "TagId": 2,
          "Name": "Production"
        }
      ],
      "ChangedResources": [
        {
          "ResourceId": 10,
          "Name": "contoso.orders",
          "Description": "Orders waiting for the ERP.",
          "WebSite": null,
          "Source": {
            "SourceId": 2,
            "Name": "Message Queuing",
            "Description": "Monitors the MSMQ queues.",
            "Server": "NODINITE01",
            "Environment": "Production",
            "Version": "7.12",
            "WebSite": null
          },
          "Category": {
            "CategoryId": 10,
            "Name": "MSMQ Queue",
            "Description": "Private MSMQ queues.",
            "WebSite": null
          },
          "Application": null,
          "StatusCode": {
            "StatusCode": 2,
            "Name": "ERROR"
          },
          "LogText": "1 250 messages in the queue exceed the error limit of 1 000.",
          "CustomMetaDatas": [],
          "Tags": [
            {
              "TagId": 5,
              "Name": "Critical"
            },
            {
              "TagId": 4,
              "Name": "Finance"
            }
          ],
          "WasRemovedFromMonitorView": false
        },
        {
          "ResourceId": 11,
          "Name": "nodinite.logapi",
          "Description": "Log events waiting for the Log API.",
          "WebSite": null,
          "Source": {
            "SourceId": 2,
            "Name": "Message Queuing",
            "Description": "Monitors the MSMQ queues.",
            "Server": "NODINITE01",
            "Environment": "Production",
            "Version": "7.12",
            "WebSite": null
          },
          "Category": {
            "CategoryId": 10,
            "Name": "MSMQ Queue",
            "Description": "Private MSMQ queues.",
            "WebSite": null
          },
          "Application": null,
          "StatusCode": {
            "StatusCode": 1,
            "Name": "WARNING"
          },
          "LogText": "120 messages in the queue exceed the warning limit of 100, but not the error limit.",
          "CustomMetaDatas": [],
          "Tags": [],
          "WasRemovedFromMonitorView": false
        }
      ]
    }
  ],
  "Version": "7.12.1",
  "Environment": "Production",
  "Customer": "Contoso",
  "Created": "2026-11-19T09:15:14Z",
  "WebClientUrl": "https://nodinite.contoso.com/",
  "IsRecurring": false,
  "ProductStatus": {
    "IsTrial": false,
    "ExpirationDate": null
  }
}
```

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

* <i class="fal fa-plug-circle-bolt" aria-hidden="true"></i> [Alarm Plugins - Overview][]  
* <i class="fal fa-edit" aria-hidden="true"></i> [Edit Alarm Plugins][]  
* <i class="fal fa-sitemap" aria-hidden="true"></i> [Repository Model][]  

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

* <i class="fal fa-envelope" aria-hidden="true"></i> [E-mail][]  
* <i class="fal fa-envelope-open-text" aria-hidden="true"></i> [E-mail with options][]  
* <i class="fal fa-file-lines" aria-hidden="true"></i> [Windows Event Log][]  
* <i class="fal fa-webhook" aria-hidden="true"></i> [HTTP Webhook][HTTPWebhook]  
* <i class="fal fa-question" aria-hidden="true"></i> [Troubleshooting Overview][Troubleshooting]  
* <i class="fal fa-plug-circle-bolt" aria-hidden="true"></i> [Alarm Plugins][]  
* <i class="fal fa-code" aria-hidden="true"></i> [Alarm Plugin Object][]  
* <i class="fal fa-user" aria-hidden="true"></i> [CustomerName][]  
* <i class="fal fa-leaf" aria-hidden="true"></i> [EnvironmentName][]  
* <i class="fal fa-tags" aria-hidden="true"></i> [Custom Metadata][]  

[1]:https://docs.nodinite.com/media/Documentation%20Pictures/IM/WebClient/Admin/Settings/AlarmPlugins/EventLog/EventLogSourceName.png
[2]:https://docs.nodinite.com/media/Documentation%20Pictures/IM/WebClient/Admin/Settings/AlarmPlugins/AlarmPlugin_JsonPathMetadata.gif
[3]:https://docs.nodinite.com/media/Documentation%20Pictures/IM/WebClient/Admin/Settings/AlarmPlugins/AlarmPlugin_EventLogSource.gif

[Alarm Plugin Object]:https://docs.nodinite.com/administration/customize/stylesheets/examples/alarm-plugin-object/
[Alarm Plugins]:https://docs.nodinite.com/administration/settings/alarm-plugins/features/what-is-an-alarm-plugin/
[Alarm Plugins - Overview]:https://docs.nodinite.com/administration/settings/alarm-plugins/overview/
[Custom Metadata]:https://docs.nodinite.com/repository-model/custom-metadata/overview/
[CustomerName]:https://docs.nodinite.com/administration/settings/system-parameters/customername/
[E-mail]:https://docs.nodinite.com/administration/settings/alarm-plugins/features/email/
[E-mail with options]:https://docs.nodinite.com/administration/settings/alarm-plugins/features/email-with-options/
[Edit Alarm Plugins]:https://docs.nodinite.com/administration/settings/alarm-plugins/features/add-or-manage-alarm-plugin/
[Environment]:https://docs.nodinite.com/getting-started/menu-environment/
[EnvironmentName]:https://docs.nodinite.com/administration/settings/system-parameters/environmentname/
[Hero]:https://docs.nodinite.com/media/Documentation%20Pictures/IM/WebClient/Admin/Settings/AlarmPlugins/AlarmPlugin_SubjectVariables.gif
[HTTPWebhook]:https://docs.nodinite.com/administration/settings/alarm-plugins/features/http-webhook/
[Integrations]:https://docs.nodinite.com/repository-model/integrations/overview/
[Monitor Views]:https://docs.nodinite.com/administration/monitor-management/monitor-views/features/what-is-a-monitor-view/
[Monitoring Service]:https://docs.nodinite.com/core-services/monitoring-service/overview/
[Repository Model]:https://docs.nodinite.com/repository-model/overview/
[Resources]:https://docs.nodinite.com/administration/monitor-management/resources/features/what-is-a-resource/
[Stylesheets]:https://docs.nodinite.com/administration/customize/stylesheets/features/what-is-a-stylesheet/
[Tags]:https://docs.nodinite.com/administration/customize/tags/features/what-is-a-tag/
[Troubleshooting]:https://docs.nodinite.com/administration/settings/alarm-plugins/troubleshooting/overview/
[Windows Event Log]:https://docs.nodinite.com/administration/settings/alarm-plugins/features/event-log/