I'm trying to get country codes in to the Choropleth map, but i'm a bit stuck.
I'm using the following search
index="someindex*" what=tagged | lookup geo_countries longitude as Longitude, latitude as Latitude | top limit=20 country_code | rename country_code to country | geom geo_countries featureIdField="country"
The output is as follows
How can I get the colors / numbers on the map with this set of data ?
With the following query i'm able to get the stats in the map. Though since you cannot change the bin scale only the US is colored, while the rest of the world maps stays white.
index="someindex*" what=tagged | stats count by country_code | rename country_code AS iso2 |lookup geo_attr_countries iso2 OUTPUT country | fields+ count, country, geom | geom geo_countries featureIdField="country"