# Logstash package install -e not working

**URL:** <https://discuss.elastic.co/t/logstash-package-install-e-not-working/65704>\
**Category:** Logstash\
**Created:** [November 10, 2016, 4:51pm UTC](https://discuss.elastic.co/t/logstash-package-install-e-not-working/65704 "2016-11-10T16:51:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jobou](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jobou/32/13101_2.png) [@jobou](https://discuss.elastic.co/u/jobou)\
**Post date:** [November 10, 2016, 4:51pm UTC](https://discuss.elastic.co/t/logstash-package-install-e-not-working/65704/1 "2016-11-10T16:51:15Z")

</div>

Hi,

I have just installed logstash on an Ubuntu 16.10 using the APT repository.

I wanted to do the "Stashing your first event" tutorial.

So I ran : /usr/share/logstash/bin/logstash --path.settings /etc/logstash -e 'input { stdin { } } output { stdout {} }'

However it stops immediatly and in logstash-plain.log I have :

cat /var/log/logstash/logstash-plain.log  
[2016-11-10T17:47:21,473][ERROR][logstash.agent] failed to fetch pipeline configuration {:message=\>"No config files found: /etc/logstash/conf.d/\*\nCan you make sure this path is a logstash config file?"}

Is it not possible to use -e with the version from the package ?

Thanks

---

<div class="post-metadata">

**Author:** ![bhatch](https://avatars.discourse-cdn.com/v4/letter/b/e95f7d/32.png) [@bhatch](https://discuss.elastic.co/u/bhatch)\
**Post date:** [November 10, 2016, 6:48pm UTC](https://discuss.elastic.co/t/logstash-package-install-e-not-working/65704/2 "2016-11-10T18:48:59Z")

</div>

Take a look at this thread. I believe it is looking for the configuration file mentioned in the settings file, not whatever you pass in through -e.

> [@Logstash 5 not running](https://discuss.elastic.co/t/logstash-5-not-running/64449):
>
> hey there, I am following the official document and seems like it's not working. I am using a freshly installed CentOS 7 system and have Java 1.8 installed. As per the document when i run below [Foo@Elastic logstash]$ sudo bin/logstash -e 'input { stdin { } } output { stdout {} }' It just stays like that no output. I have waited for 15 mins now. Any pointers why this is happening? Thanks V

---

<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 8, 2016, 6:48pm UTC](https://discuss.elastic.co/t/logstash-package-install-e-not-working/65704/3 "2016-12-08T18:48:59Z")

</div>

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