Elasticsearch tile service map inaccurate


(bowow) #1

Hi,
I am not sure if this question belongs to the Kibana category but here it goes..
Ok, this is very stranger. For some reason, Kibana is not displaying location for Users in the United States but other countries. Even though most of the users are from the US (according to data), it is displaying data from countries and none from the US. Is that the map is not displaying accurate results?

What is the workaround for this?


(Mark Walkom) #2

Given you seem to have an unusually high number of events near Seychelles, perhaps you have the lat/lon values around the wrong way?


(bowow) #3

This is the twitter data I am feeding over logstash..
My config is this:

input {
twitter {
consumer_key => "xxx"
consumer_secret => "xxx"
oauth_token => "xxx"
oauth_token_secret => "x"
keywords => ["#WinMeOverIn4Words", "#7FavTVShows", "#NationalTellAJokeDay", "#TuesdayMotivation", ]
full_tweet => "true"
}
}
filter {
geoip {
source => "clientip"
target => "geoip"
fields => ["full_name", "country", "country_code", "country_name", "continent_code", "region_name", "real_region_name", "city_name", "postal_code", "timezone", "location"]
}

}

output {
elasticsearch {
hosts => "11.91.22.123"
index => "twitter"
document_type => "realtime"
}
#stdout { codec => rubydebug }

}

How can I fix my lat/long in the config file?


(Mark Walkom) #4

That looks valid.
Can you see data from ES in the Discover page?


(bowow) #5

Yes I am able to see the data.


(system) #6