---
title: Nodinite Log API – REST Entry Point for Log Events, Architecture, and Settings
description: The Nodinite Log API is the REST entry point for Log Events from Log Agents, the Pickup Service, and your own code. Learn how it fits in the architecture, what you set in the Portal, which System Parameter it reads, and what happens after it accepts an event.
---

# <i class="fal fa-cloud-arrow-down" aria-hidden="true"></i> Log API

The <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> **Log API** is the REST entry point for every [Log Event][] that reaches <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span>. <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Log Agents][] use it, the [Pickup Log Events Service Logging Agent][Pickup Service] uses it, and your own code can use it too, from any platform: Node.js, .NET, Java, Python, PowerShell, or anything that can post JSON over [REST][Log using REST]. The Log API stores the events in the [Log Databases][], where the [Logging Service][] processes them and business users find them through [role][Roles]-based [Log Views][].

* ✅ One REST endpoint for Log Events from all platforms  
* ✅ Single Log Events or batches, with a validate-only operation  
* ✅ Optional OAuth 2.0 protection, set in the Nodinite Portal  
* ✅ Built-in Scalar and Swagger API references  

![In the Log API's Scalar reference, POST /LogAPI/api/LogEvent, Test Request, paste an order's Log Event, Send and get 200 OK, then search the Log View Contoso: Orders on the order number and open the Details of the event on Portal-OrderReceived-API, Endpoint Type REST API, animated walkthrough (7.12)][Hero]  
*Animated walkthrough: in [Scalar](#fa-magnifying-glass-scalar-and-swagger-support), open **POST /LogAPI/api/LogEvent**, click **Test Request**, paste a [Log Event][], and **Send**: the Log API answers **200 OK** with the EventId. Then search a [Log View][Log Views] on the order number and open the event's Details.*  

## <i class="fal fa-signs-post" aria-hidden="true"></i> Choose Your Path

| You want to… | Go to |
| --- | --- |
| <i class="fal fa-user-shield" aria-hidden="true"></i> Check its application pool account and SQL Server rights | [Accounts and Rights at a Glance][Prerequisites Accounts] |
| <i class="fal fa-code" aria-hidden="true"></i> Send Log Events from your own code | [Log using REST][], [Asynchronous Logging][], and the [Log Event][] data contract |
| <i class="fal fa-key" aria-hidden="true"></i> Require a token from every sender | [Protect the Log API with OAuth 2.0 and Entra ID][Log API OAuth] |
| <i class="fal fa-gears" aria-hidden="true"></i> Know what happens after an event is accepted | [What Happens After the Log API Accepts an Event](#what-happens-after) |
| <i class="fal fa-shield-check" aria-hidden="true"></i> Open the ports for the senders and SQL Server | [Log API firewall][Prerequisites Firewall] |
| <i class="fal fa-wrench" aria-hidden="true"></i> Solve a problem | [Log API troubleshooting][Troubleshooting] |
| <i class="fal fa-arrow-turn-up" aria-hidden="true"></i> Change its port or account, or update it | [Update Log API][Update] |

## <i class="fal fa-network-wired" aria-hidden="true"></i> Understanding the Log API Architecture

<div class="mermaid">
graph LR
    subgraph "Senders"
        roAgents[fal:fa-box-archive Nodinite Log Agents]
        roPickup[fal:fa-truck-pickup Pickup Service]
        roCode[fal:fa-code Your own code]
    end
    subgraph "Core Services host"
        roLogAPI(fal:fa-cloud-arrow-down Log API)
        roLS(fal:fa-hard-drive Logging Service)
    end
    subgraph "SQL Server"
        roSQL1(fal:fa-database Configuration Database)
        roSQL2(fal:fa-database Active Log Database)
    end
    roAgents -->|Log Events| roLogAPI
    roPickup -->|Log Events| roLogAPI
    roCode -->|REST, JSON| roLogAPI
    roLogAPI -->|settings| roSQL1
    roLogAPI -->|store unprocessed| roSQL2
    roLS -->|process| roSQL2
    style roLogAPI fill:#2678BD,color:#fff
    style roLS fill:#E47528,color:#fff
    style roSQL1 fill:#3F827B,color:#fff
    style roSQL2 fill:#3F827B,color:#fff
</div>

*Senders post Log Events to the Log API (blue), which stores them in the active Log Database (green). The Logging Service (orange) then processes them.*  

### <i class="fal fa-puzzle-piece" aria-hidden="true"></i> Key Components

| Component | Role |
| --- | --- |
| **Log API** | ASP.NET Core web application, hosted as its own [IIS][] web site and port. Receives [Log Events][Log Event] over REST and stores them. Part of the [Core Services][] |
| [Log Agents][] and the [Pickup Service][] | Send Log Events to the Log API base URL `https://{host}:{port}/LogAPI/`. They keep their events and retry while the Log API is unavailable |
| [Configuration Database][ConfigDB] | Holds the [System Parameters][] the Log API reads |
| [Log Databases][] | Hold the stored Log Events and messages |
| [Logging Service][] | Processes what the Log API stores: [Message Types][], [Search Fields][], retention, and cleanup |

## <i class="fal fa-sliders" aria-hidden="true"></i> Installation and Settings

The Log API is installed, updated, and removed with the [Core Services][]; see [Install Log API][Install], [Update Log API][Update], and [Uninstall Log API][Uninstall]. You set its values in the [Nodinite Portal][NodinitePortal]<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup>, never by hand in IIS or settings files:

| Setting | Portal step |
| --- | --- |
| Port and service account | [Step 4: Servers › Core platform services][Portal Core Platform Services] |
| TLS host name and certificate | [Step 4: Servers › Core host Configuration][Portal Core Host TLS] |
| **Enable Authentication** and **Audiences** (OAuth 2.0) | [Step 2: Auth › Log API][Portal Auth Log API] |

By default the Log API accepts Log Events anonymously. To require a bearer token, follow [Protect the Log API with OAuth 2.0 and Entra ID][Protect Log API]. Review the [Prerequisites][] (SQL Server rights, firewall) before you install.

## <i class="fal fa-key" aria-hidden="true"></i> System Parameters Read by the Log API

| System Parameter | Purpose |
| --- | --- |
| [SqlServer][] | Which SQL Server, [Linked Server][Linked Servers], or Azure SQL hosts the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> databases |

The Log API reads only this one. The parameters that change what happens to your Log Events after they are stored are read by the [Logging Service][]; see the next section. How to change a value: [Manage System Parameters][].

<h2 id="what-happens-after"><i class="fal fa-gears" aria-hidden="true"></i> What Happens After the Log API Accepts an Event</h2>

The Log API stores the event as unprocessed, so an event isn't searchable the moment you get **200 OK**: the [Logging Service][] processes it first, usually within seconds and at most about a minute. The Logging Service determines the [Message Type][Message Types], extracts [Search Fields][], and applies retention; the full pipeline is in [What happens after you log an event][Log Event Pipeline]. These pages tell you what you can control:

* [JSON Log Event][] – the fields to send; always set `OriginalMessageTypeName`, or the event gets no searchable business data  
* [Context Options][] – reserved context keys that change how an event is processed  
* [Repository Binding][] – build the [Repository Model][] from your Log Events, with [AllowRepositoryAutomapping][]  
* [ContextPropertiesFilters][] – remove context properties, such as passwords, before they are stored  
* [MessageProcessingMaxBodySize][] – the largest message body the Logging Service processes  
* [MissingEventsDays][] – how long unprocessed Log Events without a Message Type are kept  
* [Message Types][] and [Search Fields][] – how business data is extracted, for [Log Views][], [Non-Events Monitoring][], and [BPM][]  

## <i class="fal fa-code" aria-hidden="true"></i> Log from Your Own Code

To post Log Events from a script, service, or application, start with [Log using REST][]. It shows how to find the base URL of your environment's Log API (for example `https://nodinite.contoso.com:40002/LogAPI/`), how to call a protected Log API, and gives samples in PowerShell, curl, C#, Python, and Node.js. For volume, or when your application must not depend on <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> being available, use [Asynchronous Logging][] with the [Pickup Service][].

<aside aria-label="Tip" class="nodinite-note nodinite-note--tip">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-lightbulb"></i> Tip</p>
<div class="nodinite-note__content"><p>The Log API is for <strong>writing</strong> Log Events. To automate other tasks, such as maintaining the <a href="https://docs.nodinite.com/repository-model/overview/">Repository Model</a> or reading monitoring data, use the deterministic <a href="https://docs.nodinite.com/core-services/web-api/features/managing-the-web-api/">Web API</a>. To ask natural-language questions about your integration landscape from an AI tool, use the <a href="https://docs.nodinite.com/ai/mcp-endpoint/">MCP Endpoint</a>.</p></div>
</aside>

The WCF endpoints of <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> v6 are not available in v7; see [Log using WCF][] for what to use instead.

## <i class="fal fa-magnifying-glass" aria-hidden="true"></i> Scalar and Swagger Support

The Log API comes with two interactive API references at the root of its web site: Scalar at `https://{host}:{port}/scalar` and [Swagger][] at `https://{host}:{port}/swagger`. Both list every operation and model, and let you send test requests. Scalar also generates code snippets for many languages. Swagger may be removed in a future version, so prefer Scalar.

![Scalar start page for the Log API: Nodinite.LogApiCore with Download OpenAPI Document, Client Libraries with Generate SDK, and the Information operations (7.12)][1]  
*Scalar groups the Log API operations into Information and LogEvent, and lets you download the OpenAPI document.*  

![Swagger with the LogEvent group expanded: four POST operations for Log Events, batches and validation, and three GET operations for Endpoint Types, Endpoint Direction and Event Direction (7.12)][0]  
*Swagger lists the Log API operations: post a Log Event or a batch, validate them, and read the valid [Endpoint Types][], [Endpoint Directions][], and [Event Directions][].*  

## <i class="fal fa-question" aria-hidden="true"></i> Frequently Asked Questions

Find answers to common questions and troubleshooting tips in the [Troubleshooting][] guide for the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> Log API.

<aside aria-label="Note" class="nodinite-note nodinite-note--note">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-note"></i> Note</p>
<div class="nodinite-note__content"><p><span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> v6 is no longer supported. To move an existing v6 installation, follow <a href="https://docs.nodinite.com/install-and-update/getting-started/version-6/updating-from-v6-to-v7/">Updating from v6 to v7</a>.</p></div>
</aside>

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

* <i class="fal fa-code" aria-hidden="true"></i> [Log using REST][]  
* <i class="fal fa-shield-halved" aria-hidden="true"></i> [Protect the Log API with OAuth 2.0 and Entra ID][Protect Log API]  
* <i class="fal fa-truck-pickup" aria-hidden="true"></i> [Log Events][Log Event] transferred by the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Pickup Log Events Service Logging Agent][Pickup Service]  
* <i class="fal fa-clipboard-check" aria-hidden="true"></i> [Prerequisites][]  
* <i class="fal fa-rocket" aria-hidden="true"></i> [Install Log API][Install]  
* <i class="fal fa-search" aria-hidden="true"></i> Self-service for the business using <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Log Views][]  

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

