# Logstatsh issue related to stdout

**URL:** <https://discuss.elastic.co/t/logstatsh-issue-related-to-stdout/128212>\
**Category:** Logstash\
**Created:** [April 16, 2018, 2:46pm UTC](https://discuss.elastic.co/t/logstatsh-issue-related-to-stdout/128212 "2018-04-16T14:46:47Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![amritesh\_mishra](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/amritesh_mishra/32/50251_2.png) [@amritesh\_mishra](https://discuss.elastic.co/u/amritesh_mishra)\
**Post date:** [April 16, 2018, 2:46pm UTC](https://discuss.elastic.co/t/logstatsh-issue-related-to-stdout/128212/1 "2018-04-16T14:46:47Z")

</div>

[root@ukmr0xtmd01 logstash]# /usr/share/logstash/bin/logstash -f siae.conf  
WARNING: Could not find logstash.yml which is typically located in $LS\_HOME/config or /etc/logstash. You can specify the path using --path.settings. Continuing using the defaults  
Could not find log4j2 configuration at path /usr/share/logstash/config/log4j2.properties. Using default config which logs errors to the console  
[INFO] 2018-04-16 15:44:32.766 [main] scaffold - Initializing module {:module\_name=\>"fb\_apache", :directory=\>"/usr/share/logstash/modules/fb\_apache/configuration"}  
[INFO] 2018-04-16 15:44:32.773 [main] scaffold - Initializing module {:module\_name=\>"netflow", :directory=\>"/usr/share/logstash/modules/netflow/configuration"}  
[WARN] 2018-04-16 15:44:33.172 [LogStash::Runner] multilocal - Ignoring the 'pipelines.yml' file because modules or command line options are specified  
[INFO] 2018-04-16 15:44:33.300 [LogStash::Runner] runner - Starting Logstash {"logstash.version"=\>"6.2.3"}  
[INFO] 2018-04-16 15:44:33.345 [Ruby-0-Thread-1: /usr/share/logstash/vendor/bundle/jruby/2.3.0/gems/stud-0.0.23/lib/stud/task.rb:22] configpathloader - No config files found in path {:path=\>"/etc/logstash/siae.conf"}  
[ERROR] 2018-04-16 15:44:33.348 [Ruby-0-Thread-1: /usr/share/logstash/vendor/bundle/jruby/2.3.0/gems/stud-0.0.23/lib/stud/task.rb:22] sourceloader - No configuration found in the configured sources.

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [April 16, 2018, 6:51pm UTC](https://discuss.elastic.co/t/logstatsh-issue-related-to-stdout/128212/2 "2018-04-16T18:51:24Z")

</div>

> No config files found in path {:path=\>"/etc/logstash/siae.conf"}

Is this where you've stored siae.conf?

---

<div class="post-metadata">

**Author:** ![amritesh\_mishra](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/amritesh_mishra/32/50251_2.png) [@amritesh\_mishra](https://discuss.elastic.co/u/amritesh_mishra)\
**Post date:** [April 17, 2018, 5:31am UTC](https://discuss.elastic.co/t/logstatsh-issue-related-to-stdout/128212/3 "2018-04-17T05:31:45Z")

</div>

yes i have saved my config file in /etc/logstash/conf.d  
why it is taking this.

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [April 17, 2018, 10:09am UTC](https://discuss.elastic.co/t/logstatsh-issue-related-to-stdout/128212/4 "2018-04-17T10:09:17Z")

</div>

If you run Logstash with `-f siae.conf` when /etc/logstash is the current directory Logstash will attempt to load /etc/logstash/siae.conf. Change the current directory or the path you specify in the `-f` option.

---

<div class="post-metadata">

**Author:** ![amritesh\_mishra](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/amritesh_mishra/32/50251_2.png) [@amritesh\_mishra](https://discuss.elastic.co/u/amritesh_mishra)\
**Post date:** [April 17, 2018, 11:01am UTC](https://discuss.elastic.co/t/logstatsh-issue-related-to-stdout/128212/5 "2018-04-17T11:01:59Z")

</div>

It is working fine

---

<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 15, 2018, 11:02am UTC](https://discuss.elastic.co/t/logstatsh-issue-related-to-stdout/128212/6 "2018-05-15T11:02:00Z")

</div>

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