# Logstash throwing Error while starting

**URL:** <https://discuss.elastic.co/t/logstash-throwing-error-while-starting/127789>\
**Category:** Logstash\
**Created:** [April 12, 2018, 10:23am UTC](https://discuss.elastic.co/t/logstash-throwing-error-while-starting/127789 "2018-04-12T10:23:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Roshan\_r](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/roshan_r/32/9760_2.png) [@Roshan\_r](https://discuss.elastic.co/u/Roshan_r)\
**Post date:** [April 12, 2018, 10:23am UTC](https://discuss.elastic.co/t/logstash-throwing-error-while-starting/127789/1 "2018-04-12T10:23:22Z")

</div>

I am using beats for the first time. I have been using Heka with Rabbitmq to transfer the logs to logstash. Now, i have beats in one server and transferring logs to logstash in another server [Not sure whether logs are received]. But my first issue is, when i start logstash, i am getting an error. The same config works perfectly when i use Heka.

The error is below:  
[ERROR] 2018-04-12 10:17:11.458 [Ruby-0-Thread-1: /usr/share/logstash/vendor/bundle/jruby/2.3.0/gems/stud-0.0.23/lib/stud/task.rb:22] agent - Failed to execute action {:action=\>LogStash::PipelineAction::Create/pipeline\_id:main, :exception=\>"LogStash::ConfigurationError", :message=\>"Something is wrong with your configuration.", :backtrace=\>["/usr/share/logstash/logstash-core/lib/logstash/config/mixin.rb:89:in `config_init'", "/usr/share/logstash/logstash-core/lib/logstash/inputs/base.rb:62:in`initialize'", "/usr/share/logstash/logstash-core/lib/logstash/plugins/plugin\_factory.rb:89:in `plugin'", "/usr/share/logstash/logstash-core/lib/logstash/pipeline.rb:112:in`plugin'", "(eval):8:in `<eval>'", "org/jruby/RubyKernel.java:994:in`eval'", "/usr/share/logstash/logstash-core/lib/logstash/pipeline.rb:84:in `initialize'", "/usr/share/logstash/logstash-core/lib/logstash/pipeline.rb:169:in`initialize'", "/usr/share/logstash/logstash-core/lib/logstash/pipeline\_action/create.rb:40:in `execute'", "/usr/share/logstash/logstash-core/lib/logstash/agent.rb:315:in`block in converge\_state'", "/usr/share/logstash/logstash-core/lib/logstash/agent.rb:141:in `with_pipelines'", "/usr/share/logstash/logstash-core/lib/logstash/agent.rb:312:in`block in converge\_state'", "org/jruby/RubyArray.java:1734:in `each'", "/usr/share/logstash/logstash-core/lib/logstash/agent.rb:299:in`converge\_state'", "/usr/share/logstash/logstash-core/lib/logstash/agent.rb:166:in `block in converge_state_and_update'", "/usr/share/logstash/logstash-core/lib/logstash/agent.rb:141:in`with\_pipelines'", "/usr/share/logstash/logstash-core/lib/logstash/agent.rb:164:in `converge_state_and_update'", "/usr/share/logstash/logstash-core/lib/logstash/agent.rb:90:in`execute'", "/usr/share/logstash/logstash-core/lib/logstash/runner.rb:348:in `block in execute'", "/usr/share/logstash/vendor/bundle/jruby/2.3.0/gems/stud-0.0.23/lib/stud/task.rb:24:in`block in initialize'"]}  
[root@nginx conf.d]#

I am attaching the logstash config also here. Please can someone give me a helping hand here? I am not able to upload my config file here as its too big. Is there any way to attach the file here?

---

<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:** [May 10, 2018, 10:23am UTC](https://discuss.elastic.co/t/logstash-throwing-error-while-starting/127789/2 "2018-05-10T10:23:46Z")

</div>

Closed on May 10, 2018, 10:23am UTC

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