Every time I try to start a new logstash instance with this config file, I get the following error. I'm not sure what it means nor do I know how to go about fixing it.
[2018-12-12T15:38:26,252][ERROR][logstash.outputs.elasticsearch] Got a bad response code from server, but this code is not considered retryable. Request will be dropped {:code=>400, :response_body=>"{"error":{"root_cause":[{"type":"action_request_validation_exception","reason":"Validation Failed: 1: no monitoring documents added;"}],"type":"action_request_validation_exception","reason":"Validation Failed: 1: no monitoring documents added;"},"status":400}"}
This is the config file I'm using:
input {
file {
path => "/tmp/kb60500/delete.csv"
start_position => "beginning"
sincedb_path =>"dev/null"
}
}
filter {
csv {
separator => ","
columns => ["Status","Last Action","Client","Exec A_C","B_S","Qty","Exchange","Asset Class","Con
tract","Product","Exch Ticker","Delivery","C_P","Strike","Price","Clearing Firm","Clearer A_C ","System Comments
","Clearing Firm Name","Source" ]
}
}
output {
elasticsearch {
hosts=> [" "]
index => "delete2"
user => fusionLS_writer
password => ******
ssl => true
ssl_certificate_verification => false
cacert => '/export1/opt/ELK_Bin/elasticsearch-5.4.0/config/x-pack/ca/ca.crt'
}
stdout {}
}