Splunk Cloud Platform

Dashboards and Visualizations with Simple XML

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.

  1. Navigate to the Datasets page of the California Open Data Portal.
  2. Locate the .kmz file of California county boundaries using one of the two following approaches:
    1. Enter California Counties in the search bar.
    2. Narrow your search using the following selections:
      Field in Dataset Search page Values
      Topics Economy and Demographics
      Format kml
  3. Select the file entitled California Counties and download the .kmz file.
  4. Rename the downloaded file to ca_counties.kmz.

Next step

Create a new geospatial lookup

Last modified on 01 August, 2019
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.2201, 8.2.2202, 9.0.2205, 8.2.2203, 9.0.2208, 9.0.2209, 9.0.2303, 9.0.2305, 9.1.2308 (latest FedRAMP release), 9.1.2312, 9.2.2403

Was this topic useful?

You must be logged into splunk.com in order to post comments. Log in now.

Please try to keep this discussion focused on the content covered in this documentation topic. If you have a more general question about Splunk functionality or are experiencing a difficulty with Splunk, consider posting a question to Splunkbase Answers.

0 out of 1000 Characters