Hello there, i've been playing around with ELK for the past few weeks, trying to analize twitter's data and so far, so good. I love it! The whole thing is easy to use.... i just have one little-tinny problem i can not seem to be able to create a tile map to display where are the twits coming from and apparently is some issue im having with coordinates.coordinates
if you scroll down below you will see my mapping and configurations.... and as I said, i've been able to create all types of visualizations in Kibana with the twitter data i pull from logstash
but when i go to: Visualize -> Tile map -> select my twitter index and then I select 'Geo Coordinates' for the bucket type and keep default values... then i select Geohash for Aggregation and coordinates.coordinates for Field....... i just get a blank map as result: no dots showing up where the twits are coming from, i've been stucked with this for the past 2 days, i will really really really appreciate if someone could give me a hand with this
this is the info inside my .conf file:
input {
twitter {
consumer_key => "xxxxxxx"
consumer_secret => "xxxxxxx"
oauth_token => "xxxxxxx"
oauth_token_secret => "xxxxxxx"
keywords => [ "Trump" ]
full_tweet => true
}
}
filter {
}
output {
stdout { codec => dots }
elasticsearch {
protocol => "http"
host => "localhost"
index => "twitter"
document_type => "tweet"
template => "twitter_template.json"
template_name => "twitter"
}
}
and this is my twitter_template.json:
{
"template": "twitter",
"order": 1,
"settings": {
"number_of_shards": 1
},
"mappings": {
"tweet": {
"_all": {
"enabled": false
},
"dynamic_templates" : [ {
"message_field" : {
"match" : "message",
"match_mapping_type" : "string",
"mapping" : {
"type" : "string", "index" : "analyzed", "omit_norms" : true
}
}
}, {
"string_fields" : {
"match" : "*",
"match_mapping_type" : "string",
"mapping" : {
"type" : "string", "index" : "analyzed", "omit_norms" : true,
"fields" : {
"raw" : {"type": "string", "index" : "not_analyzed", "ignore_above" : 256}
}
}
}
} ],
"properties": {
"text": {
"type": "string"
},
"coordinates": {
"properties": {
"coordinates": {
"type": "geo_point"
},
"type": {
"type": "string"
}
}
}
}
}
}
}