Hi Community, my first time here…
I am looking for some help with the following scenario.
I have a variable ($ip) in a dashboard that will include one or more IPs denoting active login sessions. I plan to use Maxmind’s GeoLite2 API to retrieve the geo-location coordinates (lat, long) and plot it on the geo-map panel using JSON API as a datasource for Maxmind. Maxmind’s Geo-lite2 API only supports a single IP per API request to retrieve the geo-location of the IP. So, if my variable has multiple IPs, I will need to make multiple API calls per IP.
However, it seems like I am running into two challenges:
- I can only seem to access the first IP in the variable and using suggestions like ${ip.0}, ${ip.1} did not seem to work.
- It seems like I can only make a single API call per Query line in the the GeoMap panel configuration/settings and there isn’t an easy way to script and loop over all IPs in the variable and make the API request to Maxmind.
Please let me know if you need any more information. Thank you for your support in advance!

