I got this error
[HTTP Output Failure] Encountered non-2xx HTTP code 400 {:response_code=>400, :url=>“http://10.192.192.8:8086/write?db=mydb&u=todd&p=123456”, :event=>#LogStash::Event:0x37c5059b}
logstash config file:-
input {
file {
#type => “json”
codec => multiline { pattern => “^Spalanzani” negate => true what => “previous” auto_flush_interval => 2 }
path => “/root/logstash/logstash-6.2.4/config/test”
start_position => “beginning”
sincedb_path => “null”
}
}
output {
http {
http_method => “post”
url => “http://10.192.192.8:8086/write?db=mydb&u=todd&p=123456”
}
}