Dashboards & Visualizations

Why am I not getting Dashboard in my custom navigation menu bar?

gajananh999
Contributor

Hello All,

I want to create the custom navigation. Below is the structure.

- KPI
        - KPI Dashboards
        - KPI Reports
        - Match KPI
- Uptime
        - Uptime Dashboards
        - Uptime Reports
        - Match Uptime 

- Capacity Planning 
        - Capacity  Dashboards
        - Capacity  Reports
        - Match Capacity  

I have created a view with the following details:

<collection label="Service Management">
    <collection label="KPI">
                    <collection label="KPI Dashboards">
                            <saved source="unclassified" match="KPI dashboard" />
                    </collection>
                    <collection label="KPI Reports">
                            <saved source="unclassified" match="KPI report" />
                    </collection>
                    <collection label="Match KPI">
                            <saved source="unclassified" match="KPI" />
                    </collection>
    </collection>
            <divider />
         <collection label="Uptime">
                    <collection label="Uptime Dashboards">
                            <saved source="unclassified" match="Uptime dashboard" />
                    </collection>
                    <collection label="Uptime Reports">
                            <saved source="unclassified" match="Uptime report" />
                    </collection>
                    <collection label="Match Uptime">
                            <saved source="unclassified" match="Uptime" />
                    </collection>
    </collection>
            <divider />
             <collection label="Capacity Planning">
                    <collection label="Capacity Dashboards">
                            <saved source="unclassified" match="Capacity dashboard" />
                    </collection>
                    <collection label="Capacity Reports">
                            <saved source="unclassified" match="Capacity report" />
                    </collection>
                    <collection label="Match Capacity">
                            <saved source="unclassified" match="Capacity" />
                    </collection>
    </collection>
            <divider />
     </collection>

This is only categorizing searches, not the dashboard.

I have created 3 dashboards with the names:
1. KPI Dashboard : Overview of KPI
2. Uptime Dashboard : Overview of Uptime
3. Capacity Dashboard : Overview of Capacity planning

But I am not getting Dashboard in the KPI dashboard, Uptime dashboard, and Capacity dashboard Menu bars.

Please help me out to get this.

Thanks
Gajanan Hiroji

0 Karma
1 Solution

gajananh999
Contributor

Hey Alacer,

We have resolved it. There was a small mistake we have done.
<collection label="KPI Dashboards" >
<view source="unclassified" match="KPI_dashboard" />
</collection>

<Saved&gt replaced by <view>

Thanks for your help.

View solution in original post

gajananh999
Contributor

Hey Alacer,

We have resolved it. There was a small mistake we have done.
<collection label="KPI Dashboards" >
<view source="unclassified" match="KPI_dashboard" />
</collection>

<Saved&gt replaced by <view>

Thanks for your help.

alacercogitatus
SplunkTrust
SplunkTrust

Dashboard "names" do not contain spaces. So your matching must also have the underscores (_) in the name in order to match correctly.

For example, try this (and don't forget to hit the debug endpoint https:///en-US/debug/refresh after you change the file.)

                 <collection label="KPI Dashboards">
                         <saved source="unclassified" match="KPI_dashboard" />
                 </collection>
0 Karma

gajananh999
Contributor

Hey Alacercog,

Thanks for your reply , I have changed the xml file and when i do https://splunk-4:8000/en-US/debug/refresh

I am getting following error.
500 Internal Server Error

Return to Splunk home page

TypeError: string indices must be integers, not str

0 Karma

alacercogitatus
SplunkTrust
SplunkTrust

Sounds like you have a bigger issue. Particularly in python somewhere.

0 Karma

gajananh999
Contributor

Hey I tried doing this but no luck. I got https:///en-US/debug/refresh working but no luck after that also.

I am missing anything here

<view name="flashtimeline" default='true' />
<collection label="Service Management">
    <collection label="KPI">
        <collection label="KPI Dashboards">
            <saved source="unclassified" match="kpi_dashboard" />
        </collection>
    </collection>
    <divider />

And Dashboard name kpi dashboard testing so the ID of the dashboard will be kpi_dashboard_testing but also it is not coming.

Please help me out.

Thanks
Gajanan Hiroji

0 Karma

gajananh999
Contributor

I have tried with giving single name like kpidashboard and match also same but also no luck.

0 Karma

gajananh999
Contributor

No luck after adding match="KPI_dashboard".

0 Karma
Get Updates on the Splunk Community!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...