mirror of
https://gitee.com/orangeform/orange-admin.git
synced 2026-01-18 02:56:30 +08:00
commit:同步2.0版本(添加指定审批人功能)
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
ARG LOGSTASH_VER
|
||||
|
||||
FROM logstash:${LOGSTASH_VER}
|
||||
@@ -0,0 +1,2 @@
|
||||
http.host: "0.0.0.0"
|
||||
xpack.monitoring.elasticsearch.hosts: [ "http://elasticsearch:9200" ]
|
||||
@@ -0,0 +1,6 @@
|
||||
# This file is where you define your pipelines. You can define multiple.
|
||||
# For more information on multiple pipelines, see the documentation:
|
||||
# https://www.elastic.co/guide/en/logstash/current/multiple-pipelines.html
|
||||
|
||||
- pipeline.id: main
|
||||
path.config: "/usr/share/logstash/pipeline"
|
||||
@@ -0,0 +1,15 @@
|
||||
input {
|
||||
kafka {
|
||||
bootstrap_servers => "kafka:9093"
|
||||
topics => "zz-log-topic"
|
||||
codec => plain
|
||||
}
|
||||
}
|
||||
|
||||
# 监听
|
||||
output {
|
||||
elasticsearch {
|
||||
hosts => ["http://elasticsearch:9200"]
|
||||
index => "logstash-%{+YYYY-MM}"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user