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!

Technical Workshop Series: Splunk Data Management and SPL2 | Register here!

Hey, Splunk Community! Ready to take your data management skills to the next level? Join us for a 3-part ...

Spotting Financial Fraud in the Haystack: A Guide to Behavioral Analytics with Splunk

In today's digital financial ecosystem, security teams face an unprecedented challenge. The sheer volume of ...

Solve Problems Faster with New, Smarter AI and Integrations in Splunk Observability

Solve Problems Faster with New, Smarter AI and Integrations in Splunk Observability As businesses scale ...