# Syslog with tcp-ssl error

**URL:** <https://discuss.elastic.co/t/syslog-with-tcp-ssl-error/188236>\
**Category:** Logstash\
**Created:** [July 1, 2019, 6:04am UTC](https://discuss.elastic.co/t/syslog-with-tcp-ssl-error/188236 "2019-07-01T06:04:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![olivier974](https://avatars.discourse-cdn.com/v4/letter/o/3be4f8/32.png) [@olivier974](https://discuss.elastic.co/u/olivier974)\
**Post date:** [July 1, 2019, 6:04am UTC](https://discuss.elastic.co/t/syslog-with-tcp-ssl-error/188236/1 "2019-07-01T06:04:32Z")

</div>

Hello,

I'm trying to configure an systlog output with ssl enabled with the following configuration :

syslog {  
host =\> "my\_ip"  
port =\> "6514"  
protocol =\> "ssl-tcp"  
ssl\_cacert =\> "my\_cert"  
facility =\> "16"  
severity =\> "6"  
msgid =\> "-"  
procid =\> "-"  
priority =\> "6"  
appname =\> "my\_application"  
}

but I got the following error when starting logstash :

[2019-06-28T12:13:45,166][ERROR][logstash.pipeline] Error registering plugin {:plugin=\>"#\<LogStash::OutputDelegator:0x5dcf70a7 @namespaced\_metric=#\<LogStash::Instrument::NamespacedMetric:0x66df3e0f @metric=#\<LogStash::Instrument::Metric:0x4a43648b @collector=#\<LogStash::Instrument::Collector:0x7164045e @agent=nil, @metric\_store=#\<LogStash::Instrument::MetricStore:0x5708189d @store=#\<Concurrent:🗺0x00000000067750 entries=3 default\_proc=nil\>, @structured\_lookup\_mutex=#Mutex:0x48386b35, @fast\_lookup=#\<Concurrent:🗺0x00000000067754 entries=148 default\_proc=nil\>\>\>\>, @namespace\_name=[:stats, :pipelines, :main, :plugins, :outputs, :"3dcabecd866e17d8d11d7d9682c6d325b4d09a69-26"]\>, @metric=#\<LogStash::Instrument::NamespacedMetric:0x4899880e @metric=#\<LogStash::Instrument::Metric:0x4a43648b @collector=#\<LogStash::Instrument::Collector:0x7164045e @agent=nil, @metric\_store=#\<LogStash::Instrument::MetricStore:0x5708189d @store=#\<Concurrent:🗺0x00000000067750 entries=3 default\_proc=nil\>, @structured\_lookup\_mutex=#Mutex:0x48386b35, @fast\_lookup=#\<Concurrent:🗺0x00000000067754 entries=148 default\_proc=nil\>\>\>\>, @namespace\_name=[:stats, :pipelines, :main, :plugins, :outputs]\>, @logger=#\<LogStash::Logging::Logger:0x54a8047e @logger=#Java::OrgApacheLoggingLog4jCore::Logger:0x1d661086\>, @out\_counter=LogStash::Instrument::MetricType::Counter - namespaces: [:stats, :pipelines, :main, :plugins, :outputs, :"3dcabecd866e17d8d11d7d9682c6d325b4d09a69-26", :events] key: out value: 0, @in\_counter=LogStash::Instrument::MetricType::Counter - namespaces: [:stats, :pipelines, :main, :plugins, :outputs, :"3dcabecd866e17d8d11d7d9682c6d325b4d09a69-26", :events] key: in value: 0, @strategy=#\<LogStash::OutputDelegatorStrategies::Legacy:0x72bc785f @worker\_count=1, @workers=[\<LogStash::Outputs::Syslog host=\>"my\_i", port=\>6514, protocol=\>"ssl-tcp", ssl\_cacert=\>"my\_cert", facility=\>"16", severity=\>"6", msgid=\>"-", procid=\>"-", priority=\>"6", ssl\_key\_passphrase=\>, appname=\>"Bastion\_ORE", id=\>"3dcabecd866e17d8d11d7d9682c6d325b4d09a69-26", enable\_metric=\>true, codec=\>\<LogStash::Codecs::Plain id=\>"plain\_5fc2549b-c27f-44d5-9846-0af119698203", enable\_metric=\>true, charset=\>"UTF-8"\>, workers=\>1, reconnect\_interval=\>1, ssl\_verify=\>false, use\_labels=\>true, sourcehost=\>"%{host}", message=\>"%{message}", rfc=\>"rfc3164"\>], @worker\_queue=#SizedQueue:0x4864d91c\>, @id="3dcabecd866e17d8d11d7d9682c6d325b4d09a69-26", @time\_metric=LogStash::Instrument::MetricType::Counter - namespaces: [:stats, :pipelines, :main, :plugins, :outputs, :"3dcabecd866e17d8d11d7d9682c6d325b4d09a69-26", :events] key: duration\_in\_millis value: 0, @metric\_events=#\<LogStash::Instrument::NamespacedMetric:0xba0f4ba @metric=#\<LogStash::Instrument::Metric:0x4a43648b @collector=#\<LogStash::Instrument::Collector:0x7164045e @agent=nil, @metric\_store=#\<LogStash::Instrument::MetricStore:0x5708189d @store=#\<Concurrent:🗺0x00000000067750 entries=3 default\_proc=nil\>, @structured\_lookup\_mutex=#Mutex:0x48386b35, @fast\_lookup=#\<Concurrent:🗺0x00000000067754 entries=148 default\_proc=nil\>\>\>\>, @namespace\_name=[:stats, :pipelines, :main, :plugins, :outputs, :"3dcabecd866e17d8d11d7d9682c6d325b4d09a69-26", :events]\>, @output\_class=LogStash::Outputs::Syslog\>", :error=\>"can't convert nil into String"}

Could you please help me to sort it out ?

I'm running logstash 5.6.16.

BR

---

<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:** [July 29, 2019, 6:04am UTC](https://discuss.elastic.co/t/syslog-with-tcp-ssl-error/188236/2 "2019-07-29T06:04:41Z")

</div>

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