Coder Social home page Coder Social logo

Geo *_IP_LOCATION in Elasticsearch about nprobe HOT 5 CLOSED

ntop avatar ntop commented on August 14, 2024
Geo *_IP_LOCATION in Elasticsearch

from nprobe.

Comments (5)

lucaderi avatar lucaderi commented on August 14, 2024

In nProbe you have
[NFv9 57573][IPFIX 35632.101] %SRC_IP_COUNTRY Country where the src IP is located
[NFv9 57574][IPFIX 35632.102] %SRC_IP_CITY City where the src IP is located
[NFv9 57575][IPFIX 35632.103] %DST_IP_COUNTRY Country where the dst IP is located
[NFv9 57576][IPFIX 35632.104] %DST_IP_CITY City where the dst IP is located
that are the equivalent for nProbe

Furthermore in nProbe you need to do something like this we do for ntopng
https://github.com/ntop/ntopng/blob/dev/httpdocs/misc/ntopng_template_elk.json

This said I do not understand what you mean with "is possible to display location on Geo Map but there is no data in ES".

from nprobe.

lzalewsk avatar lzalewsk commented on August 14, 2024

Longitide and Lattitude are missing in export/
There is no data to map to geo_point so there is no possible to draw data on map.
Country and City are usefull but not enought/

from nprobe.

ValentinaViscarelli avatar ValentinaViscarelli commented on August 14, 2024

I added the export of longitude and latitude.
Now you have:

[NFv9 57920][IPFIX 35632.448] %SRC_IP_LONG Longitude where the src IP is located
[NFv9 57921][IPFIX 35632.449] %SRC_IP_LAT Latitude where the src IP is located
[NFv9 57922][IPFIX 35632.450] %DST_IP_LONG Longitude where the dst IP is located
[NFv9 57923][IPFIX 35632.451] %DST_IP_LAT Latitude where the dst IP is located

Overnight a new release will be built. You will be able to find them in new release.

from nprobe.

lzalewsk avatar lzalewsk commented on August 14, 2024

HI,
I confirme that location data are now exported but why you decided to split location on two fileds Long &Lat? In ntopng Location are exported like this:

    "SRC_IP_COUNTRY": "PL",
    "SRC_IP_LOCATION": [
      21,
      52.25
    ],
    "DST_IP_COUNTRY": "PL",
    "DST_IP_LOCATION": [
      21,
      52.25
    ]

From ES perspetive it is better format to carry out positioning on the Map using geo_point.
So to maintain consistancy between ntopng and nprobe I think that geo_point format is better.

from nprobe.

simonemainardi avatar simonemainardi commented on August 14, 2024

@ValentinaViscarelli do you think we should add an index template like in ntopng?

https://github.com/ntop/ntopng/blob/dev/src/Redis.cpp#L1186
https://github.com/ntop/ntopng/blob/aafac73593c49ae3b22fd47c13e9b96b4b45975b/httpdocs/misc/ntopng_template_elk.json

from nprobe.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.