Dashboards & Visualizations

How do I apply only the dashboard in an iframe and how do I know what url address to use in Splunk 6.1.x?

kedjjang
Explorer

Is it possible to apply only the dashboard in an iframe?

splunk app:menu admin <<< app bar

search pivot report ... <<< app menu

dashboard <<<<<<<<<<<<< only area

footer <<< footer

Tags (3)
0 Karma

chimell
Motivator

In the 6.1 version
use this Advanced XML code for view dashboard to get what you want , this test work well

<view template="dashboard.html">
<label>My Dashboard</label>
<module name="AccountBar" layoutPanel="appHeader"/>
<module name="AppBar" layoutPanel="navigationHeader"/>
<module name="Message" layoutPanel="messaging">
<param name="filter">*</param>
<param name="clearOnJobDispatch">False</param>
<param name="maxSize">1</param>
</module>
<module name="HiddenSearch" layoutPanel="panel_row1_col1"
group="Messages per minute last hour" autoRun="True">
<param name="search">
search index=_internal eps group=per_source_thruput NOT
filetracker Metrics
| eval events=eps*kb/kbps | timechart sum(events)
</param>
<param name="earliest">-1h</param>
<module name="HiddenChartFormatter">
<param name="charting.chart">area</param>
<module name="ResultsHeader">
<param name="entityName">scanned</param>
<param name="entityLabel">Events</param>
<module name="FlashChart">
<param name="height">180px</param>
<param name="width">100%</param>
</module>
</module>
</module>
</module>
</view>

Test it in your splunk web and Tell me if it satisfy you ,

0 Karma

chimell
Motivator

Hi kedjjang
When you define dashboard by using Advanced xml for view you use this mean that you will obtain a template that display your dashboard. You also define the modules and parameters of your template.
Whereas when you use simple xml you display your dashboard in the splunk default template , you can not modify this template like you want.

0 Karma

kedjjang
Explorer

simplexml =>>> What can not be supported at all?

0 Karma

fdi01
Motivator

the link address part of the dashboard
click on area dashboard like below:alt text

after choose a dashboard , save it
alt text

in dashboard page home you click on your dashboard to open it into iframe or there you can define it as you wan.

0 Karma

chimell
Motivator

Hi kedjjang
The answer of your question is possible in splunk 6.2 .
If you use splunk 6.2 follow theses instructions
1. Install splunk 6.2 log in
2. In Explore Splunk Enterprise section Click on Close
3. In the set default dashboard panel click on area chart. You will see a circle .
4. Click on this circle , a box will appear with tittle choose Default Dashboard .
5. In the drop down choose the dashboard that you want it to be your default dashboard with area chart
6. Click on Save

You will see in your iframe app bar , app menu and dashboard only with area chart

Tell if it work like you want

0 Karma

kedjjang
Explorer

Thank you for answers.
But what a way to the 6.1.x version?

0 Karma

chimell
Motivator

in the 6.1.x version , you must use view by using advanced Xml code

0 Karma

kedjjang
Explorer

ok,,,, Do you know the Advanced XML can then list out the screen on the dashboard?

0 Karma
Get Updates on the Splunk Community!

Detecting Remote Code Executions With the Splunk Threat Research Team

REGISTER NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If ...

Observability | Use Synthetic Monitoring for Website Metadata Verification

If you are on Splunk Observability Cloud, you may already have Synthetic Monitoringin your observability ...

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...