Cant run elasticSearch with 'simple' custom configuration

I'm learning all about elasticSearch , and right now I'm trying to run with some modified configuration .

So i added

node.name: node-1
path.data: /home/nad/Downloads/elasticsearch-5.5.0/data/data1
path.logs: /home/nad/Downloads/elasticsearch-5.5.0/logs/log1
http.port: 9250

to elasticsearch1.yml and than I ran :

./bin/elasticsearch -Econfig=/home/nad/Downloads/elasticsearch-5.5.0/config/elasticsearch.1.yml

and I got the following error :

java.lang.IllegalArgumentException: unknown setting [config] please check that any required plugins are installed, or check the breaking changes documentation for removed settings

I'm running with latest elastic search version .

What have I done wrong ?

Thanks for the help

Your syntax is a little bit incorrect, see https://www.elastic.co/guide/en/elasticsearch/reference/5.5/settings.html#_config_file_location for the correct argument to pass in :slight_smile:

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