# Default-mapping.json on Centos?

**URL:** <https://discuss.elastic.co/t/default-mapping-json-on-centos/15056>\
**Category:** Elasticsearch\
**Created:** [December 30, 2013, 5:10pm UTC](https://discuss.elastic.co/t/default-mapping-json-on-centos/15056 "2013-12-30T17:10:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jay\_Wilson](https://avatars.discourse-cdn.com/v4/letter/j/34f0e0/32.png) [@Jay\_Wilson](https://discuss.elastic.co/u/Jay_Wilson)\
**Post date:** [December 30, 2013, 5:10pm UTC](https://discuss.elastic.co/t/default-mapping-json-on-centos/15056/1 "2013-12-30T17:10:37Z")

</div>

I have a default-mapping.json file working fine in Ubuntu by placing it in  
/usr/local/elasticsearch/config/.

I also have Centos install of ES, but I can't figure out where to put the  
default-mapping.json file. I have tried /usr/share/elasticsearch/config/  
and /etc/elasticsearch/config/. Neither cause the mapping to take affect.  
Could have something to do with naming the cluster something other than  
elasticsearch?

There is no /usr/local/elasticsearch/ on the Centos system.

Thanks

--  
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/e67cd23f-7849-4db6-a16f-19b9a477fb8a%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/e67cd23f-7849-4db6-a16f-19b9a477fb8a%40googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Jay\_Wilson](https://avatars.discourse-cdn.com/v4/letter/j/34f0e0/32.png) [@Jay\_Wilson](https://discuss.elastic.co/u/Jay_Wilson)\
**Post date:** [December 30, 2013, 8:45pm UTC](https://discuss.elastic.co/t/default-mapping-json-on-centos/15056/2 "2013-12-30T20:45:40Z")

</div>

Solved --

The directory to place default-mapping.json in was /etc/elasticsearch/

On Monday, December 30, 2013 10:10:37 AM UTC-7, Jay Wilson wrote:

> I have a default-mapping.json file working fine in Ubuntu by placing it in  
> /usr/local/elasticsearch/config/.
> 
> I also have Centos install of ES, but I can't figure out where to put the  
> default-mapping.json file. I have tried /usr/share/elasticsearch/config/  
> and /etc/elasticsearch/config/. Neither cause the mapping to take affect.  
> Could have something to do with naming the cluster something other than  
> elasticsearch?
> 
> There is no /usr/local/elasticsearch/ on the Centos system.
> 
> Thanks

--  
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/a5bdd3c4-162b-42a4-b127-83e1f10a6d23%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/a5bdd3c4-162b-42a4-b127-83e1f10a6d23%40googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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, 1:58am UTC](https://discuss.elastic.co/t/default-mapping-json-on-centos/15056/3 "2017-07-06T01:58:59Z")

</div>


