remove logstash error
parent
f4a0d31d8b
commit
b2974bc2f9
|
@ -11,12 +11,4 @@ output {
|
|||
hosts => "elasticsearch:9200"
|
||||
index => "application-%{+YYYY.MM.dd}"
|
||||
}
|
||||
if "lili_goods" in [tags] {
|
||||
elasticsearch {
|
||||
hosts => ["http://elasticsearch:9200"]
|
||||
index => "lili_goods"
|
||||
template => "/usr/share/logstash/templates/lili_goods.json"
|
||||
template_name => "lili_goods"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -72,7 +72,6 @@ services:
|
|||
container_name: logstash
|
||||
volumes:
|
||||
- ./config/logstash-springboot.conf:/usr/share/logstash/pipeline/logstash.conf #挂载logstash的配置文件
|
||||
- ./config/lili_goods.json:/usr/share/logstash/templates/lili_goods.json
|
||||
networks:
|
||||
- stack
|
||||
depends_on: ['elasticsearch']
|
||||
|
|
Loading…
Reference in New Issue