mirror of
https://gitee.com/orangeform/orange-admin.git
synced 2026-01-18 11:06:36 +08:00
commit
This commit is contained in:
@@ -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