* <i class="fal fa-bolt" aria-hidden="true"></i> [Log Event][]  
* <i class="fal fa-bolt" aria-hidden="true"></i> [Asynchronous Logging][]  
* <i class="fal fa-box-archive" aria-hidden="true"></i> [Log Agents][]  
* <i class="fal fa-hard-drive" aria-hidden="true"></i> [Logging Service][]  
* <i class="fal fa-database" aria-hidden="true"></i> [Log Databases][]  
* <i class="fal fa-file" aria-hidden="true"></i> [Message Types][] - Critical for Search Field extraction  
* <i class="fal fa-magnifying-glass-plus" aria-hidden="true"></i> [Search Fields][] - Extracted using Message Types  
* <i class="fal fa-stopwatch" aria-hidden="true"></i> [Non-Events Monitoring][] - Analyzes Log View data  
* <i class="fal fa-project-diagram" aria-hidden="true"></i> [Business Process Modeling (BPM)][BPM] - Tracks end-to-end processes  
* <i class="fal fa-binary-lock" aria-hidden="true"></i> [Hardening][]  
* <i class="fal fa-list-ul" aria-hidden="true"></i> [Log API Scenarios][Scenarios]  
* <i class="fal fa-key" aria-hidden="true"></i> [System Parameters][]  

