Hey,
I'm new to this platform. Been using ELK since last week. I'm encountering several problems concerning geo localisations.
I have a CSV which is made out of the following
Name,Adress,Latitude,Longitude
I have created an index (Test) with the following mapping
{
"Test" : {
"mappings" : {
"partial_beacons" : {
"properties" : {
"latitude" : {
"type" : "float"
},
"location" : {
"type" : "geo_point"
},
"longitude" : {
"type" : "float"
}
}
}
}
}
}
My .conf looks like the following
input {
file {
path => "/.../*.csv"
type => "partial_beacons"
start_position => "beginning"
}
}
filter {
csv {
columns => ["Name", "Adress", "latitude", "longitude"]
separator => ","
}
mutate {
add_field => ["location","%{latitude}"]
add_field => ["location","%{longitude}"]
convert => {"location" => "float"}
}
}
output {
elasticsearch {
action => "index"
hosts => "localhost"
index => "Test"
workers => 1
}
stdout {
codec => rubydebug
}
}
I have tried every solution possible on this forum. What am I doing wrong? (without the mapping the document succeeds in importing but with lat,lon as strings....
I would like to have both columns (Longitude & Latitude) together as to point it out on the map.
ES, Kibana and Logstash have been downloaded last week so we are running latest stable.
Cheers!
Thomas