# Logstash Not Starting 7.0

**URL:** <https://discuss.elastic.co/t/logstash-not-starting-7-0/176720>\
**Category:** Logstash\
**Created:** [April 13, 2019, 5:20am UTC](https://discuss.elastic.co/t/logstash-not-starting-7-0/176720 "2019-04-13T05:20:22Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![lakshykar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lakshykar/32/43198_2.png) [@lakshykar](https://discuss.elastic.co/u/lakshykar)\
**Post date:** [April 13, 2019, 5:20am UTC](https://discuss.elastic.co/t/logstash-not-starting-7-0/176720/1 "2019-04-13T05:20:22Z")

</div>

Hi,

I am trying to configure logstash on a server, i did fresh install but when i am starting logstash getting below error.

```
[2019-04-13T10:44:26,616][DEBUG][logstash.modules.scaffold] Found module {:module_name=>"netflow", :directory=>"/usr/share/logstash/modules/netflow/configuration"}
[2019-04-13T10:44:26,623][DEBUG][logstash.plugins.registry] Adding plugin to the registry {:name=>"netflow", :type=>:modules, :class=>#<LogStash::Modules::Scaffold:0x53f785df @directory="/usr/share/logstash/modules/netflow/configuration", @module_name="netflow", @kibana_version_parts=["6", "0", "0"]>}
[2019-04-13T10:44:26,625][DEBUG][logstash.modules.scaffold] Found module {:module_name=>"fb_apache", :directory=>"/usr/share/logstash/modules/fb_apache/configuration"}
[2019-04-13T10:44:26,626][DEBUG][logstash.plugins.registry] Adding plugin to the registry {:name=>"fb_apache", :type=>:modules, :class=>#<LogStash::Modules::Scaffold:0x22014338 @directory="/usr/share/logstash/modules/fb_apache/configuration", @module_name="fb_apache", @kibana_version_parts=["6", "0", "0"]>}
[2019-04-13T10:44:26,639][FATAL][logstash.runner] An unexpected error occurred! {:error=>#<ArgumentError: could not coerce ture into a boolean>, :backtrace=>["/usr/share/logstash/logstash-core/lib/logstash/settings.rb:289:in `coerce'", "/usr/share/logstash/logstash-core/lib/logstash/settings.rb:264:in `set'", "/usr/share/logstash/logstash-core/lib/logstash/settings.rb:69:in `set_value'", "/usr/share/logstash/logstash-core/lib/logstash/settings.rb:88:in `block in merge'", "org/jruby/RubyHash.java:1419:in `each'", "/usr/share/logstash/logstash-core/lib/logstash/settings.rb:88:in `merge'", "/usr/share/logstash/logstash-core/lib/logstash/settings.rb:137:in `validate_all'", "/usr/share/logstash/logstash-core/lib/logstash/runner.rb:278:in `execute'", "/usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/clamp-0.6.5/lib/clamp/command.rb:67:in `run'", "/usr/share/logstash/logstash-core/lib/logstash/runner.rb:237:in `run'", "/usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/clamp-0.6.5/lib/clamp/command.rb:132:in `run'", "/usr/share/logstash/lib/bootstrap/environment.rb:73:in `<main>'"]}
[2019-04-13T10:44:26,653][ERROR][org.logstash.Logstash] java.lang.IllegalStateException: Logstash stopped processing because of an error: (SystemExit) exit

```

# Settings file in YAML

```
#
# Settings can be specified either in hierarchical form, e.g.:
#
# pipeline:
# batch:
# size: 125
# delay: 5
#
# Or as flat keys:
#
# pipeline.batch.size: 125
# pipeline.batch.delay: 5
#
# ------------ Node identity ------------
#
# Use a descriptive name for the node:
#
# node.name: test
#
# If omitted the node name will default to the machine's host name
#
# ------------ Data path ------------------
#
# Which directory should be used by logstash and its plugins
# for any persistent needs. Defaults to LOGSTASH_HOME/data
#
path.data: /data/logstash_data
#
# ------------ Pipeline Settings --------------
#
# The ID of the pipeline.
#
# pipeline.id: main
#
# Set the number of workers that will, in parallel, execute the filters+outputs
# stage of the pipeline.
#
# This defaults to the number of the host's CPU cores.
#
# pipeline.workers: 2
#
# How many events to retrieve from inputs before sending to filters+workers
#
# pipeline.batch.size: 125
#
# How long to wait in milliseconds while polling for the next event
# before dispatching an undersized batch to filters+outputs
#
# pipeline.batch.delay: 50
#
# Force Logstash to exit during shutdown even if there are still inflight
# events in memory. By default, logstash will refuse to quit until all
# received events have been pushed to the outputs.
#
# WARNING: enabling this can lead to data loss during shutdown
#
# pipeline.unsafe_shutdown: false
#
# ------------ Pipeline Configuration Settings --------------
#
# Where to fetch the pipeline configuration for the main pipeline
#
# path.config:
#
# Pipeline configuration string for the main pipeline
#
# config.string:
#
# At startup, test if the configuration is valid and exit (dry run)
#
# config.test_and_exit: false
#
# Periodically check if the configuration has changed and reload the pipeline
# This can also be triggered manually through the SIGHUP signal
#
config.reload.automatic: ture
#
# How often to check if the pipeline configuration has changed (in seconds)
#
config.reload.interval: 30s
#
# Show fully compiled configuration as debug log message
# NOTE: --log.level must be 'debug'
#
config.debug: true
#
# When enabled, process escaped characters such as \n and \" in strings in the
# pipeline configuration files.
#
# config.support_escapes: false
#
# ------------ Module Settings ---------------
# Define modules here. Modules definitions must be defined as an array.
# The simple way to see this is to prepend each `name` with a `-`, and keep
# all associated variables under the `name` they are associated with, and
# above the next, like this:
#
# modules:
# - name: MODULE_NAME
# var.PLUGINTYPE1.PLUGINNAME1.KEY1: VALUE
# var.PLUGINTYPE1.PLUGINNAME1.KEY2: VALUE
# var.PLUGINTYPE2.PLUGINNAME1.KEY1: VALUE
# var.PLUGINTYPE3.PLUGINNAME3.KEY1: VALUE
# Module variable names must be in the format of
#
# var.PLUGIN_TYPE.PLUGIN_NAME.KEY
#
# modules:
#

# ------------ Metrics Settings --------------
#
# Bind address for the metrics REST endpoint
#
# http.host: "127.0.0.1"
#
# Bind port for the metrics REST endpoint, this option also accept a range
# (9600-9700) and logstash will pick up the first available ports.
#
# http.port: 9600-9700
#
# ------------ Debugging Settings --------------

log.level: trace
path.logs: /data/logs/logstash
```

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [April 13, 2019, 5:22am UTC](https://discuss.elastic.co/t/logstash-not-starting-7-0/176720/2 "2019-04-13T05:22:50Z")

</div>

What does your config look like?c

---

<div class="post-metadata">

**Author:** ![lakshykar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lakshykar/32/43198_2.png) [@lakshykar](https://discuss.elastic.co/u/lakshykar)\
**Post date:** [April 13, 2019, 5:33am UTC](https://discuss.elastic.co/t/logstash-not-starting-7-0/176720/4 "2019-04-13T05:33:09Z")

</div>

I have update the config file.

---

<div class="post-metadata">

**Author:** ![lakshykar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lakshykar/32/43198_2.png) [@lakshykar](https://discuss.elastic.co/u/lakshykar)\
**Post date:** [April 13, 2019, 6:56am UTC](https://discuss.elastic.co/t/logstash-not-starting-7-0/176720/5 "2019-04-13T06:56:48Z")

</div>

Issue has been resolved  
These was configuration issue, because of typo true was written ture

> [@lakshykar](#):
>
> config.reload.automatic: ture

---

<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 11, 2019, 6:58am UTC](https://discuss.elastic.co/t/logstash-not-starting-7-0/176720/6 "2019-05-11T06:58:19Z")

</div>

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