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

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 {} }"

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.

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

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

or is it true?

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