+
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user