All Apps and Add-ons

How to stop Google Maps clustering?

ehinton
Engager

Hi,
I am using Google Maps and I want to display something other than a count on the map (eg. a percentage as an integer). I have done this using the xml below.

<module name="HiddenSearch" layoutPanel="panel_row1_col1" group="Display percentages on map" autoRun="true">
  <param name="search">source=*
   | lookup locations code  OUTPUT latlong
   | search latlong=*
   | eval _geo=latlong
   | stats count(eval(eventfailed="p")) as passes, count(eval(eventfailed="f")) as failures by _geo
   | eval _geo_count=round((100*failures)/(passes+failures))   
  </param>

  <module name="HiddenChartFormatter">
    <module name="GoogleMaps"> 
          <param name="center">34.67,-104.86</param>
          <param name="zoomLevel">5</param>
          <param name="height">400px</param>
          <param name="mapType">roadmap</param>
          <param name="overlay">clusters</param>
          <param name="scrollwheel">off</param>
          <param name="autoPostProcess">false</param>
    </module>
  </module>
</module>

However, the map aggregates the percentages from more than one location. Is there any way to turn off this aggregation? Alternatively, can the aggregation be done in a different way to summing the numbers from each location?
Thanks

ziegfried
Influencer

Unfortunately this is not possible at the moment. Clustering cannot be disabled in the current version. There will be a new version where it can be turned off, but that might take some time.

0 Karma

MHibbin
Influencer

@ziegfried,

Has there been any update on your roadmapping for the Google Maps app?

Thanks in advance, and thanks for the the wonderful App!

0 Karma
Get Updates on the Splunk Community!

Modern way of developing distributed application using OTel

Recently, I had the opportunity to work on a complex microservice using Spring boot and Quarkus to develop a ...

Enterprise Security Content Update (ESCU) | New Releases

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

Archived Metrics Now Available for APAC and EMEA realms

We’re excited to announce the launch of Archived Metrics in Splunk Infrastructure Monitoring for our customers ...