Hi all,
I am looking for some help on my data structure as well as methods to get a more meaningful result on my my geomap in Grafana.
I am using powershell and node-red to scrape a website for server information. I am then taking those IP addresses I get from that process and running them through ipinfo.io to gain information about the specific IP addresses. (City, Region, Country, ISP, Lat, Lon)
I also have a basic ‘Total Players’ and ‘Total Servers’ and that is working perfectly. (it is being published on a separate _measurement.
The problem is the 1800 - 2400 servers I need to process. Originally I was attempting to post an 800kb table with every server in it. Item in the massive table consisted of the following structure. (its in JSON cause that is how node-Red shows it)
payload: {
Name: “REDACTED”
Description: “REDACTED”
IP: “REDACTED”
Port: “REDACTED”
Players: REDACTED
MaxPlayers: REDACTED
DCSVersion: “2.9.5.55918”
Lat: 45.3134
Lon: -73.8725
City: “Beauharnois”
Region: “Quebec”
Country: “CA”
ISP: “AS16276 OVH SAS”
TimeZone: “America/Toronto”
Postal: “J6N”
TimeStamp: 1720005068236
}
measurement: “SERVER STATS”
The Measurement is the same for every server as there isn’t really anything static about the information here, technically anything can potentially change. I since changed it from dumping an entire massive table to a single table (server) per post. Using the same “SERVER STATS” measurement.
What I am trying to work out is why I cant seem to get any locations to show on the map with the name of the server when i do a mouse over the point.
I want there to be another option to see players per server on the map as well but at this stage i would just settle for anything showing up on the map.
Any help is appreciated.
I am just starting out so we can change the data structure to anything you want. But I need to be able to attribute each server to a Lat Lon, City, Player number etc etc.
My DiscordID is OzDeaDMeaT if you are able to assist. Thanks again for reading this far.