[0]:https://docs.nodinite.com/media/Documentation%20Pictures/IM/CoreServices/LogAPI/RestBasedLogAPI.png
[1]:https://docs.nodinite.com/media/Documentation%20Pictures/IM/CoreServices/LogAPI/RestBasedLogAPI_Scalar.png

[AllowRepositoryAutomapping]:https://docs.nodinite.com/administration/settings/system-parameters/allowrepositoryautomapping/
[Asynchronous Logging]:https://docs.nodinite.com/core-services/log-api/features/asynchronous-logging/
[BPM]:https://docs.nodinite.com/repository-model/bpms/overview/
[ConfigDB]:https://docs.nodinite.com/core-services/configuration-database/overview/
[Context Options]:https://docs.nodinite.com/core-services/log-event/features/context-options/
[ContextPropertiesFilters]:https://docs.nodinite.com/administration/settings/system-parameters/contextpropertiesfilters/
[Core Services]:https://docs.nodinite.com/core-services/overview/
[Endpoint Directions]:https://docs.nodinite.com/core-services/log-event/features/endpoint-directions/
[Endpoint Types]:https://docs.nodinite.com/core-services/log-event/features/endpoint-types/
[Event Directions]:https://docs.nodinite.com/core-services/log-event/features/event-directions/
[Hardening]:https://docs.nodinite.com/install-and-update/troubleshooting/iis/how-to-perform-hardening-on-your-nodinite-installation/
[Hero]:https://docs.nodinite.com/media/Documentation%20Pictures/IM/CoreServices/LogAPI/LogAPI_PostAndFind.gif
[IIS]:https://docs.nodinite.com/logging-and-monitoring/windows-server/features/iis/
[Install]:https://docs.nodinite.com/core-services/log-api/getting-started/install/
[JSON Log Event]:https://docs.nodinite.com/core-services/log-event/features/json-log-event/
[Linked Servers]:https://docs.nodinite.com/install-and-update/troubleshooting/sql-server/linked-servers/
[Log Agents]:https://docs.nodinite.com/administration/log-management/log-agents/features/what-is-a-log-agent/
[Log API OAuth]:https://docs.nodinite.com/core-services/log-api/scenarios/protect-the-log-api-with-oauth-2-0-and-entra-id/
[Log Databases]:https://docs.nodinite.com/core-services/log-databases/overview/
[Log Event]:https://docs.nodinite.com/core-services/log-event/overview/
[Log Event Pipeline]:https://docs.nodinite.com/core-services/log-event/overview/#what-happens-after-you-log-an-event
[Log using REST]:https://docs.nodinite.com/core-services/log-api/features/log-using-rest/
[Log using WCF]:https://docs.nodinite.com/core-services/log-api/features/log-using-wcf/
[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/
[Manage System Parameters]:https://docs.nodinite.com/administration/settings/system-parameters/manage-system-parameters/
[Managing the Web API]:https://docs.nodinite.com/core-services/web-api/features/managing-the-web-api/
[MCP Endpoint]:https://docs.nodinite.com/ai/mcp-endpoint/
[Message Types]:https://docs.nodinite.com/repository-model/message-types/overview/
[MessageProcessingMaxBodySize]:https://docs.nodinite.com/administration/settings/system-parameters/messageprocessingmaxbodysize/
[MissingEventsDays]:https://docs.nodinite.com/administration/settings/system-parameters/missingeventsdays/
[NodinitePortal]:https://portal.nodinite.com/
[Non-Events Monitoring]:https://docs.nodinite.com/logging-and-monitoring/non-events/overview/
[Pickup Service]:https://docs.nodinite.com/logging-and-monitoring/pickup-logevents-service/overview/
[Portal Auth Log API]:https://docs.nodinite.com/install-and-update/getting-started/version-7/install-nodinite-v7-steps/02-auth/#log-api
[Portal Core Host TLS]:https://docs.nodinite.com/install-and-update/getting-started/version-7/install-nodinite-v7-steps/04-servers/#core-host-tls
[Portal Core Platform Services]:https://docs.nodinite.com/install-and-update/getting-started/version-7/install-nodinite-v7-steps/04-servers/#core-platform-services
[Prerequisites]:https://docs.nodinite.com/core-services/log-api/getting-started/prerequisites/
[Prerequisites Accounts]:https://docs.nodinite.com/core-services/log-api/getting-started/prerequisites/#fa-user-shield-accounts-and-rights-at-a-glance
[Prerequisites Firewall]:https://docs.nodinite.com/core-services/log-api/getting-started/prerequisites/#what-firewall-settings-are-required-for-the-log-api
[Protect Log API]:https://docs.nodinite.com/core-services/log-api/scenarios/protect-the-log-api-with-oauth-2-0-and-entra-id/
[Repository Binding]:https://docs.nodinite.com/core-services/log-event/features/repository-binding/
[Repository Model]:https://docs.nodinite.com/repository-model/overview/
[Roles]:https://docs.nodinite.com/administration/access-management/roles/features/what-is-a-role/
[Scenarios]:https://docs.nodinite.com/core-services/log-api/scenarios/overview/
[Search Fields]:https://docs.nodinite.com/administration/log-management/search-fields/features/what-is-a-search-field/
[SqlServer]:https://docs.nodinite.com/administration/settings/system-parameters/sqlserver/
[Swagger]:https://swagger.io/
[System Parameters]:https://docs.nodinite.com/administration/settings/system-parameters/overview/
[Troubleshooting]:https://docs.nodinite.com/core-services/log-api/troubleshooting/overview/
[Uninstall]:https://docs.nodinite.com/core-services/log-api/troubleshooting/uninstall/
[Update]:https://docs.nodinite.com/core-services/log-api/updating/
[Updating from v6 to v7]:https://docs.nodinite.com/install-and-update/getting-started/version-6/updating-from-v6-to-v7/