Hey quick question,
I currently have extracted from my data a list of states (USA) and counts for each state. (ie AZ - 32, CA - 94, CO - 12, etc)
Is there any way to display this information using Splunk's geo-mapping feature?
Ideally I want to get something that looks like this:
Thanks for the help!
Splunk 6.3 introduced Choropleth maps, which produce the map similar to the one shown above. See the Splunk user documentation or this blog post for more details
Not exactly. The geostats command uses latitude and longitude to calculate statistics (including a count). But it doesn't know about geopolitical boundaries (like states) and it doesn't use color in the same way as your example.
That said, if you could supply a lat/lon for each state, you could use geostats. A lookup table might be a good way to provide the lat/lon.
OR, if you have the skills, you could probably use Splunk's ability to leverage javascript to do something amazing.
I'm dealing with the same thing - going to try a lookup, using these:
This might be adaptable for US states: https://apps.splunk.com/app/729/
That's too bad. Are there any apps that have this ability? I've made cloropleths in Google Maps before, so I have the XML for the boundaries of the states.
There is a Google Maps app. I'd poke around in the apps and see what you can find. After all, most are free to download and you can look at how they work!
In addition, I suggest these apps if you want to see how to do some fancy stuff and how to integrate javascript:
and the Google Maps app - although I don't think it will help much, it might...