Sorry, It was my fault. I fixed configuring packetbeat.yml corrently defining as fiollows:
#----------------------------- Logstash output --------------------------------
output.logstash:
# The Logstash hosts
hosts: ["localhost:5044"]
And, logstash is ingesting data:
{
"tags" => [
[0] "beats_input_raw_event",
[1] "_geoip_lookup_failure"
],
"transport" => "tcp",
"host" => {
"architecture" => "x86_64",
"name" => "familia-plazas",
"id" => "39093280d1f94480b3295044c456e3d0",
"os" => {
"family" => "debian",
"codename" => "xenial",
"platform" => "ubuntu",
"version" => "16.04.5 LTS (Xenial Xerus)"
},
"containerized" => false
},
"beat" => {
"name" => "familia-plazas",
"hostname" => "familia-plazas",
"version" => "6.5.4"
},
"flow_id" => "EAT/////AP//////CP8AAAF/AAABfwAAAVKjrRM",
"final" => false,
"client_geoip" => {
"location" => {}
},
"@timestamp" => 2019-01-21T18:44:20.000Z,
"source" => {
"port" => 41810,
"stats" => {
"net_packets_total" => 1,
"net_bytes_total" => 76
},
"ip" => "127.0.0.1"
},
"dest" => {
"port" => 5037,
"stats" => {
"net_packets_total" => 1,
"net_bytes_total" => 56
},
"ip" => "127.0.0.1"
},
"last_time" => "2019-01-21T18:43:55.251Z",
"type" => "flow",
"@version" => "1",
"start_time" => "2019-01-21T18:43:55.251Z"
}
And here are some WARN logs:
[2019-01-21T13:51:59,181][WARN ][logstash.outputs.elasticsearch] Could not index event to Elasticsearch. {:status=>400, :action=>["index", {:_id=>nil, :_index=>"packetbeat-6.5.4-2019.01.21", :_type=>"doc", :routing=>nil}, #<LogStash::Event:0x85464c7>], :response=>{"index"=>{"_index"=>"packetbeat-6.5.4-2019.01.21", "_type"=>"doc", "_id"=>"yqLBcWgBO-eHSZ_RR-lB", "status"=>400, "error"=>{"type"=>"mapper_parsing_exception", "reason"=>"failed to parse", "caused_by"=>{"type"=>"parse_exception", "reason"=>"field [lat] missing"}}}}}
[2019-01-21T13:51:59,183][WARN ][logstash.outputs.elasticsearch] Could not index event to Elasticsearch. {:status=>400, :action=>["index", {:_id=>nil, :_index=>"packetbeat-6.5.4-2019.01.21", :_type=>"doc", :routing=>nil}, #<LogStash::Event:0x6e485def>], :response=>{"index"=>{"_index"=>"packetbeat-6.5.4-2019.01.21", "_type"=>"doc", "_id"=>"y6LBcWgBO-eHSZ_RR-lB", "status"=>400, "error"=>{"type"=>"mapper_parsing_exception", "reason"=>"failed to parse", "caused_by"=>{"type"=>"parse_exception", "reason"=>"field must be either [lat], [lon] or [geohash]"}}}}}
But still doesn't showing any geoip point: