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
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> replaced by <view>
Thanks for your help.
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> replaced by <view>
Thanks for your help.
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>
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
Sounds like you have a bigger issue. Particularly in python somewhere.
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
I have tried with giving single name like kpidashboard and match also same but also no luck.
No luck after adding match="KPI_dashboard".