SOLR_HTTP plugin & https

Hi, I'm trying to index data in solr but no luck till now. I'm not even sure if solr_http logstash plugin is capable of handling a https connection? I've putted https url and I can not see any data on solr side.

Everything is working fine when I send data to elasticsearch, but no luck with solr_http

Here is the output configuration

output {

stdout {
codec => rubydebug
}

solr_http {
solr_url => "https://acm-solr/solr/#/acmLogstashlogs"
}
}

Logstash logs shows WARNING about timestamp ...

[WARN ][logstash.outputs.solrhttp] An error occurred while indexing: undefined method `iso8601' for 2017-06-27T11:44:06.399Z:LogStash::Timestamp

and I'm sure that I'm not receiving data on solr side.

Any help appreciated.

The best place might be to raise an issue on GitHub for this question:

There is no mention of https for this plugin so one can only assume https is not supported at this point and you should raise an Enhancement Request issue in GitHub

Also assuming https is supported, you would still need to specify how the certificate is validated for https communications to work which is missing in this documentation so again I'm not clear if https is supported for this community plugin: https://www.elastic.co/guide/en/logstash/5.4/plugins-outputs-solr_http.html

You can see how this works for elasticsearch output, you will find parameters related to ssl certificate verification : https://www.elastic.co/guide/en/logstash/5.4/plugins-outputs-elasticsearch.html

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.