# Logstash-syslog-output failed to load plugin code

**URL:** <https://discuss.elastic.co/t/logstash-syslog-output-failed-to-load-plugin-code/156552>\
**Category:** Logstash\
**Created:** [November 13, 2018, 10:12pm UTC](https://discuss.elastic.co/t/logstash-syslog-output-failed-to-load-plugin-code/156552 "2018-11-13T22:12:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![chris\_a.k](https://avatars.discourse-cdn.com/v4/letter/c/85e7bf/32.png) [@chris\_a.k](https://discuss.elastic.co/u/chris_a.k)\
**Post date:** [November 13, 2018, 10:12pm UTC](https://discuss.elastic.co/t/logstash-syslog-output-failed-to-load-plugin-code/156552/1 "2018-11-13T22:12:56Z")

</div>

Hello,

I am a newbie trying to write standard output into my syslog server, I am having issues to load Syslog output plugin code. Find below the error received:

[2018-11-14T01:07:00,302][WARN][logstash.config.source.multilocal] Ignoring the 'pipelines.yml' file because modules or command line options are specified  
[2018-11-14T01:07:01,083][INFO][logstash.runner] Starting Logstash {"logstash.version"=\>"6.4.3"}  
[2018-11-14T01:07:04,779][ERROR][logstash.plugins.registry] Tried to load a plugin's code, but failed. {:exception=\>#\<LoadError: no such file to load -- logstash/outputs/syslog\>, :path=\>"logstash/outputs/syslog", :type=\>"output", :name=\>"syslog"}  
[2018-11-14T01:07:04,813][ERROR][logstash.agent] Failed to execute action {:action=\>LogStash::PipelineAction::Create/pipeline\_id:main, :exception=\>"LogStash::PluginLoadingError", :message=\>"Couldn't find any output plugin named 'syslog'. Are you sure this is correct? Trying to load the syslog output plugin resulted in this error: no such file to load -- logstash/outputs/syslog", :backtrace=\>["/usr/share/logstash/logstash-core/lib/logstash/plugins/registry.rb:211:in `lookup_pipeline_plugin'", "/usr/share/logstash/logstash-core/lib/logstash/plugin.rb:137:in`lookup'", "org/logstash/plugins/PluginFactoryExt.java:210:in `plugin'", "org/logstash/plugins/PluginFactoryExt.java:166:in`plugin'", "/usr/share/logstash/logstash-core/lib/logstash/pipeline.rb:71:in `plugin'", "(eval):16:in`'", "org/jruby/RubyKernel.java:994:in `eval'", "/usr/share/logstash/logstash-core/lib/logstash/pipeline.rb:49:in`initialize'", "/usr/share/logstash/logstash-core/lib/logstash/pipeline.rb:90:in `initialize'", "/usr/share/logstash/logstash-core/lib/logstash/pipeline_action/create.rb:38:in`execute'", "/usr/share/logstash/logstash-core/lib/logstash/agent.rb:309:in `block in converge\_state'"]}

Same error also received with version 6.3.1

My config file is as follow:

# Author: Christian ABI KHALIL / DXC

input {  
stdin{ }  
}

output {  
stdout {  
codec =\> rubydebug  
}  
syslog {  
facility =\> "log alert"  
host =\> "192.168.52.100"  
port =\> "514"  
severity =\> "critical"  
appname =\> "logstash"  
message =\> "Test Message"  
msgid =\> "ID1"  
procid =\> "data"  
rfc =\> "rfc5424"  
sourcehost =\> "elkstack"  
}  
}

Thanks for having a look  
Chris

---

<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:** [December 11, 2018, 10:13pm UTC](https://discuss.elastic.co/t/logstash-syslog-output-failed-to-load-plugin-code/156552/2 "2018-12-11T22:13:00Z")

</div>

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