# Logstash Mutate add\_field geo\_point

**URL:** <https://discuss.elastic.co/t/logstash-mutate-add-field-geo-point/222103>\
**Category:** Logstash\
**Created:** [March 4, 2020, 2:51pm UTC](https://discuss.elastic.co/t/logstash-mutate-add-field-geo-point/222103 "2020-03-04T14:51:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kevvo2000](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kevvo2000/32/63812_2.png) [@kevvo2000](https://discuss.elastic.co/u/kevvo2000)\
**Post date:** [March 4, 2020, 2:51pm UTC](https://discuss.elastic.co/t/logstash-mutate-add-field-geo-point/222103/1 "2020-03-04T14:51:49Z")

</div>

I am having an issue getting geo\_point data into Kibana from a Security Appliance

Here is my logstash .conf file

mutate {  
add\_field =\> { "[location][lat]" =\> "%{[geoip][latitude]}" }  
add\_field =\> { "[location][lon]" =\> "%{[geoip][longitude]}" }  
}  
mutate {  
convert =\> {"[location][lat]" =\> "float"}  
convert =\> {"[location][lon]" =\> "float"}  
}

But here is what is output in Kibana

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/e/1/e120643823ee04c9294e16cb7fe3d2e8cb1c9167.png)

Any advice would be great!

Thanks

---

<div class="post-metadata">

**Author:** ![kevvo2000](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kevvo2000/32/63812_2.png) [@kevvo2000](https://discuss.elastic.co/u/kevvo2000)\
**Post date:** [March 4, 2020, 4:35pm UTC](https://discuss.elastic.co/t/logstash-mutate-add-field-geo-point/222103/2 "2020-03-04T16:35:56Z")

</div>

Sorry - my mistake

I had put the mutate above the geoip so the fields did not exists at that point!

Thanks Anyway

---

<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:** [April 1, 2020, 4:35pm UTC](https://discuss.elastic.co/t/logstash-mutate-add-field-geo-point/222103/3 "2020-04-01T16:35:57Z")

</div>

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