Appendix A Configuration Keys
Every key lives under Machine\System\eventd\.
eventd ignores unknown
keys in the subtree. An
invalid value is ignored and the value already in use is retained, and eventd
emits an eventd.config.changed event for every change actually applied
(§8.3).
A.1 Required #
No compiled-in defaults. A missing or invalid value fails startup (§8.2).
A.2 SQLite storage #
| Key | Type | Default | Range | Description |
|---|---|---|---|---|
WalCheckpointPages | REG_DWORD | 1000 | 100–100000 | WAL page threshold triggering a passive checkpoint, on shard, log, metric and metadata databases alike. |
A.3 Event ingestion #
| Key | Type | Default | Range | Description |
|---|---|---|---|---|
StorageShards | REG_DWORD | 0 | 0–256 | Number of event shards. 0 means the successfully attached KMES-buffer count. Each shard costs at least three file descriptors, plus about two for every running query that reads every shard; a high count needs eventd's LimitNOFILE raised (§2.3). |
MaxBatchSize | REG_DWORD | 10000 | 100–100000 | Maximum events per writer transaction. |
MaxBatchLatencyMs | REG_DWORD | 100 | 10–5000 | Maximum ms before an event batch commits. |
A.4 Log ingestion #
A.5 Metric ingestion #
| Key | Type | Default | Range | Description |
|---|---|---|---|---|
MetricMaxBatchSize | REG_DWORD | 5000 | 100–100000 | Maximum metric samples per transaction. |
MetricMaxBatchLatencyMs | REG_DWORD | 1000 | 10–5000 | Maximum ms before a metric batch commits. |
MaxMetricDatagramBytes | REG_DWORD | 262144 | 262144–1048576 | Maximum accepted metric datagram size; the PSPU portable floor cannot be lowered. |
MetricSeriesCacheSize | REG_DWORD | 50000 | 1000–1000000 | Entries in the LRU series resolution cache. |
MetricAuthorizationCacheSize | REG_DWORD | 16384 | 256–1000000 | Cached KACS publication verdicts, invalidated by security-policy generation. |
HealthMetricIntervalSeconds | REG_DWORD | 15 | 0–3600 | How often eventd records its own health as eventd.* metrics; 0 turns them off (§5.7). |
A.6 Adaptive indexing #
A.7 Index shedding #
A.8 Retention #
A.9 Querying #
| Key | Type | Default | Range | Description |
|---|---|---|---|---|
QueryTimeoutMs | REG_DWORD | 30000 | 1000–300000 | Maximum query execution time. |
MaxConcurrentQueries | REG_DWORD | 128 | 1–4096 | Concurrent queries globally, streaming and non-streaming. |
MaxStreamingQueries | REG_DWORD | 64 | 1–1024 | Concurrent streaming queries globally. |
MaxQueriesPerUser | REG_DWORD | 16 | 1–4096 | Concurrent queries, streaming or not, held by one caller's user SID; SYSTEM's are not counted (§6.5). |
MaxDistinctStreamValues | REG_DWORD | 100000 | 1000–10000000 | Values tracked by one DISTINCT streaming query. |
MaxQueryRequestBytes | REG_DWORD | 65536 | 1024–16777216 | Hard maximum query request payload. |
QueryResponseTargetBytes | REG_DWORD | 65536 | 1024–16777216 | Soft response batching target; one complete record may exceed it (§6). |
MaxQueryHeldBytes | REG_DWORD | 268435456 (256 MiB) | 16777216–4294967295 | What every running query together may hold to answer: sorted rows, aggregation groups and watch batches. A query in the default order holds nothing against it (§6.5). |
A.10 Adaptive metric rollups #
A.11 Cross-type filtering #
A.12 The security subtree #
Read-path descriptors live under Machine\System\eventd\Security\ and
are not configuration in the sense above (§7.2):
Machine\System\eventd\Security\Events\*
Machine\System\eventd\Security\Events\<pattern>
Machine\System\eventd\Security\Logs\*
Machine\System\eventd\Security\Logs\<pattern>
Machine\System\eventd\Security\Metrics\*
Machine\System\eventd\Security\Metrics\<pattern>
Machine\System\eventd\Security\Admin
Security\Admin governs EVENTD_ADMINISTER, especially INDEX, and
defaults to SYSTEM and Administrators.
It is registry-protected policy, not data in eventd-meta.db (§3.5,
§7.2).