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!

Splunk + ThousandEyes: Correlate frontend, app, and network data to troubleshoot ...

 Are you tired of troubleshooting delays caused by siloed frontend, application, and network data? We've got a ...

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

🔐 Trust at Every Hop: How mTLS in Splunk Enterprise 10.0 Makes Security Simpler

From Idea to Implementation: Why Splunk Built mTLS into Splunk Enterprise 10.0  mTLS wasn’t just a checkbox ...