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 Platform™: 8.2.2112, 8.2.2202, 8.2.2203, 8.2.2201, 9.0.2205, 9.0.2208, 9.0.2209, 9.0.2303, 9.0.2305 (latest FedRAMP release), 9.1.2308