Dashboards & Visualizations

How to create a choropleth map using state abbreviations?

jcspigler2010
Path Finder

Does anyone know if/how you can create a choropleth map in Splunk using state abbreviations? I have been trying the following search but to no avail.

index=traffic sourcetype="traffic_logs" | stats count(id) | geom geo_us_states featureIdField=driver_state gen=0.1 min_x=-130.5 min_y=37.6 max_x=-130.1 max_y=37.7

smoir_splunk
Splunk Employee
Splunk Employee

I ended up editing my lookup to use the full state name. You could also use a lookup in the search to change the state name from the abbreviation to the full state name.

0 Karma
Get Updates on the Splunk Community!

Shape the Future of Splunk: Join the Product Research Lab!

Join the Splunk Product Research Lab and connect with us in the Slack channel #product-research-lab to get ...

Auto-Injector for Everything Else: Making OpenTelemetry Truly Universal

You might have seen Splunk’s recent announcement about donating the OpenTelemetry Injector to the ...

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...