mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2026-05-06 22:12:23 +08:00
chore: update docs
This commit is contained in:
@@ -10,7 +10,6 @@ EnableHTTPS = false
|
||||
EnableH2 = false
|
||||
EnableH3 = false
|
||||
|
||||
|
||||
[database]
|
||||
Name = database
|
||||
|
||||
@@ -72,7 +71,7 @@ IndexPath =
|
||||
; This controls how often nginx-ui scans access logs for new data and performs
|
||||
; incremental indexing. Lower values keep analytics closer to real-time but
|
||||
; increase background CPU usage. Higher values reduce CPU usage at the cost
|
||||
; of more stale analytics data.
|
||||
; of more stale analytics data. Values <= 0 fall back to the default 15 minutes.
|
||||
IncrementalIndexInterval = 15
|
||||
|
||||
[node]
|
||||
|
||||
@@ -28,6 +28,14 @@ When `IndexingEnabled` is set to `false`, Nginx UI still discovers log entries f
|
||||
- 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.
|
||||
|
||||
### IncrementalIndexInterval
|
||||
|
||||
- Type: `int` (minutes)
|
||||
- Default: `15` when the value is `0` or negative
|
||||
- Version: `>= v2.2.0`
|
||||
|
||||
Controls how frequently the incremental indexing job scans access logs for new entries. Lower values keep analytics closer to real time but increase background CPU usage; higher values reduce CPU load at the cost of staler analytics data. Set `0` or a negative value to use the safe default of 15 minutes.
|
||||
|
||||
## System Requirements
|
||||
|
||||
### Minimum Requirements
|
||||
|
||||
@@ -28,6 +28,14 @@
|
||||
- 默认情况下,Bleve 索引文件存放在 Nginx UI 配置目录下的 `log-index` 目录(例如:`/usr/local/nginx-ui/log-index`)。
|
||||
- 如果无法确定配置目录,回退路径为应用相对路径的 `./log-index`。
|
||||
|
||||
### IncrementalIndexInterval
|
||||
|
||||
- 类型:`int`(分钟)
|
||||
- 默认值:当配置为 `0` 或负数时使用 `15`
|
||||
- 版本:`>= v2.2.0`
|
||||
|
||||
控制增量索引任务扫描访问日志的频率。数值越小,分析数据越接近实时,但后台 CPU 占用越高;数值越大则降低 CPU 占用,但分析数据更新会更滞后。配置为 `0` 或负数时会自动回退到安全的默认 15 分钟。
|
||||
|
||||
## 系统要求
|
||||
|
||||
### 最低要求
|
||||
|
||||
@@ -28,6 +28,14 @@
|
||||
- 預設情況下,Bleve 索引檔存放於 Nginx UI 設定目錄下的 `log-index` 目錄(例如:`/usr/local/nginx-ui/log-index`)。
|
||||
- 若無法判定設定目錄,則回退至應用相對路徑的 `./log-index`。
|
||||
|
||||
### IncrementalIndexInterval
|
||||
|
||||
- 類型:`int`(分鐘)
|
||||
- 預設值:設定為 `0` 或負數時使用 `15`
|
||||
- 版本:`>= v2.2.0`
|
||||
|
||||
控制增量索引任務掃描存取日誌的頻率。數值越小,分析資料越接近即時,但背景 CPU 使用率越高;數值越大則降低 CPU 負載,但分析資料更新會更滯後。設定為 `0` 或負數時會自動回退到安全的預設 15 分鐘。
|
||||
|
||||
|
||||
## 系統需求
|
||||
|
||||
|
||||
Reference in New Issue
Block a user