This section covers configuration options for Nginx log processing and analysis features in Nginx UI.
boolean
false
NGINX_UI_NGINX_LOG_INDEXING_ENABLED
>= v2.2.0
This option enables indexing for Nginx logs, which provides high-performance log search and analysis capabilities.
When IndexingEnabled
is set to false
, Nginx UI still discovers log entries from your Nginx configuration and shows them in the Logs list. In this basic mode:
string
Version: >= v2.2.0
By default, Bleve index files are stored in the log-index
directory located under your Nginx UI config directory (for example, /usr/local/nginx-ui/log-index
).
If the config directory cannot be determined, the fallback path is ./log-index
relative to the application.
Based on production validation and comprehensive testing (M2 Pro 12 cores, September 2025):
Metric | Value | Description |
---|---|---|
Production Pipeline | ~10,000 records/sec | Complete indexing with search capabilities |
Parser Performance | ~932K records/sec | Stream processing only |
CPU Utilization | 90%+ | Optimized multi-core processing |
Memory Efficiency | Zero-allocation design | Advanced memory pooling system |
Adaptive Scaling | 12→36 workers | Dynamic resource optimization |
Batch Optimization | 1000→6000 | Real-time throughput tuning |
When advanced indexing is enabled, you get access to the following features:
::: tip Performance Impact Notice Advanced indexing delivers enterprise-grade performance with ~10,000 records/second throughput for complete log processing. The system automatically optimizes CPU utilization (90%+) and adapts worker scaling (12→36) for optimal performance based on your hardware. :::
::: info Open Source Limitation
::: warning Initial Indexing When you enable advanced indexing, the system will immediately start indexing existing log files. This initial indexing process may temporarily impact system performance. :::