All Apps and Add-ons

Problems with Google Maps

fabiank
Engager

I want to create a Dashboard with three Columns
One chart, one table and a Google Map
Chart and table complete.
But my Problem i cant Create a Google Map on the same Dashboard
/app/search/dealboard#de-DE/app/search/mydashboard

    <dashboard>
  <label>dealboard</label>
  <label>Geographical Location of Visitors</label>
  <row>
    <chart>
            <searchString>my search</searchString>
            <earliestTime>0</earliestTime>
            <option name="charting.axisY.scale">linear</option>
            <option name="charting.axisX.scale">linear</option>
            <option name="charting.legend.placement">none</option>
            <option name="charting.legend.labelStyle.overflowMode">ellipsisMiddle</option>
            <option name="charting.chart.stackMode">default</option>
            <option name="charting.chart.nullValueMode">gaps</option>
            <option name="charting.chart.sliceCollapsingThreshold">0.01</option>
            <option name="charting.chart.style">shiny</option>
            <option name="charting.axisTitleX.visibility">visible</option>
            <option name="charting.axisTitleY.visibility">visible</option>
            <option name="charting.chart">column</option>
            <option name="charting.drilldown">all</option>
            <option name="charting.layout.splitSeries">0</option>
        </chart>
        <table>
          <searchString>my search</searchString>
          <earliestTime>0</earliestTime><latestTime>$latest$</latestTime>
          <option name="list.drilldown">full</option>
          <option name="list.wrap">1</option>
          <option name="maxLines">5</option>
          <option name="raw.drilldown">full</option>
          <option name="rowNumbers">false</option>
          <option name="table.drilldown">1</option>
          <option name="table.wrap">1</option>
          <option name="type">list</option>
          <option name="wrap">true</option>
          <option name="dataOverlayMode">none</option>
          <option name="drilldown">row</option>
          <option name="count">10</option>
        </table>
    </row>
  // here i try to add Google MAPS 
<module name="HiddenSavedSearch" layoutpanel="panel_row3_col1" autorun="true"> <param name="savedSearch">MY Google Map</param>
  <module name="GoogleMaps">
    <param name="height">700px</param>
    <param name="drilldown">true</param>
    <param name="drilldown_field">clientip</param>
    <param name="mapType">satellite</param>
    <param name="scrollwheel">off</param>
    <param name="zoomLevel">3</param>
    <param name="center">-11.867351, -167.695312</param>
  </module>
</module>
  // AND ITS FAIL, i cant see nothing :D
</dashboard>
0 Karma

martin_mueller
SplunkTrust
SplunkTrust

You're mixing SimpleXML (<row><chart>...) with AdvancedXML (<module name="foo"><param name="bar">...), that can't work.

Take the SimpleXML dashboard without any modules, convert to AdvancedXML, and add your map modules afterwards.

martin_mueller
SplunkTrust
SplunkTrust

When you open your dashboard you can append ?showsource=advanced to the URL to get an ugly but working conversion.

In the long run I'd rebuild the view using SideviewUtils from scratch if you're going to build on AdvancedXML.

0 Karma

fabiank
Engager

Thanks, can you explane how i can covert to AdvancedXML 🙂
<3

0 Karma
Get Updates on the Splunk Community!

Observability Unlocked: Kubernetes Monitoring with Splunk Observability Cloud

  Ready to master Kubernetes and cloud monitoring like the pros?Join Splunk’s Growth Engineering team for an ...

Wrapping Up Cybersecurity Awareness Month

October might be wrapping up, but for Splunk Education, cybersecurity awareness never goes out of season. ...

🌟 From Audit Chaos to Clarity: Welcoming Audit Trail v2

&#x1f5e3; You Spoke, We Listened  Audit Trail v2 wasn’t written in isolation—it was shaped by your voices.  In ...