mirror of
https://github.com/openobserve/goflow2.git
synced 2025-10-22 23:01:57 +00:00
* add compose for ELK * reorg compose directories, bind to docker versions and fix Clickhouse/Grafana configurations
22 lines
366 B
Plaintext
22 lines
366 B
Plaintext
input {
|
|
gelf {
|
|
port => 12201
|
|
}
|
|
file {
|
|
path => "/var/log/goflow/*.log"
|
|
type => "log"
|
|
}
|
|
}
|
|
filter {
|
|
json {
|
|
source => "message"
|
|
target => "flow"
|
|
remove_field => ["message"]
|
|
}
|
|
}
|
|
output {
|
|
elasticsearch {
|
|
hosts => ["elasticsearch:9200"]
|
|
index => "logstash-%{+YYYY-MM-dd}"
|
|
}
|
|
} |