Dashboards & Visualizations

New Dashboard Not showing up in my views navigation

I-Man
Communicator

I have code that displays a google map of successful vpn connections into our org. Currently, I can only access this dashboard/view by physcially typing in the URL as the name isn't showing up under the Views dropdown. XML noob here, what do i add so it's pulled under the View Dropdown in the search app?

<view template="dashboard.html">
<label>Successful VPN Connection Source Locations</label>
<module name="TitleBar" layoutPanel="viewHeader">
    <param name="actionsMenuFilter">dashboard</param>
</module>
<module name="GenericHeader" layoutPanel="panel_row1_col1" autoRun="True">
    <param name="label">Geographical Location</param>
    <module name="HiddenSearch" group="Map View" autoRun="True" layout_panel="panel_row1_col1">
        <param name="search">"assigned to session" "REMACC-VPN" OR "VPNCLIENTS" earliest=-1d@d latest=@d | convert ctime(_time) as timestamp | table timestamp vpn_user vpn_assigned_ip vpn_external_ip | lookup geoip clientip as vpn_external_ip | geonormalize</param>
        <module name="GoogleMaps">
            <param name="autoPostProcess">false</param>
            <param name="height">950px</param>
            <param name="mapType">terrain</param>
            <param name="mapTypeControl">on</param>
            <param name="navigationControl">on</param>
            <param name="scaleControl">on</param>
            <param name="scrollwheel">off</param>
            <param name="zoomLevel">3</param>
        </module>
    </module>
</module>

Thanks,
I-man

Tags (1)
0 Karma
1 Solution

_d_
Splunk Employee
Splunk Employee

Hi I-Man,
When in Search app, go to Manager | User Interface | Navigation Menus | default and locate a collection that starts with <collection label="Views"> and add an item that contains your view. Something like this:

<collection label="Views">
<view name="your_view_name"/>
<collection/>

Hope this helps.
d.

View solution in original post

_d_
Splunk Employee
Splunk Employee

Hi I-Man,
When in Search app, go to Manager | User Interface | Navigation Menus | default and locate a collection that starts with <collection label="Views"> and add an item that contains your view. Something like this:

<collection label="Views">
<view name="your_view_name"/>
<collection/>

Hope this helps.
d.

Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...