# Mapping field to geoip.location throws parsing exception

**URL:** <https://discuss.elastic.co/t/mapping-field-to-geoip-location-throws-parsing-exception/37745>\
**Category:** Logstash\
**Created:** [December 22, 2015, 10:34am UTC](https://discuss.elastic.co/t/mapping-field-to-geoip-location-throws-parsing-exception/37745 "2015-12-22T10:34:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![cannibalcow](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/cannibalcow/32/6784_2.png) [@cannibalcow](https://discuss.elastic.co/u/cannibalcow)\
**Post date:** [December 22, 2015, 10:34am UTC](https://discuss.elastic.co/t/mapping-field-to-geoip-location-throws-parsing-exception/37745/1 "2015-12-22T10:34:20Z")

</div>

Hi

I use the jdbc input plugin to fetch my data. It contains a couple of columns with log data.  
One of the columns contains latitue,longitude values.

I thought I could use the the 'geoip.location' field and then visualize it in kibanas tile map.

```
input {
    jdbc {
        jdbc_connection_string => "jdbc:oracle:thin:@database:1521:sche"
        jdbc_user => "user"
        jdbc_password => "password"
        jdbc_driver_library => "/opt/driver/ojdbc-11.1.0.7.0-jdk16.jar"
        jdbc_driver_class => "Java::oracle.jdbc.driver.OracleDriver"
        statement => "SELECT * FROM app_log"
        }
}

filter {
    mutate {
        rename => { "position" => "geoip.location" }
    }
}

output {
    elasticsearch {
        index => "logstash-test-%{+YYYY.MM.dd}"
        hosts => ["localhost"]
    }
     stdout { codec => json_lines }
}

```

When I run logstash I get this:

> `"error"=>{"type"=>"mapper_parsing_exception", "reason"=>"Field name [geoip.location] cannot contain '.'"}}}`

The format of the field is (without the quotes):` "66.86573948833629, 19.818217948317095"`

---

<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:17am UTC](https://discuss.elastic.co/t/mapping-field-to-geoip-location-throws-parsing-exception/37745/2 "2017-07-06T05:17:34Z")

</div>

Closed on July 6, 2017, 5:17am UTC


