# Mapping definition for \[geoip\] has unsupported parameters: \[path : full\]”}}}}, :level=\>:warn}

**URL:** <https://discuss.elastic.co/t/mapping-definition-for-geoip-has-unsupported-parameters-path-full-level-warn/36263>\
**Category:** Logstash\
**Created:** [December 3, 2015, 9:18am UTC](https://discuss.elastic.co/t/mapping-definition-for-geoip-has-unsupported-parameters-path-full-level-warn/36263 "2015-12-03T09:18:51Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rajaram\_Surimenu](https://avatars.discourse-cdn.com/v4/letter/r/e9c0ed/32.png) [@Rajaram\_Surimenu](https://discuss.elastic.co/u/Rajaram_Surimenu)\
**Post date:** [December 3, 2015, 9:18am UTC](https://discuss.elastic.co/t/mapping-definition-for-geoip-has-unsupported-parameters-path-full-level-warn/36263/1 "2015-12-03T09:18:51Z")

</div>

Hi,

I am trying to connect to remote host of elastic search using logstash. Taken a sample /var/log/message and given as input file path in my logstash.conf. Here is the conf file which i am using :

input {  
file {  
path =\> "/tmp/access\_log"  
start\_position =\> "beginning"  
type =\> "syslog"  
sincedb\_path =\> "nul"  
}  
}  
output {  
elasticsearch { hosts =\> [":9200"]  
template\_overwrite =\> "true"  
}

}

and my /tmp/access\_log contains simple logmessage :

Dec 3 08:45:23 ip- dhclient[1852]: DHCPACK from (xid=0x14eec1ec)

But i am getting a message saying -

:response=\>{"index"=\>{"index"=\>"logstash-2015.12.03", "type"=\>"syslog", "id"=\>nil, "status"=\>400, "error"=\>{"type"=\>"mapperparsing\_exception", "reason"=\>"mapping [_default_]", "caused\_by"=\>{"type"=\>"mapper\_parsing\_exception", "reason"=\>"Mapping definition for [geoip] has unsupported parameters: [path : full]"}}}}, :level=\>:warn}

and also please let me know how to create index automatically.. awaiting for your reply. Thanks In advance.

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [December 3, 2015, 9:24am UTC](https://discuss.elastic.co/t/mapping-definition-for-geoip-has-unsupported-parameters-path-full-level-warn/36263/2 "2015-12-03T09:24:30Z")

</div>

What version of Logstash and Elasticsearch? What's the contents of the "logstash" index template (use [the API](https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-templates.html#getting) to obtain it)?

> please let me know how to create index automatically

You mean automatically create an index when the first document is indexed? That's the default.

---

<div class="post-metadata">

**Author:** ![Rajaram\_Surimenu](https://avatars.discourse-cdn.com/v4/letter/r/e9c0ed/32.png) [@Rajaram\_Surimenu](https://discuss.elastic.co/u/Rajaram_Surimenu)\
**Post date:** [December 3, 2015, 9:44am UTC](https://discuss.elastic.co/t/mapping-definition-for-geoip-has-unsupported-parameters-path-full-level-warn/36263/3 "2015-12-03T09:44:28Z")

</div>

I am using logstash-2.1 and elastic search-2.0.0

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [December 3, 2015, 9:50am UTC](https://discuss.elastic.co/t/mapping-definition-for-geoip-has-unsupported-parameters-path-full-level-warn/36263/4 "2015-12-03T09:50:38Z")

</div>

Thanks. Please answer the remaining questions I had.

---

<div class="post-metadata">

**Author:** ![Rajaram\_Surimenu](https://avatars.discourse-cdn.com/v4/letter/r/e9c0ed/32.png) [@Rajaram\_Surimenu](https://discuss.elastic.co/u/Rajaram_Surimenu)\
**Post date:** [December 3, 2015, 9:54am UTC](https://discuss.elastic.co/t/mapping-definition-for-geoip-has-unsupported-parameters-path-full-level-warn/36263/5 "2015-12-03T09:54:14Z")

</div>

and i am not using any index template as index expected to be create automatically. I am expecting a basic log message to be pushed to elastic using logstash..If there is anybasic examples also please give me reference i will try out myself.

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [December 3, 2015, 10:01am UTC](https://discuss.elastic.co/t/mapping-definition-for-geoip-has-unsupported-parameters-path-full-level-warn/36263/6 "2015-12-03T10:01:24Z")

</div>

> and i am not using any index template as index expected to be create automatically.

I'm sorry, but if you won't answer my questions despite repeated requests I can't help you. Good luck.

---

<div class="post-metadata">

**Author:** ![Rajaram\_Surimenu](https://avatars.discourse-cdn.com/v4/letter/r/e9c0ed/32.png) [@Rajaram\_Surimenu](https://discuss.elastic.co/u/Rajaram_Surimenu)\
**Post date:** [December 3, 2015, 10:07am UTC](https://discuss.elastic.co/t/mapping-definition-for-geoip-has-unsupported-parameters-path-full-level-warn/36263/7 "2015-12-03T10:07:20Z")

</div>

> [@magnusbaeck](#):
>
> You mean automatically create an index when the first document is indexed? That's the default

please..Here are the versions : logstash-2.1 and Elasticsearch-2.0.0 . I am not using any logstash index templates. Yes i am expecting to create indexes automatically.

---

<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, 5:20am UTC](https://discuss.elastic.co/t/mapping-definition-for-geoip-has-unsupported-parameters-path-full-level-warn/36263/8 "2017-07-06T05:20:14Z")

</div>


