如何在基巴纳地图上放置位置名称而不是经度和纬度?
还有什么需要做的吗?创建可视化时,它只显示地图上没有坐标。请指导。
input {
file {
path => "E:/ELK_Stack/DATA1/final_data.csv"
start_position => "beginning"
sincedb_path => "NUL"
}
}
filter {
csv {
separator => ","
columns => ["Site Name", "Project", "Shipping City", "ShippingState", "Latitude", "Longitude", "DeviceId", "Signal Strength", "Field Visit"]
}
mutate {
convert => {
"Longitude" => "float"
}
convert => {
"Latitude" => "float"
}
convert => {
"Field Visit" => "integer"
}
convert => {
"Signal Strength" => "integer"
}
}
mutate {
rename => {
"Longitude" => "[location][lon]"
"Latitude" => "[location][lat]"
}
}
}
output {
elasticsearch {
hosts => ["http://localhost:9200"] index => "changes"
document_type => "changes"
}
stdout {
codec => json_lines
}
}