Logstash: 6.7.0
Graphite: 0.9.15
pipeline config:
input {
graphite {
port => 8080
mode => "client"
host => "127.0.0.1"
type => "graphite"
codec => graphite
}
}
filter {
}
output {
file {
path => "/tmp/x"
}
}
Logstash Log:
[2019-03-28T23:49:07,026][INFO ][logstash.runner ] Starting Logstash {"logstash.version"=>"6.7.0"}
[2019-03-28T23:49:13,895][INFO ][logstash.pipeline ] Starting pipeline {:pipeline_id=>"graphite", "pipeline.workers"=>16, "pipeline.batch.size"=>125, "pipeline.batch.delay"=>50}
[2019-03-28T23:49:14,040][INFO ][logstash.pipeline ] Pipeline started successfully {:pipeline_id=>"graphite", :thread=>"#<Thread:0x7aa0e3c run>"}
[2019-03-28T23:49:14,111][INFO ][logstash.agent ] Pipelines running {:count=>1, :running_pipelines=>[:graphite], :non_running_pipelines=>}
[2019-03-28T23:49:14,386][INFO ][logstash.agent ] Successfully started Logstash API endpoint {:port=>9600}
I have confirmed that 127.0.0.1:8080 can open the graphite web, and be able to search metrics.
Somehow, Logstash outputs nothing.