elasticsearch -Des.config=... ERROR: D is not a recognized option

Created on 5 Nov 2016  路  1Comment  路  Source: elastic/elasticsearch

I want to run multiple elasticsearch nodes on one machine. This webpage use $ bin/elasticsearch -Des.config=$ES_HOME/config/elasticsearch.1.yml to run multiple nodes. But, when I run this command, it's said ERROR: D is not a recognized option? I run this command by Win7 Cmder.

Most helpful comment

You didn't specify a version but I'm guessing version 5.0.0. That blog post is out of date for version 5.0.0. Command-line flags are specified using -E now. I recommend using our docs instead of old blog posts.

Elastic reserves GitHub for verified bug reports and feature requests. You can ask general questions on the Elastic Discourse forum.

>All comments

You didn't specify a version but I'm guessing version 5.0.0. That blog post is out of date for version 5.0.0. Command-line flags are specified using -E now. I recommend using our docs instead of old blog posts.

Elastic reserves GitHub for verified bug reports and feature requests. You can ask general questions on the Elastic Discourse forum.

Was this page helpful?
0 / 5 - 0 ratings