Splunk Search

How to get started with making a choropleth map using data within a CSV file?

dsiob
Communicator

I went through documentation but not able to relate with my requirement. If someone is already in practice with maps, any tips will be helpful.

Problem Description:
I have a .csv file which have product data including name of US state (eg: California). So each row represents product details including state name, they belong to.
I have to achieve following:
1.) Create a US map, showing states
2.) Showing count of products over each state, they belongs to.
The .csv file can only have state name, it can't have Latitude/altitude or ip information of states.
If any .KMZ or any other lookup file required, pls provide some way to create/get it.

0 Karma
1 Solution

cmerriman
Super Champion

you could put this table into a csv and use it as a lookup table against yours by joining the states together, perhaps. that'll give you a lat/long to work with.

https://inkplant.com/code/state-latitudes-longitudes

View solution in original post

0 Karma

cmerriman
Super Champion

you could put this table into a csv and use it as a lookup table against yours by joining the states together, perhaps. that'll give you a lat/long to work with.

https://inkplant.com/code/state-latitudes-longitudes

0 Karma

cmerriman
Super Champion

did this work for what you needed? if so, could you please accept the answer to finish the question?

0 Karma

dsiob
Communicator

thanks @cmerriman it worked out..sorry for delay

0 Karma
Get Updates on the Splunk Community!

Advanced Splunk Data Management Strategies

Join us on Wednesday, May 14, 2025, at 11 AM PDT / 2 PM EDT for an exclusive Tech Talk that delves into ...

Uncovering Multi-Account Fraud with Splunk Banking Analytics

Last month, I met with a Senior Fraud Analyst at a nationally recognized bank to discuss their recent success ...

Secure Your Future: A Deep Dive into the Compliance and Security Enhancements for the ...

What has been announced?  In the blog, “Preparing your Splunk Environment for OpensSSL3,”we announced the ...