# Unable to read logs from external URIs

**URL:** <https://discuss.elastic.co/t/unable-to-read-logs-from-external-uris/174783>\
**Category:** Logstash\
**Created:** [April 1, 2019, 12:39pm UTC](https://discuss.elastic.co/t/unable-to-read-logs-from-external-uris/174783 "2019-04-01T12:39:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Raju\_Bhagat](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/raju_bhagat/32/43206_2.png) [@Raju\_Bhagat](https://discuss.elastic.co/u/Raju_Bhagat)\
**Post date:** [April 1, 2019, 12:39pm UTC](https://discuss.elastic.co/t/unable-to-read-logs-from-external-uris/174783/1 "2019-04-01T12:39:12Z")

</div>

I am using windows 10, using following logstash.conf

input {  
http{  
host =\> "[https://filesharestracc6870.blob.core.windows.net/log/logfile.log](https://filesharestracc6870.blob.core.windows.net/log/logfile.log)"  
port =\> 443  
codec =\> plain  
ssl =\> true  
}  
}

the url is publically accessible. Still I am getting following error while executing command logstash -f logstash.conf

Error =\>  
C:\ELK\logstash-6.7.0\logstash-6.7.0\bin\>logstash -f logstash.conf  
Sending Logstash logs to C:/ELK/logstash-6.7.0/logstash-6.7.0/logs which is now configured via log4j2.properties  
[2019-04-01T12:13:38,091][WARN][logstash.config.source.multilocal] Ignoring the 'pipelines.yml' file because modules or command line options are specified  
[2019-04-01T12:13:38,121][INFO][logstash.runner] Starting Logstash {"logstash.version"=\>"6.7.0"}  
[2019-04-01T12:13:48,416][INFO][logstash.pipeline] Starting pipeline {:pipeline\_id=\>"main", "pipeline.workers"=\>2, "pipeline.batch.size"=\>125, "pipeline.batch.delay"=\>50}  
[2019-04-01T12:13:49,127][INFO][logstash.outputs.elasticsearch] Elasticsearch pool URLs updated {:changes=\>{:removed=\>, :added=\>[[http://localhost:9200/](http://localhost:9200/)]}}  
[2019-04-01T12:13:49,395][WARN][logstash.outputs.elasticsearch] Restored connection to ES instance {:url=\>"[http://localhost:9200/](http://localhost:9200/)"}  
[2019-04-01T12:13:49,476][INFO][logstash.outputs.elasticsearch] ES Output version determined {:es\_version=\>6}  
[2019-04-01T12:13:49,528][WARN][logstash.outputs.elasticsearch] Detected a 6.x and above cluster: the `type` event field won't be used to determine the document \_type {:es\_version=\>6}  
[2019-04-01T12:13:49,588][INFO][logstash.outputs.elasticsearch] New Elasticsearch output {:class=\>"LogStash::Outputs::ElasticSearch", :hosts=\>["[//localhost:9200](https://localhost:9200)"]}  
[2019-04-01T12:13:49,601][INFO][logstash.outputs.elasticsearch] Using default mapping template  
[2019-04-01T12:13:49,677][INFO][logstash.outputs.elasticsearch] Attempting to install template {:manage\_template=\>{"template"=\>"logstash-_", "version"=\>60001, "settings"=\>{"index.refresh\_interval"=\>"5s"}, "mappings"=\>{"default"=\>{"dynamic\_templates"=\>[{"message\_field"=\>{"path\_match"=\>"message", "match\_mapping\_type"=\>"string", "mapping"=\>{"type"=\>"text", "norms"=\>false}}}, {"string\_fields"=\>{"match"=\>"_", "match\_mapping\_type"=\>"string", "mapping"=\>{"type"=\>"text", "norms"=\>false, "fields"=\>{"keyword"=\>{"type"=\>"keyword", "ignore\_above"=\>256}}}}}], "properties"=\>{"@timestamp"=\>{"type"=\>"date"}, "@version"=\>{"type"=\>"keyword"}, "geoip"=\>{"dynamic"=\>true, "properties"=\>{"ip"=\>{"type"=\>"ip"}, "location"=\>{"type"=\>"geo\_point"}, "latitude"=\>{"type"=\>"half\_float"}, "longitude"=\>{"type"=\>"half\_float"}}}}}}}}  
[2019-04-01T12:13:49,967][ERROR][logstash.pipeline] Error registering plugin {:pipeline\_id=\>"main", :plugin=\>"\<LogStash::Inputs::Http host=\>"[https://filesharestracc6870.blob.core.windows.net/log/logfile.log](https://filesharestracc6870.blob.core.windows.net/log/logfile.log)", codec=\>\<LogStash::Codecs::Plain id=\>"plain\_3d0f4f2c-d72b-4cb2-8182-31d6cb786588", enable\_metric=\>true, charset=\>"UTF-8"\>, id=\>"56a4bf0a7c32d75e742fd1b896d6453eda6a208624297c4fac2980e84337ac9e", port=\>443, ssl=\>true, enable\_metric=\>true, ssl\_verify\_mode=\>"none", ssl\_handshake\_timeout=\>10000, tls\_min\_version=\>1, tls\_max\_version=\>1.2, cipher\_suites=\>["TLS\_ECDHE\_ECDSA\_WITH\_AES\_256\_GCM\_SHA384", "TLS\_ECDHE\_RSA\_WITH\_AES\_256\_GCM\_SHA384", "TLS\_ECDHE\_ECDSA\_WITH\_AES\_128\_GCM\_SHA256", "TLS\_ECDHE\_RSA\_WITH\_AES\_128\_GCM\_SHA256", "TLS\_ECDHE\_ECDSA\_WITH\_AES\_256\_CBC\_SHA384", "TLS\_ECDHE\_RSA\_WITH\_AES\_256\_CBC\_SHA384", "TLS\_ECDHE\_RSA\_WITH\_AES\_128\_CBC\_SHA256", "TLS\_ECDHE\_ECDSA\_WITH\_AES\_128\_CBC\_SHA256"], additional\_codecs=\>{"application/json"=\>"json"}, response\_headers=\>{"Content-Type"=\>"text/plain"}, remote\_host\_target\_field=\>"host", request\_headers\_target\_field=\>"headers", threads=\>2, max\_pending\_requests=\>200, max\_content\_length=\>104857600, response\_code=\>200, verify\_mode=\>"none"\>", :error=\>"Certificate or JKS must be configured", :thread=\>"#\<Thread:0x1f12ed7d run\>"}  
[2019-04-01T12:13:50,600][ERROR][logstash.pipeline] Pipeline aborted due to error {:pipeline\_id=\>"main", :exception=\>#\<LogStash::ConfigurationError: Certificate or JKS must be configured\>, :backtrace=\>["C:/ELK/logstash-6.7.0/logstash-6.7.0/vendor/bundle/jruby/2.5.0/gems/logstash-input-http-3.3.0-java/lib/logstash/inputs/http.rb:192:in `validate_ssl_settings!'", "C:/ELK/logstash-6.7.0/logstash-6.7.0/vendor/bundle/jruby/2.5.0/gems/logstash-input-http-3.3.0-java/lib/logstash/inputs/http.rb:131:in`register'", "C:/ELK/logstash-6.7.0/logstash-6.7.0/logstash-core/lib/logstash/pipeline.rb:259:in `register_plugin'", "C:/ELK/logstash-6.7.0/logstash-6.7.0/logstash-core/lib/logstash/pipeline.rb:270:in`block in register\_plugins'", "org/jruby/RubyArray.java:1792:in `each'", "C:/ELK/logstash-6.7.0/logstash-6.7.0/logstash-core/lib/logstash/pipeline.rb:270:in`register\_plugins'", "C:/ELK/logstash-6.7.0/logstash-6.7.0/logstash-core/lib/logstash/pipeline.rb:413:in `start_inputs'", "C:/ELK/logstash-6.7.0/logstash-6.7.0/logstash-core/lib/logstash/pipeline.rb:311:in`start\_workers'", "C:/ELK/logstash-6.7.0/logstash-6.7.0/logstash-core/lib/logstash/pipeline.rb:217:in `run'", "C:/ELK/logstash-6.7.0/logstash-6.7.0/logstash-core/lib/logstash/pipeline.rb:176:in`block in start'"], :thread=\>"#\<Thread:0x1f12ed7d run\>"}  
[2019-04-01T12:13:50,631][ERROR][logstash.agent] Failed to execute action {:id=\>:main, :action\_type=\>LogStash::ConvergeResult::FailedAction, :message=\>"Could not execute action: PipelineAction::Create, action\_result: false", :backtrace=\>nil}

---

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [April 1, 2019, 1:47pm UTC](https://discuss.elastic.co/t/unable-to-read-logs-from-external-uris/174783/2 "2019-04-01T13:47:45Z")

</div>

> [@Raju\_Bhagat](#):
>
> error=\>"Certificate or JKS must be configured"

Check the [documentation](https://www.elastic.co/guide/en/logstash/current/plugins-inputs-http.html#plugins-inputs-http-ssl). "You can enable encryption by setting `ssl` to true and configuring the `ssl_certificate` and `ssl_key` options."

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [April 29, 2019, 1:47pm UTC](https://discuss.elastic.co/t/unable-to-read-logs-from-external-uris/174783/3 "2019-04-29T13:47:46Z")

</div>

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