This commit is contained in:
dxin
2025-11-29 19:11:29 +08:00
parent ff383ea31e
commit dab9078477
6 changed files with 84 additions and 45 deletions

View File

@@ -37,6 +37,7 @@ processors:
ignore_missing: true
overwrite_keys: true
- dissect:
when:
equals:
@@ -47,6 +48,7 @@ processors:
ignore_missing: true
overwrite_keys: true
- dissect:
when:
equals:
@@ -60,12 +62,12 @@ processors:
#输出
output.elasticsearch:
hosts: ["http://192.168.60.21:9200"]
hosts: ["http://192.168.70.16:9200"]
username: "admin"
password: "123456"
index: "%{[environment]}-%{[application]}-%{+yyyy.MM.dd}" # 按天分割索引
bulk_max_size: 50 # 单批次传输最大文档数
worker: 1 # 并行工作线程数
worker: 1 # 并行工作线程数
timeout: 15s