Dashboards & Visualizations

Isit possible to display multiple panels in a split column on a dashboard?

AKG1_old1
Builder

Hi,

Is it possible to display dashboard panel in below fashion ?

alt text

niketn
Legend

@agoyal, the answer depends on which visualizations you want to show in your panels.

____________________________________________
| makeresults | eval message= "Happy Splunking!!!"
0 Karma

AKG1_old1
Builder

Panel 1 = Table (fetched from csv file)
Panel 2 = Few input fields
Panel 3 = chart

I can add content of Panel 2 and 3 in same panel. but wondering if there is another way for making it seprate.

0 Karma

niketn
Legend

Try the following run anywhere dashboard. Inputs can be added to Panel using Drag & Drop in Dashboard Edit mode. If you actually want to have three panels for your requirement, you will indeed need Simple XML CSS Extension or conversion to HTML Dashboard. So that you can customize layout as per your needs.

<form>
  <label>Panel Layout</label>
  <fieldset submitButton="false"></fieldset>
  <row>
    <panel>
      <table>
        <title>Table</title>
        <search>
          <query>index=_internal sourcetype=splunkd log_level="$tokLogLevel$"
| timechart count by log_level</query>
          <earliest>$tokTime.earliest$</earliest>
          <latest>$tokTime.latest$</latest>
          <sampleRatio>1</sampleRatio>
        </search>
        <option name="count">10</option>
        <option name="dataOverlayMode">none</option>
        <option name="drilldown">none</option>
        <option name="percentagesRow">false</option>
        <option name="refresh.display">progressbar</option>
        <option name="rowNumbers">false</option>
        <option name="totalsRow">false</option>
        <option name="wrap">true</option>
      </table>
    </panel>
    <panel>
      <input type="time" token="tokTime" searchWhenChanged="true">
        <label></label>
        <default>
          <earliest>-24h@h</earliest>
          <latest>now</latest>
        </default>
      </input>
      <input type="dropdown" token="tokLogLevel" searchWhenChanged="true">
        <label>Select Log Level</label>
        <choice value="*">All</choice>
        <choice value="INFO">INFO</choice>
        <choice value="WARN">WARN</choice>
        <choice value="ERROR">ERROR</choice>
        <choice value="FATAL">FATAL</choice>
        <default>*</default>
      </input>
      <chart>
        <title>Chart</title>
        <search>
          <query>index=_internal sourcetype=splunkd log_level="$tokLogLevel$"
| timechart count by log_level</query>
          <earliest>$tokTime.earliest$</earliest>
          <latest>$tokTime.latest$</latest>
          <sampleRatio>1</sampleRatio>
        </search>
        <option name="charting.chart.stackMode">stacked</option>
        <option name="charting.fieldColors">{"INFO":0x65A637,"WARN":0x6DB7C6,"ERROR":0xED8440,"FATAL":0xD93F3C}</option>
        <option name="refresh.display">progressbar</option>
      </chart>
    </panel>
  </row>
</form>
____________________________________________
| makeresults | eval message= "Happy Splunking!!!"
0 Karma

cmerriman
Super Champion

If you create two panels in the same row, yes.

<row>
<panel>
<chart/table...>
.......
</panel>
<panel>
<chart/table....>
.....
<chart/table....>
.....
</panel>
</row>

dowid
Engager

it's usfull but not exactly answering the question. The question was how to have 2 columns with second one divided to 2 rows. If I understand correctly it's not easy to do because Splunk dashboard is using Bootstrap grid to display dashboard rows. Do you know if any workaround exists for type of grid that described in the question?

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi agoyal,
it's possible only creating a custom CSS, not in Simple XML.
Bye.
Giuseppe

Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...