All Apps and Add-ons

Google Maps - Customizing geo location bubble colors and numbers based on application criteria

mans6singh
New Member

Hi:

Is there a way to customize the geo location colors based on some application based criteria? Eg: number of requests from a geo location (lat1, lng2) during certain time ranges during a day - eg: 0-6 AM - yellow and 200 requests, 6-10 AM - green and 300 requests, and so forth on the same geo location.

Thanks.

Tags (1)
0 Karma
1 Solution

ziegfried
Influencer

This isn't possible. The colors seen are the marker images. The different colors (and sizes) represent different quantities of the events/results in this location. Applying colors based on criteria in your search won't work, because the locations are clustered (ie. depending on the zoom level, multiple nearby locations are "merged"). The next version of the Google Maps app will allow you to define the thresholds for the colors. Currently the hardcoded values are:

count<10=blue, count<100=yellow, count<1000=red, count<10000=pink, count>10000=purple

In the future there will be different overlay types for the maps module. Currently there is only the clustered view. I'm planning to add an overlay type that allows you to display custom markers, based on criteria in the search, but this won't be clustered. So it won't be possible to display more than ~800-1000 markers at once.

View solution in original post

ziegfried
Influencer

This isn't possible. The colors seen are the marker images. The different colors (and sizes) represent different quantities of the events/results in this location. Applying colors based on criteria in your search won't work, because the locations are clustered (ie. depending on the zoom level, multiple nearby locations are "merged"). The next version of the Google Maps app will allow you to define the thresholds for the colors. Currently the hardcoded values are:

count<10=blue, count<100=yellow, count<1000=red, count<10000=pink, count>10000=purple

In the future there will be different overlay types for the maps module. Currently there is only the clustered view. I'm planning to add an overlay type that allows you to display custom markers, based on criteria in the search, but this won't be clustered. So it won't be possible to display more than ~800-1000 markers at once.

mans6singh
New Member

Thanks Ziegfried.

0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...