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!

Demo Day: Strengthen Your SOC with Splunk Enterprise Security 8.1

Today’s threat landscape is more complex than ever. Security operation centers (SOCs) are overwhelmed with ...

Dashboards: Hiding charts while search is being executed and other uses for tokens

There are a couple of features of SimpleXML / Classic dashboards that can be used to enhance the user ...

Splunk Observability Cloud's AI Assistant in Action Series: Explaining Metrics and ...

This is the fourth post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how ...