# ElasticsearchIllegalArgumentException can't parse config file

**URL:** <https://discuss.elastic.co/t/elasticsearchillegalargumentexception-cant-parse-config-file/21838>\
**Category:** Elasticsearch\
**Created:** [January 26, 2015, 9:49pm UTC](https://discuss.elastic.co/t/elasticsearchillegalargumentexception-cant-parse-config-file/21838 "2015-01-26T21:49:34Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Xavier\_Garcia](https://avatars.discourse-cdn.com/v4/letter/x/c6cbf5/32.png) [@Xavier\_Garcia](https://discuss.elastic.co/u/Xavier_Garcia)\
**Post date:** [January 26, 2015, 9:49pm UTC](https://discuss.elastic.co/t/elasticsearchillegalargumentexception-cant-parse-config-file/21838/1 "2015-01-26T21:49:34Z")

</div>

Hello guy,

I'm configuring a ES cluster and i got this issue - _ElasticsearchIllegalArgumentException[value  
cannot be parsed to boolean [true/1/on/yes OR false/0/off/no] ]_  
I try to increase the level of logging but nothing work i can't find the  
right line, do you have any idea where is this value in my config file ?

Thank you

cluster.name: Cluster-Production  
node.name: [elastic2.cluster.net](http://elastic2.cluster.net)  
node.master: True  
node.rack: ec2  
node.max\_local\_storage\_nodes: 1  
node.data: /srv/data/elasticsearch  
index.mapper\_dynamic: True  
index.query.bool.max\_clause\_count: 4096  
path.conf: /srv/conf/elasticsearch  
path.data: /srv/data/elasticsearch  
path.logs: /srv/logs/elasticsearch  
path.plugins: /srv/app/elasticsearch/plugins  
bootstrap.mlockall: True  
transport.tcp.port: 9300  
http.port: 9200  
http.enabled: True  
gateway.type: local  
gateway.recover\_after\_nodes: 1  
gateway.recover\_after\_time: 2m  
gateway.expected\_nodes: 1  
discovery.zen.minimum\_master\_nodes: 1  
discovery.zen.ping.timeout: 30s  
discovery.zen.ping.multicast.enabled: False  
discovery.zen.ping.unicast.hosts: ["[elastic1.internal.cluster.net](http://elastic1.internal.cluster.net)",  
"[elastic2.internal.cluster.net](http://elastic2.internal.cluster.net)", "[elastic3.internal.cluster.net](http://elastic3.internal.cluster.net)",  
"[elastic4.internal.cluster.net](http://elastic4.internal.cluster.net)", "[elastic5.internal.cluster.net](http://elastic5.internal.cluster.net)"]  
action.auto\_create\_index: True  
action.disable\_delete\_all\_indices: True  
script.disable\_dynamic: False  
threadpool.bulk.type: fixed  
threadpool.bulk.size: 50  
threadpool.bulk.queue\_size: 1000

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/f724407f-6163-4433-9dd7-5c8c66fcece2%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/f724407f-6163-4433-9dd7-5c8c66fcece2%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [January 26, 2015, 10:08pm UTC](https://discuss.elastic.co/t/elasticsearchillegalargumentexception-cant-parse-config-file/21838/2 "2015-01-26T22:08:19Z")

</div>

Could you try replacing True by true?

David

> Le 26 janv. 2015 à 22:49, Xavier Garcia [x@vier.im](mailto:x@vier.im) a écrit :
> 
> Hello guy,
> 
> I'm configuring a ES cluster and i got this issue - ElasticsearchIllegalArgumentException[value cannot be parsed to boolean [true/1/on/yes OR false/0/off/no] ]  
> I try to increase the level of logging but nothing work i can't find the right line, do you have any idea where is this value in my config file ?
> 
> Thank you
> 
> ## cluster.name: Cluster-Production node.name: [elastic2.cluster.net](http://elastic2.cluster.net) node.master: True node.rack: ec2 node.max\_local\_storage\_nodes: 1 node.data: /srv/data/elasticsearch index.mapper\_dynamic: True index.query.bool.max\_clause\_count: 4096 path.conf: /srv/conf/elasticsearch path.data: /srv/data/elasticsearch path.logs: /srv/logs/elasticsearch path.plugins: /srv/app/elasticsearch/plugins bootstrap.mlockall: True transport.tcp.port: 9300 http.port: 9200 http.enabled: True gateway.type: local gateway.recover\_after\_nodes: 1 gateway.recover\_after\_time: 2m gateway.expected\_nodes: 1 discovery.zen.minimum\_master\_nodes: 1 discovery.zen.ping.timeout: 30s discovery.zen.ping.multicast.enabled: False discovery.zen.ping.unicast.hosts: ["[elastic1.internal.cluster.net](http://elastic1.internal.cluster.net)", "[elastic2.internal.cluster.net](http://elastic2.internal.cluster.net)", "[elastic3.internal.cluster.net](http://elastic3.internal.cluster.net)", "[elastic4.internal.cluster.net](http://elastic4.internal.cluster.net)", "[elastic5.internal.cluster.net](http://elastic5.internal.cluster.net)"] action.auto\_create\_index: True action.disable\_delete\_all\_indices: True script.disable\_dynamic: False threadpool.bulk.type: fixed threadpool.bulk.size: 50 threadpool.bulk.queue\_size: 1000
> 
> You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/f724407f-6163-4433-9dd7-5c8c66fcece2%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/f724407f-6163-4433-9dd7-5c8c66fcece2%40googlegroups.com).  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/3D4610A7-D015-4104-9155-DC93C2F0B14C%40pilato.fr](https://groups.google.com/d/msgid/elasticsearch/3D4610A7-D015-4104-9155-DC93C2F0B14C%40pilato.fr).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Xavier\_Garcia](https://avatars.discourse-cdn.com/v4/letter/x/c6cbf5/32.png) [@Xavier\_Garcia](https://discuss.elastic.co/u/Xavier_Garcia)\
**Post date:** [January 26, 2015, 10:14pm UTC](https://discuss.elastic.co/t/elasticsearchillegalargumentexception-cant-parse-config-file/21838/3 "2015-01-26T22:14:22Z")

</div>

Already try but doesn't work.

Le lundi 26 janvier 2015 14:08:39 UTC-8, David Pilato a écrit :

> Could you try replacing True by true?
> 
> David
> 
> Le 26 janv. 2015 à 22:49, Xavier Garcia \<x...@vier.im \<javascript:\>\> a  
> écrit :
> 
> Hello guy,
> 
> I'm configuring a ES cluster and i got this issue - _ElasticsearchIllegalArgumentException[value  
> cannot be parsed to boolean [true/1/on/yes OR false/0/off/no] ]_  
> I try to increase the level of logging but nothing work i can't find the  
> right line, do you have any idea where is this value in my config file ?
> 
> Thank you
> 
> cluster.name: Cluster-Production  
> node.name: [elastic2.cluster.net](http://elastic2.cluster.net)  
> node.master: True  
> node.rack: ec2  
> node.max\_local\_storage\_nodes: 1  
> node.data: /srv/data/elasticsearch  
> index.mapper\_dynamic: True  
> index.query.bool.max\_clause\_count: 4096  
> path.conf: /srv/conf/elasticsearch  
> path.data: /srv/data/elasticsearch  
> path.logs: /srv/logs/elasticsearch  
> path.plugins: /srv/app/elasticsearch/plugins  
> bootstrap.mlockall: True  
> transport.tcp.port: 9300  
> http.port: 9200  
> http.enabled: True  
> gateway.type: local  
> gateway.recover\_after\_nodes: 1  
> gateway.recover\_after\_time: 2m  
> gateway.expected\_nodes: 1  
> discovery.zen.minimum\_master\_nodes: 1  
> discovery.zen.ping.timeout: 30s  
> discovery.zen.ping.multicast.enabled: False  
> discovery.zen.ping.unicast.hosts: ["[elastic1.internal.cluster.net](http://elastic1.internal.cluster.net)", "  
> [elastic2.internal.cluster.net](http://elastic2.internal.cluster.net)", "[elastic3.internal.cluster.net](http://elastic3.internal.cluster.net)", "  
> [elastic4.internal.cluster.net](http://elastic4.internal.cluster.net)", "[elastic5.internal.cluster.net](http://elastic5.internal.cluster.net)"]  
> action.auto\_create\_index: True  
> action.disable\_delete\_all\_indices: True  
> script.disable\_dynamic: False  
> threadpool.bulk.type: fixed  
> threadpool.bulk.size: 50  
> threadpool.bulk.queue\_size: 1000
> 
> --  
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com) \<javascript:\>.  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/f724407f-6163-4433-9dd7-5c8c66fcece2%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/f724407f-6163-4433-9dd7-5c8c66fcece2%40googlegroups.com)  
> [https://groups.google.com/d/msgid/elasticsearch/f724407f-6163-4433-9dd7-5c8c66fcece2%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/f724407f-6163-4433-9dd7-5c8c66fcece2%40googlegroups.com?utm_medium=email&utm_source=footer)  
> .  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/44b06669-bb82-4275-acdf-e8fdabc95c06%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/44b06669-bb82-4275-acdf-e8fdabc95c06%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [January 26, 2015, 10:32pm UTC](https://discuss.elastic.co/t/elasticsearchillegalargumentexception-cant-parse-config-file/21838/4 "2015-01-26T22:32:18Z")

</div>

Of course, you did it for False as well?

David

> Le 26 janv. 2015 à 23:14, Xavier Garcia [x@vier.im](mailto:x@vier.im) a écrit :
> 
> Already try but doesn't work.
> 
> Le lundi 26 janvier 2015 14:08:39 UTC-8, David Pilato a écrit :
> 
> > Could you try replacing True by true?
> > 
> > David
> > 
> > > Le 26 janv. 2015 à 22:49, Xavier Garcia [x...@vier.im](mailto:x...@vier.im) a écrit :
> > > 
> > > Hello guy,
> > > 
> > > I'm configuring a ES cluster and i got this issue - ElasticsearchIllegalArgumentException[value cannot be parsed to boolean [true/1/on/yes OR false/0/off/no] ]  
> > > I try to increase the level of logging but nothing work i can't find the right line, do you have any idea where is this value in my config file ?
> > > 
> > > Thank you
> > > 
> > > ## cluster.name: Cluster-Production node.name: [elastic2.cluster.net](http://elastic2.cluster.net) node.master: True node.rack: ec2 node.max\_local\_storage\_nodes: 1 node.data: /srv/data/elasticsearch index.mapper\_dynamic: True index.query.bool.max\_clause\_count: 4096 path.conf: /srv/conf/elasticsearch path.data: /srv/data/elasticsearch path.logs: /srv/logs/elasticsearch path.plugins: /srv/app/elasticsearch/plugins bootstrap.mlockall: True transport.tcp.port: 9300 http.port: 9200 http.enabled: True gateway.type: local gateway.recover\_after\_nodes: 1 gateway.recover\_after\_time: 2m gateway.expected\_nodes: 1 discovery.zen.minimum\_master\_nodes: 1 discovery.zen.ping.timeout: 30s discovery.zen.ping.multicast.enabled: False discovery.zen.ping.unicast.hosts: ["[elastic1.internal.cluster.net](http://elastic1.internal.cluster.net)", "[elastic2.internal.cluster.net](http://elastic2.internal.cluster.net)", "[elastic3.internal.cluster.net](http://elastic3.internal.cluster.net)", "[elastic4.internal.cluster.net](http://elastic4.internal.cluster.net)", "[elastic5.internal.cluster.net](http://elastic5.internal.cluster.net)"] action.auto\_create\_index: True action.disable\_delete\_all\_indices: True script.disable\_dynamic: False threadpool.bulk.type: fixed threadpool.bulk.size: 50 threadpool.bulk.queue\_size: 1000
> > > 
> > > You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
> > > To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com).  
> > > To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/f724407f-6163-4433-9dd7-5c8c66fcece2%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/f724407f-6163-4433-9dd7-5c8c66fcece2%40googlegroups.com).  
> > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> 
> --  
> You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/44b06669-bb82-4275-acdf-e8fdabc95c06%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/44b06669-bb82-4275-acdf-e8fdabc95c06%40googlegroups.com).  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/145933F0-7704-4E6B-B389-1670B2625B86%40pilato.fr](https://groups.google.com/d/msgid/elasticsearch/145933F0-7704-4E6B-B389-1670B2625B86%40pilato.fr).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Xavier\_Garcia](https://avatars.discourse-cdn.com/v4/letter/x/c6cbf5/32.png) [@Xavier\_Garcia](https://discuss.elastic.co/u/Xavier_Garcia)\
**Post date:** [January 26, 2015, 11:13pm UTC](https://discuss.elastic.co/t/elasticsearchillegalargumentexception-cant-parse-config-file/21838/5 "2015-01-26T23:13:08Z")

</div>

Yep False so and rewrite all number i can, change the charset of file. It's  
crasy i don't understabd what happend.

Le lundi 26 janvier 2015 14:32:40 UTC-8, David Pilato a écrit :

> Of course, you did it for False as well?
> 
> David
> 
> Le 26 janv. 2015 à 23:14, Xavier Garcia \<x...@vier.im \<javascript:\>\> a  
> écrit :
> 
> Already try but doesn't work.
> 
> Le lundi 26 janvier 2015 14:08:39 UTC-8, David Pilato a écrit :
> 
> > Could you try replacing True by true?
> > 
> > David
> > 
> > Le 26 janv. 2015 à 22:49, Xavier Garcia [x...@vier.im](mailto:x...@vier.im) a écrit :
> > 
> > Hello guy,
> > 
> > I'm configuring a ES cluster and i got this issue - _ElasticsearchIllegalArgumentException[value  
> > cannot be parsed to boolean [true/1/on/yes OR false/0/off/no] ]_  
> > I try to increase the level of logging but nothing work i can't find the  
> > right line, do you have any idea where is this value in my config file ?
> > 
> > Thank you
> > 
> > cluster.name: Cluster-Production  
> > node.name: [elastic2.cluster.net](http://elastic2.cluster.net)  
> > node.master: True  
> > node.rack: ec2  
> > node.max\_local\_storage\_nodes: 1  
> > node.data: /srv/data/elasticsearch  
> > index.mapper\_dynamic: True  
> > index.query.bool.max\_clause\_count: 4096  
> > path.conf: /srv/conf/elasticsearch  
> > path.data: /srv/data/elasticsearch  
> > path.logs: /srv/logs/elasticsearch  
> > path.plugins: /srv/app/elasticsearch/plugins  
> > bootstrap.mlockall: True  
> > transport.tcp.port: 9300  
> > http.port: 9200  
> > http.enabled: True  
> > gateway.type: local  
> > gateway.recover\_after\_nodes: 1  
> > gateway.recover\_after\_time: 2m  
> > gateway.expected\_nodes: 1  
> > discovery.zen.minimum\_master\_nodes: 1  
> > discovery.zen.ping.timeout: 30s  
> > discovery.zen.ping.multicast.enabled: False  
> > discovery.zen.ping.unicast.hosts: ["[elastic1.internal.cluster.net](http://elastic1.internal.cluster.net)", "  
> > [elastic2.internal.cluster.net](http://elastic2.internal.cluster.net)", "[elastic3.internal.cluster.net](http://elastic3.internal.cluster.net)", "  
> > [elastic4.internal.cluster.net](http://elastic4.internal.cluster.net)", "[elastic5.internal.cluster.net](http://elastic5.internal.cluster.net)"]  
> > action.auto\_create\_index: True  
> > action.disable\_delete\_all\_indices: True  
> > script.disable\_dynamic: False  
> > threadpool.bulk.type: fixed  
> > threadpool.bulk.size: 50  
> > threadpool.bulk.queue\_size: 1000
> > 
> > --  
> > You received this message because you are subscribed to the Google Groups  
> > "elasticsearch" group.  
> > To unsubscribe from this group and stop receiving emails from it, send an  
> > email to [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com).  
> > To view this discussion on the web visit  
> > [https://groups.google.com/d/msgid/elasticsearch/f724407f-6163-4433-9dd7-5c8c66fcece2%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/f724407f-6163-4433-9dd7-5c8c66fcece2%40googlegroups.com)  
> > [https://groups.google.com/d/msgid/elasticsearch/f724407f-6163-4433-9dd7-5c8c66fcece2%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/f724407f-6163-4433-9dd7-5c8c66fcece2%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > .  
> > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > 
> > --  
> > You received this message because you are subscribed to the Google Groups  
> > "elasticsearch" group.  
> > To unsubscribe from this group and stop receiving emails from it, send an  
> > email to [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com) \<javascript:\>.  
> > To view this discussion on the web visit  
> > [https://groups.google.com/d/msgid/elasticsearch/44b06669-bb82-4275-acdf-e8fdabc95c06%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/44b06669-bb82-4275-acdf-e8fdabc95c06%40googlegroups.com)  
> > [https://groups.google.com/d/msgid/elasticsearch/44b06669-bb82-4275-acdf-e8fdabc95c06%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/44b06669-bb82-4275-acdf-e8fdabc95c06%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > .  
> > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/0ded5242-8e69-4d21-a954-8807a3295791%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/0ded5242-8e69-4d21-a954-8807a3295791%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Xavier\_Garcia](https://avatars.discourse-cdn.com/v4/letter/x/c6cbf5/32.png) [@Xavier\_Garcia](https://discuss.elastic.co/u/Xavier_Garcia)\
**Post date:** [January 27, 2015, 5:39am UTC](https://discuss.elastic.co/t/elasticsearchillegalargumentexception-cant-parse-config-file/21838/6 "2015-01-27T05:39:41Z")

</div>

Any idea ? Someone know if a configuration validator exist for  
Elasticsearch? Or how i can improve the loggin to find which line it's

Thank you,

Le lundi 26 janvier 2015 15:13:09 UTC-8, Xavier Garcia a écrit :

> Yep False so and rewrite all number i can, change the charset of file.  
> It's crasy i don't understabd what happend.
> 
> Le lundi 26 janvier 2015 14:32:40 UTC-8, David Pilato a écrit :
> 
> > Of course, you did it for False as well?
> > 
> > David
> > 
> > Le 26 janv. 2015 à 23:14, Xavier Garcia [x...@vier.im](mailto:x...@vier.im) a écrit :
> > 
> > Already try but doesn't work.
> > 
> > Le lundi 26 janvier 2015 14:08:39 UTC-8, David Pilato a écrit :
> > 
> > > Could you try replacing True by true?
> > > 
> > > David
> > > 
> > > Le 26 janv. 2015 à 22:49, Xavier Garcia [x...@vier.im](mailto:x...@vier.im) a écrit :
> > > 
> > > Hello guy,
> > > 
> > > I'm configuring a ES cluster and i got this issue - _ElasticsearchIllegalArgumentException[value  
> > > cannot be parsed to boolean [true/1/on/yes OR false/0/off/no] ]_  
> > > I try to increase the level of logging but nothing work i can't find the  
> > > right line, do you have any idea where is this value in my config file ?
> > > 
> > > Thank you
> > > 
> > > cluster.name: Cluster-Production  
> > > node.name: [elastic2.cluster.net](http://elastic2.cluster.net)  
> > > node.master: True  
> > > node.rack: ec2  
> > > node.max\_local\_storage\_nodes: 1  
> > > node.data: /srv/data/elasticsearch  
> > > index.mapper\_dynamic: True  
> > > index.query.bool.max\_clause\_count: 4096  
> > > path.conf: /srv/conf/elasticsearch  
> > > path.data: /srv/data/elasticsearch  
> > > path.logs: /srv/logs/elasticsearch  
> > > path.plugins: /srv/app/elasticsearch/plugins  
> > > bootstrap.mlockall: True  
> > > transport.tcp.port: 9300  
> > > http.port: 9200  
> > > http.enabled: True  
> > > gateway.type: local  
> > > gateway.recover\_after\_nodes: 1  
> > > gateway.recover\_after\_time: 2m  
> > > gateway.expected\_nodes: 1  
> > > discovery.zen.minimum\_master\_nodes: 1  
> > > discovery.zen.ping.timeout: 30s  
> > > discovery.zen.ping.multicast.enabled: False  
> > > discovery.zen.ping.unicast.hosts: ["[elastic1.internal.cluster.net](http://elastic1.internal.cluster.net)", "  
> > > [elastic2.internal.cluster.net](http://elastic2.internal.cluster.net)", "[elastic3.internal.cluster.net](http://elastic3.internal.cluster.net)", "  
> > > [elastic4.internal.cluster.net](http://elastic4.internal.cluster.net)", "[elastic5.internal.cluster.net](http://elastic5.internal.cluster.net)"]  
> > > action.auto\_create\_index: True  
> > > action.disable\_delete\_all\_indices: True  
> > > script.disable\_dynamic: False  
> > > threadpool.bulk.type: fixed  
> > > threadpool.bulk.size: 50  
> > > threadpool.bulk.queue\_size: 1000
> > > 
> > > --  
> > > You received this message because you are subscribed to the Google  
> > > Groups "elasticsearch" group.  
> > > To unsubscribe from this group and stop receiving emails from it, send  
> > > an email to [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com).  
> > > To view this discussion on the web visit  
> > > [https://groups.google.com/d/msgid/elasticsearch/f724407f-6163-4433-9dd7-5c8c66fcece2%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/f724407f-6163-4433-9dd7-5c8c66fcece2%40googlegroups.com)  
> > > [https://groups.google.com/d/msgid/elasticsearch/f724407f-6163-4433-9dd7-5c8c66fcece2%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/f724407f-6163-4433-9dd7-5c8c66fcece2%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > > .  
> > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > > 
> > > --  
> > > You received this message because you are subscribed to the Google Groups  
> > > "elasticsearch" group.  
> > > To unsubscribe from this group and stop receiving emails from it, send an  
> > > email to [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com).  
> > > To view this discussion on the web visit  
> > > [https://groups.google.com/d/msgid/elasticsearch/44b06669-bb82-4275-acdf-e8fdabc95c06%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/44b06669-bb82-4275-acdf-e8fdabc95c06%40googlegroups.com)  
> > > [https://groups.google.com/d/msgid/elasticsearch/44b06669-bb82-4275-acdf-e8fdabc95c06%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/44b06669-bb82-4275-acdf-e8fdabc95c06%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > > .  
> > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/5da68ec9-e7c8-4dda-ba36-732919e9cd8e%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/5da68ec9-e7c8-4dda-ba36-732919e9cd8e%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [January 27, 2015, 5:42am UTC](https://discuss.elastic.co/t/elasticsearchillegalargumentexception-cant-parse-config-file/21838/7 "2015-01-27T05:42:32Z")

</div>

Could you test this config locally and add one setting at a time and check which one is incorrect?

--  
David 😉  
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

> Le 27 janv. 2015 à 06:39, Xavier Garcia [x@vier.im](mailto:x@vier.im) a écrit :
> 
> Any idea ? Someone know if a configuration validator exist for Elasticsearch? Or how i can improve the loggin to find which line it's
> 
> Thank you,
> 
> Le lundi 26 janvier 2015 15:13:09 UTC-8, Xavier Garcia a écrit :
> 
> > Yep False so and rewrite all number i can, change the charset of file. It's crasy i don't understabd what happend.
> > 
> > Le lundi 26 janvier 2015 14:32:40 UTC-8, David Pilato a écrit :
> > 
> > > Of course, you did it for False as well?
> > > 
> > > David
> > > 
> > > > Le 26 janv. 2015 à 23:14, Xavier Garcia [x...@vier.im](mailto:x...@vier.im) a écrit :
> > > > 
> > > > Already try but doesn't work.
> > > > 
> > > > Le lundi 26 janvier 2015 14:08:39 UTC-8, David Pilato a écrit :
> > > > 
> > > > > Could you try replacing True by true?
> > > > > 
> > > > > David
> > > > > 
> > > > > > Le 26 janv. 2015 à 22:49, Xavier Garcia [x...@vier.im](mailto:x...@vier.im) a écrit :
> > > > > > 
> > > > > > Hello guy,
> > > > > > 
> > > > > > I'm configuring a ES cluster and i got this issue - ElasticsearchIllegalArgumentException[value cannot be parsed to boolean [true/1/on/yes OR false/0/off/no] ]  
> > > > > > I try to increase the level of logging but nothing work i can't find the right line, do you have any idea where is this value in my config file ?
> > > > > > 
> > > > > > Thank you
> > > > > > 
> > > > > > ## cluster.name: Cluster-Production node.name: [elastic2.cluster.net](http://elastic2.cluster.net) node.master: True node.rack: ec2 node.max\_local\_storage\_nodes: 1 node.data: /srv/data/elasticsearch index.mapper\_dynamic: True index.query.bool.max\_clause\_count: 4096 path.conf: /srv/conf/elasticsearch path.data: /srv/data/elasticsearch path.logs: /srv/logs/elasticsearch path.plugins: /srv/app/elasticsearch/plugins bootstrap.mlockall: True transport.tcp.port: 9300 http.port: 9200 http.enabled: True gateway.type: local gateway.recover\_after\_nodes: 1 gateway.recover\_after\_time: 2m gateway.expected\_nodes: 1 discovery.zen.minimum\_master\_nodes: 1 discovery.zen.ping.timeout: 30s discovery.zen.ping.multicast.enabled: False discovery.zen.ping.unicast.hosts: ["[elastic1.internal.cluster.net](http://elastic1.internal.cluster.net)", "[elastic2.internal.cluster.net](http://elastic2.internal.cluster.net)", "[elastic3.internal.cluster.net](http://elastic3.internal.cluster.net)", "[elastic4.internal.cluster.net](http://elastic4.internal.cluster.net)", "[elastic5.internal.cluster.net](http://elastic5.internal.cluster.net)"] action.auto\_create\_index: True action.disable\_delete\_all\_indices: True script.disable\_dynamic: False threadpool.bulk.type: fixed threadpool.bulk.size: 50 threadpool.bulk.queue\_size: 1000
> > > > > > 
> > > > > > You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
> > > > > > To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com).  
> > > > > > To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/f724407f-6163-4433-9dd7-5c8c66fcece2%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/f724407f-6163-4433-9dd7-5c8c66fcece2%40googlegroups.com).  
> > > > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > > > 
> > > > --  
> > > > You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
> > > > To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com).  
> > > > To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/44b06669-bb82-4275-acdf-e8fdabc95c06%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/44b06669-bb82-4275-acdf-e8fdabc95c06%40googlegroups.com).  
> > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> 
> --  
> You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/5da68ec9-e7c8-4dda-ba36-732919e9cd8e%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/5da68ec9-e7c8-4dda-ba36-732919e9cd8e%40googlegroups.com).  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/B25CCF9B-5C12-4A26-ADEA-8F9C54ADA63E%40pilato.fr](https://groups.google.com/d/msgid/elasticsearch/B25CCF9B-5C12-4A26-ADEA-8F9C54ADA63E%40pilato.fr).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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:** [July 6, 2017, 12:36am UTC](https://discuss.elastic.co/t/elasticsearchillegalargumentexception-cant-parse-config-file/21838/8 "2017-07-06T00:36:32Z")

</div>


