# Configuration reloading can't be used with 'config.string' (-e)

**URL:** https://discuss.elastic.co/t/configuration-reloading-cant-be-used-with-config-string-e/271576
**Category:** Logstash
**Created:** [April 29, 2021, 12:52am UTC](https://discuss.elastic.co/t/configuration-reloading-cant-be-used-with-config-string-e/271576 "2021-04-29T00:52:21Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![PAVAN\_KUMAR\_REDDY\_GP](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pavan_kumar_reddy_gp/32/87899_2.png) [@PAVAN\_KUMAR\_REDDY\_GP](https://discuss.elastic.co/u/PAVAN_KUMAR_REDDY_GP)
#### Post date: [April 29, 2021, 12:52am UTC](https://discuss.elastic.co/t/configuration-reloading-cant-be-used-with-config-string-e/271576/1 "2021-04-29T00:52:21Z")

</div>

Hi Team,

```
 Getting an error " Configuration reloading can't be used with 'config.string' (-e)" while running logstash with below command. I tried testing the command in logstash version 7.6.2 and 7.9.2 . Can you please provide me solution for this issue.

```

logstash -e "input { stdin { } } output { stdout {} }"

---

<div class="post-metadata">

### Author: ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)
#### Post date: [April 29, 2021, 1:10am UTC](https://discuss.elastic.co/t/configuration-reloading-cant-be-used-with-config-string-e/271576/2 "2021-04-29T01:10:00Z")

</div>

> [@PAVAN\_KUMAR\_REDDY\_GP](#):
>
> `Configuration reloading can't be used with 'config.string' (-e)`

That is the exact error message you will get if you run logstash with both the -r and -e options. You cannot use both, as documented [here](https://www.elastic.co/guide/en/logstash/current/reloading-config.html#reloading-config).

If you run with --log.level debug do you see a message

```
[DEBUG][logstash.runner] config.reload.automatic: false

```

or is it true?

---

<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 27, 2021, 1:10am UTC](https://discuss.elastic.co/t/configuration-reloading-cant-be-used-with-config-string-e/271576/3 "2021-05-27T01:10:50Z")

</div>

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