# Logstash 6 config

**URL:** <https://discuss.elastic.co/t/logstash-6-config/132104>\
**Category:** Logstash\
**Created:** [May 16, 2018, 11:21am UTC](https://discuss.elastic.co/t/logstash-6-config/132104 "2018-05-16T11:21:55Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![NIloufarVafaei](https://avatars.discourse-cdn.com/v4/letter/n/5fc32e/32.png) [@NIloufarVafaei](https://discuss.elastic.co/u/NIloufarVafaei)\
**Post date:** [May 16, 2018, 11:21am UTC](https://discuss.elastic.co/t/logstash-6-config/132104/1 "2018-05-16T11:21:55Z")

</div>

i install logstash from logstash.gz my question is where i set my input, filter and output file? and also how can restart logstash for set my config file?

---

<div class="post-metadata">

**Author:** ![parallelthought](https://avatars.discourse-cdn.com/v4/letter/p/35a633/32.png) [@parallelthought](https://discuss.elastic.co/u/parallelthought)\
**Post date:** [May 16, 2018, 3:04pm UTC](https://discuss.elastic.co/t/logstash-6-config/132104/2 "2018-05-16T15:04:20Z")

</div>

- You can find the path to config directory at [https://www.elastic.co/guide/en/logstash/current/dir-layout.html](https://www.elastic.co/guide/en/logstash/current/dir-layout.html)

- How to configure the config file --\> [https://www.elastic.co/guide/en/logstash/current/configuration.html](https://www.elastic.co/guide/en/logstash/current/configuration.html)

---

<div class="post-metadata">

**Author:** ![NIloufarVafaei](https://avatars.discourse-cdn.com/v4/letter/n/5fc32e/32.png) [@NIloufarVafaei](https://discuss.elastic.co/u/NIloufarVafaei)\
**Post date:** [May 19, 2018, 5:13am UTC](https://discuss.elastic.co/t/logstash-6-config/132104/3 "2018-05-19T05:13:33Z")

</div>

i road it and set my config directly where a document said but my kibana doesn't show my index. and i get this comment in Terminal  
➜ bin ./logstash -f access.conf  
Sending Logstash's logs to /home/adanic/Downloads/logstash-6.2.4/logs which is now configured via log4j2.properties  
[2018-05-19T09:33:45,035][INFO][logstash.modules.scaffold] Initializing module {:module\_name=\>"netflow", :directory=\>"/home/adanic/Downloads/logstash-6.2.4/modules/netflow/configuration"}  
[2018-05-19T09:33:45,040][INFO][logstash.modules.scaffold] Initializing module {:module\_name=\>"fb\_apache", :directory=\>"/home/adanic/Downloads/logstash-6.2.4/modules/fb\_apache/configuration"}  
[2018-05-19T09:33:45,076][FATAL][logstash.runner] An unexpected error occurred! {:error=\>#\<ArgumentError: Setting "" hasn't been registered\>, :backtrace=\>["/home/adanic/Downloads/logstash-6.2.4/logstash-core/lib/logstash/settings.rb:37:in `get_setting'", "/home/adanic/Downloads/logstash-6.2.4/logstash-core/lib/logstash/settings.rb:70:in`set\_value'", "/home/adanic/Downloads/logstash-6.2.4/logstash-core/lib/logstash/settings.rb:89:in `block in merge'", "org/jruby/RubyHash.java:1343:in`each'", "/home/adanic/Downloads/logstash-6.2.4/logstash-core/lib/logstash/settings.rb:89:in `merge'", "/home/adanic/Downloads/logstash-6.2.4/logstash-core/lib/logstash/settings.rb:138:in`validate\_all'", "/home/adanic/Downloads/logstash-6.2.4/logstash-core/lib/logstash/runner.rb:264:in `execute'", "/home/adanic/Downloads/logstash-6.2.4/vendor/bundle/jruby/2.3.0/gems/clamp-0.6.5/lib/clamp/command.rb:67:in`run'", "/home/adanic/Downloads/logstash-6.2.4/logstash-core/lib/logstash/runner.rb:219:in `run'", "/home/adanic/Downloads/logstash-6.2.4/vendor/bundle/jruby/2.3.0/gems/clamp-0.6.5/lib/clamp/command.rb:132:in`run'", "/home/adanic/Downloads/logstash-6.2.4/lib/bootstrap/environment.rb:67:in `'"]}  
[2018-05-19T09:33:45,083][ERROR][org.logstash.Logstash] java.lang.IllegalStateException: org.jruby.exceptions.RaiseException: (SystemExit) exit

---

<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:** [June 16, 2018, 5:13am UTC](https://discuss.elastic.co/t/logstash-6-config/132104/4 "2018-06-16T05:13:33Z")

</div>

Closed on June 16, 2018, 5:13am UTC

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