Dashboards & Visualizations

How to create multiple tab in a single dashboard using advanced XML?

Aakanksha
Path Finder

How to create multiple tab in a single dashboard using advanced XML?

I want to create a View with four tabs, each tab containing multiple charts and tables.

Also, Is it possible to put two different charts in single panel?

Tags (1)
0 Karma
1 Solution

Ayn
Legend

Have a look at the TabSwitcher module (http://docs.splunk.com/Documentation/Splunk/5.0.1/AdvancedDev/ModuleReference#TabSwitcher ).

As for putting different charts in a single panel, yes it is possible by using the same panel but different groups (for instance layoutPanel="panel_row2_col1_grp1", layoutPanel="panel_row2_col1_grp2" and so on).

View solution in original post

Ayn
Legend

Have a look at the TabSwitcher module (http://docs.splunk.com/Documentation/Splunk/5.0.1/AdvancedDev/ModuleReference#TabSwitcher ).

As for putting different charts in a single panel, yes it is possible by using the same panel but different groups (for instance layoutPanel="panel_row2_col1_grp1", layoutPanel="panel_row2_col1_grp2" and so on).

HattrickNZ
Motivator

hi @Ayn

I hope i am clear here so here goes:
I have the below panel, and what I want to do is add a tab so that I can 2 tabs, in total, and I can switch between, tab1 and tab2. The below panel is a chart but for example I would want tab2 to be a table for the same search. Can you advise based on your comment above?

 <panel>
      <chart>
        <title>usage_licence_wanttoAddTabsHere</title>
        <searchString>index=core host="snzclakl598" elementType=USN measInfoId=117490527 duration=PT1800S earliest=-1d@d latest=@d| eval limit2=if(userLabel=="SGSN02KPR",77777,if(userLabel=="USN01HAM",88888,"NULL")) | stats max(c117492014) as whatever max(limit2) as "whatever with a space" by userLabel</searchString>
        <earliestTime/>
        <latestTime/>
        <option name="charting.axisLabelsX.majorLabelStyle.overflowMode">ellipsisNone</option>
        <option name="charting.axisLabelsX.majorLabelStyle.rotation">0</option>
        <option name="charting.axisTitleX.visibility">visible</option>
        <option name="charting.axisTitleY.visibility">visible</option>
        <option name="charting.axisTitleY2.visibility">visible</option>
        <option name="charting.axisX.scale">linear</option>
        <option name="charting.axisY.scale">linear</option>
        <option name="charting.axisY2.enabled">0</option>
        <option name="charting.axisY2.scale">inherit</option>
        <option name="charting.chart">bar</option>
        <option name="charting.chart.nullValueMode">gaps</option>
        <option name="charting.chart.sliceCollapsingThreshold">0.01</option>
        <option name="charting.chart.stackMode">default</option>
        <option name="charting.chart.style">shiny</option>
        <option name="charting.drilldown">all</option>
        <option name="charting.layout.splitSeries">0</option>
        <option name="charting.legend.labelStyle.overflowMode">ellipsisMiddle</option>
        <option name="charting.legend.placement">right</option>
      </chart>
    </panel>
0 Karma
Get Updates on the Splunk Community!

CX Day is Coming!

Customer Experience (CX) Day is on October 7th!! We're so excited to bring back another day full of wonderful ...

Strengthen Your Future: A Look Back at Splunk 10 Innovations and .conf25 Highlights!

The Big One: Splunk 10 is Here!  The moment many of you have been waiting for has arrived! We are thrilled to ...

Now Offering the AI Assistant Usage Dashboard in Cloud Monitoring Console

Today, we’re excited to announce the release of a brand new AI assistant usage dashboard in Cloud Monitoring ...