Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
No hosts list or country distribution showing #60
Comments
packetb-old
added
the
question
label
Aug 9, 2014
packetb-old
commented
Aug 9, 2014
|
Hi, to make sure I understand, you generally get data in Kibana but the Hosts panel is empty? A common issue is that we only display arrows between known hosts (hosts running the agent). Please check whether the values for both Another thing you could try is to add another "force" panel in which you use the See also issue #56. |
dginther
commented
Aug 12, 2014
|
That's correct. I figured out that I need the GoIP library installed to get src_country, though I haven't figured out where to actually get that library and there doesn't seem to be any info in the docs on that, other than a mention that it's necessary. Any more information available on that? |
packetb-old
commented
Aug 12, 2014
|
Ah, good point. On RPM based distros, do:
and on debian based repos:
Please make sure you have the latest version of the agent (0.3.2), because prior versions were not able to follow links when reading the geoip DB files. We'll update the documentation, thanks for pointing out the issue. |
dginther
commented
Aug 12, 2014
|
Looks like geoip-database is installed on both my packetbeat server as well as my one client. Is there any troubleshooting I might perform to make sure it's working as it's supposed to? |
packetb-old
commented
Aug 12, 2014
|
Please check that:
|
dginther
commented
Aug 13, 2014
|
that file exists where the agent is running. |
packetb-old
commented
Aug 13, 2014
|
Hmm, that's strange. If you copy one of the IP addresses from |
dginther
commented
Aug 13, 2014
|
Ah. The solution presents itself. I am using an AWS load balancer. The src_ip is a 10.x.x.x address and therefore never gets looked up. Any way to make the map use the x-forwarded-for? |
packetb-old
commented
Aug 14, 2014
|
Not at the moment, unfortunately, because x-forwarded-for doesn't get it's own field. We'll either add it to the list of exported headers or, better, make the list of exported headers configurable. |
pushed a commit
that referenced
this issue
Sep 18, 2014
gabrielrcouto
commented
May 20, 2015
mingfang
commented
Aug 19, 2015
|
This is still broken in the latest beta2 for me. |
|
@mingfang (or @gabrielrcouto), what OS are you running and what GeoIP package did you installed. From what we know, this is working correctly for most people. |
tsg
added
the
feedback needed
label
Aug 19, 2015
mingfang
commented
Aug 19, 2015
|
I'm running my agent inside Docker https://github.com/mingfang/docker-packetbeat-agent I'm getting client_ip but no client_location. |
|
I looked at @mingfang's docker container. It installs the geoip-database package which contains the GeoLite Country database that will only return country names and not latitude/longitude values. The libbeat publisher requires that latitude and longitude be non-zero before it will insert the If you install the GeoLite City database then you should get latitude and longitude values and therefore have Try this in your container and you should start getting back locations.
We should update the project documentation to inform users they should use the GeoLite City database. The defaults in geolite.go should also be changed to point to GeoLiteCity.dat rather than GeoIP.data. |
mingfang
commented
Aug 20, 2015
|
Yes, it works! |
tsg
removed
the
feedback needed
label
Aug 20, 2015
|
Thanks @andrewkroh and @mingfang! I'll add this to the docs. |
gabrielrcouto
commented
Sep 15, 2015
|
Thank you very much @andrewkroh, I followed your instructions and now the location resolution is working on my Ubuntu Server installation. |



dginther commentedAug 8, 2014
used the deploy script with ansible, had to tinker a bit because of my own issues, but I am not getting any results in the traffic distribution or the hosts list. Can you advise why that might be? Thanks!