Download a California counties shapefile
To generate a choropleth map in Splunk Web, you need a geographic feature collection file, also known as a shapefile or Keyhole Markup Language/Keyhole Markup Zipped (KML/KMZ) file, that provides geographic boundaries that match the spatial granularity of your data. This tutorial uses county-level drought data in California, so you need a feature collection that divides California into counties. You can download this file from the CA.gov California Open Data Portal.
Most US, city, and state-level government websites have Geospatial Information Systems (GIS) data portals where you can download geographic reference maps. Other sites with useful geographic reference maps include the US Census Bureau Cartographic Boundary Files site and the USGS The National Map Data Download site.
Follow these steps to download the appropriate geographic feature collection. Alternatively, download the ca_counties.kmz.zip file directly.
- Navigate to the Datasets page of the California Open Data Portal.
- Locate the .kmz file of California county boundaries using one of the two following approaches:
California Countiesin the search bar.
- Narrow your search using the following selections:
Field in Dataset Search page Values Topics Economy and Demographics Format kml
- Select the file entitled California Counties and download the .kmz file.
- Rename the downloaded file to
Upload and configure your data
Create a new geospatial lookup
This documentation applies to the following versions of Splunk Cloud™: 7.0.13, 8.1.2103, 8.1.2008, 8.1.2011, 7.2.4, 7.2.6, 7.2.7, 7.2.8, 7.2.9, 7.2.10, 8.0.2006, 8.0.2007, 8.1.2009, 8.1.2012 (latest FedRAMP release), 8.1.2101