---
title: DaysToKeepErrorEventsWithoutData System Parameter – Retention for Error Events Without Data
description: DaysToKeepErrorEventsWithoutData sets how many days Nodinite keeps error events that have no message data and no Message Type. Learn how it differs from DaysToKeepMessageEventsDefault. Default 10 days.
---

# DaysToKeepErrorEventsWithoutData - System Parameter

The **DaysToKeepErrorEventsWithoutData** [System Parameter][System Parameters] sets how many days the [Logging Service][] keeps error events that have no message data, and therefore no [Message Type][] to take a retention value from. Older ones are deleted on the next cleanup run.

## :fa-table: At a Glance {#at-a-glance}

| Property | Value |
| --- | --- |
| Key | `DaysToKeepErrorEventsWithoutData` |
| Data type | integer (days) |
| Default | `10` |
| Read by | [Logging Service][] |
| Takes effect | Next cleanup run; no restart needed |
| Status | ✅ Active |

## :fa-gears: How It Works

Retention for normal [Log Events][Log Event] is set per Message Type. Some error events never get one, because they carry no message data. Typical examples are errors raised before a message was received or processed, such as a failed connection or a rejected request. Without this parameter those error events would never expire.

On each cleanup run (see [CleanUpTimerInterval][]), the Logging Service deletes error events without data that are older than this value. Until then, they are visible in [Log Views][] like any other event. The full retention pipeline is described in the Logging Service [Data Retention][] section.

## :fa-lightbulb: Choosing a Value

* The default `10` days gives time to notice and troubleshoot recent system-level errors without letting them pile up.
* Raise the value if you need these error events for longer, for example to investigate recurring connection problems.

## :fa-question: Frequently Asked Questions

### How does this differ from DaysToKeepMessageEventsDefault?

[DaysToKeepMessageEventsDefault][] seeds the retention of events that have a Message Type; after that, each Message Type's own *Days to keep Events* value applies. **DaysToKeepErrorEventsWithoutData** applies only to error events without message data or Message Type, so you can keep them for a different, usually shorter, period.

## :fa-hand-point-right: Next Steps

* :fa-trash-can: [Data Retention][]  
* :fa-pen-to-square: [Manage System Parameters][]  

## :fa-link-horizontal: Related Topics

* :fa-clock: [CleanUpTimerInterval][]  
* :fa-envelope-open-text: [DaysToKeepMessageEventsDefault][]  
* :fa-hourglass-end: [MissingEventsDays][]  
* :fa-user-tag: [DaysToKeepLogAudits][]  
* :fa-hard-drive: [Logging Service][]  
* :fa-cog: [System Parameters][]  

[CleanUpTimerInterval]:{ndr}/Administration/5.%20Settings/5.%20System%20Parameters/CleanUpTimerInterval.md
[Data Retention]:{ndr}/Core%20Services/Logging%20Service/Overview.md#data-retention
[DaysToKeepLogAudits]:{ndr}/Administration/5.%20Settings/5.%20System%20Parameters/DaysToKeepLogAudits.md
[DaysToKeepMessageEventsDefault]:{ndr}/Administration/5.%20Settings/5.%20System%20Parameters/DaysToKeepMessageEventsDefault.md
[Log Event]:{ndr}/Core%20Services/Log%20Event/Overview.md
[Log Views]:{ndr}/Administration/1.%20Log%20Management/1.%20Log%20Views/Features/What%20is%20a%20Log%20View.md
[Logging Service]:{ndr}/Core%20Services/Logging%20Service/Overview.md
[Manage System Parameters]:{ndr}/Administration/5.%20Settings/5.%20System%20Parameters/Manage%20System%20Parameters.md
[Message Type]:{ndr}/Repository%20Model/Message%20Types/Overview.md
[MissingEventsDays]:{ndr}/Administration/5.%20Settings/5.%20System%20Parameters/MissingEventsDays.md
[System Parameters]:{ndr}/Administration/5.%20Settings/5.%20System%20Parameters/Overview.md