Here is the input segment of my logstash.conf:
input {
http {
host => "127.0.0.1"
port => 31311
ssl => false
}
}
I have an index named twitter_new. I want to send a DELETE request via cURL to remove the entire index. This is my cURL command:
C:\Users\Me\Downloads\curl-7.64.1-win64-mingw\bin> .\curl.exe -XDELETE "https://127.0.0.1:9200/twitter_new"
Here is the response:
curl: (35) error:1408F10B:SSL routines:ssl3_get_record:wrong version number
How can I fix this?
N.B.: The SSL error is only encountered when I send DELETE requests -- I can successfully send PUT and POST requests.