# Starting Logstash without any configuration

**URL:** <https://discuss.elastic.co/t/starting-logstash-without-any-configuration/74159>\
**Category:** Logstash\
**Created:** [February 7, 2017, 4:52am UTC](https://discuss.elastic.co/t/starting-logstash-without-any-configuration/74159 "2017-02-07T04:52:52Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ronakg](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ronakg/32/14961_2.png) [@ronakg](https://discuss.elastic.co/u/ronakg)\
**Post date:** [February 7, 2017, 4:52am UTC](https://discuss.elastic.co/t/starting-logstash-without-any-configuration/74159/1 "2017-02-07T04:52:52Z")

</div>

Hi,

I'd like to know if there's a way to start logstash without any configuration. We're deploying logstash in kubernetes pod. When the pod comes up, the configuration is not ready yet. We're starting logstash with auto config reload set to true and the duration set to 10s.

We want to push configuration at a later stage and have logstash pick those up.

Is this possible right now?

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [February 7, 2017, 6:37am UTC](https://discuss.elastic.co/t/starting-logstash-without-any-configuration/74159/2 "2017-02-07T06:37:25Z")

</div>

Yep, just start the service.

---

<div class="post-metadata">

**Author:** ![ronakg](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ronakg/32/14961_2.png) [@ronakg](https://discuss.elastic.co/u/ronakg)\
**Post date:** [February 7, 2017, 10:27pm UTC](https://discuss.elastic.co/t/starting-logstash-without-any-configuration/74159/3 "2017-02-07T22:27:40Z")

</div>

When I run the service without any configuration, it exits with this error:

```
Could not find log4j2 configuration at path /etc/logstash/log4j2.properties. Using default config which logs to console
22:26:24.968 [main] INFO logstash.setting.writabledirectory - Creating directory {:setting=>"path.queue", :path=>"/usr/share/logstash/data/queue"}
22:26:24.983 [LogStash::Runner] INFO logstash.agent - No persistent UUID file found. Generating new UUID {:uuid=>"11009557-37af-4192-8e1c-4e8c9ead0e46", :path=>"/usr/share/logstash/data/uuid"}
22:26:25.058 [LogStash::Runner] ERROR logstash.agent - failed to fetch pipeline configuration {:message=>"No config files found: /etc/logstash/conf.d/. Can you make sure this path is a logstash config file?"}

```

I'm running it like this:

`logstash -f /etc/logstash/conf.d/`

---

<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:** [March 7, 2017, 10:27pm UTC](https://discuss.elastic.co/t/starting-logstash-without-any-configuration/74159/4 "2017-03-07T22:27:52Z")

</div>

Closed on March 7, 2017, 10:27pm UTC

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