I am using the logstash-output-influxdb plugin to send some of our log data to InfluxDB. I have this configured like so:
influxdb {
data_points => {
"duration" => "%{data.event.duration}"
}
host => 'azsbgraph01'
password => ''
user => ''
db => 'elk'
}
However I get an error in the Logstash logs when it tries to send data to InfluxDB:
2015-09-03_12:08:58.37375 {:timestamp=>"2015-09-03T12:08:58.373000+0000", :message=>"Error writing to InfluxDB", :response=>#<FTW::Response:0x667d0aa0 @reason="Not Found", @version=1.1, @headers=FTW::HTTP::Headers <{"content-type"=>"text/plain; charset=utf-8", "date"=>"Thu, 03 Sep 2015 12:08:58 GMT", "content-length"=>"19"}>, @body=<FTW::Connection(@13550) @destinations=["influxdb01:8086"] @connected=true @remote_address="192.168.0.1" @secure=false >, @logger=#<Cabin::Channel:0x3296ec91 @metrics=#<Cabin::Metrics:0xd9e0c98 @metrics_lock=#<Mutex:0x65beee4>, @metrics={}, @channel=#<Cabin::Channel:0x3296ec91 ...>>, @subscriber_lock=#<Mutex:0x57730158>, @level=:info, @subscribers={}, @data={}>, @status=404>, :response_body=>"404 page not found\n", :request_body=>"", :level=>:error}
Not sure where this is falling over, any pointers?