Dashboards & Visualizations

Put multiple forms on a single dashboard.

essklau
Path Finder

Hello,

Can I put multiple cascading forms on a single dashboard?

Thanks you.

Tags (1)
0 Karma

stephanefotso
Motivator

yes you can put multiple cascading forms on a single dashboard. Here is one example.

<form>
  <label>Multiple Cascading Forms</label>
  <description>Example of placing form elements within a panel.</description>
  <row>

    <panel>
      <input type="dropdown" token="username">
      <default>*</default>
      <choice value="*">All</choice>
      <populatingSearch fieldForValue="user" fieldForLabel="user" earliest="-24h" latest="now">
        <![CDATA[index=_internal | stats count by user]]>
      </populatingSearch>
      </input>
    <input type="radio" token="source">
      <default>*</default>
      <choice value="*">All</choice>
      <populatingSearch fieldForValue="sourcetype" fieldForLabel="sourcetype" earliest="-24h" latest="now">
        <![CDATA[index=_internal user=$username$| stats count by sourcetype]]>
      </populatingSearch>
    </input>
      <table>
        <title>Table of events</title>
        <searchString>index=_internal user=$username$ sourcetype=$source$ | head 100 | table _time, user, sourcetype</searchString>
        <earliestTime>-24h@h</earliestTime>
        <latestTime>now</latestTime>
      </table>
    </panel>
      <panel>
      <input type="dropdown" token="sourcetype1" searchWhenChanged="true">
        <label>Source types for _Internal All</label>
        <choice value="*">All</choice>
        <choice value="splunkd">splunkd</choice>
        <choice value="splunk_web_access">splunk_web_access</choice>
        <default>splunkd</default>
      </input>
      <chart>
        <title>_Internal All</title>
        <searchString>index=_internal sourcetype="$sourcetype1$" | timechart count</searchString>
        <earliestTime>-4h@h</earliestTime>
        <latestTime>now</latestTime>
        <option name="charting.chart">line</option>
        <option name="charting.legend.placement">none</option>
      </chart>
    </panel>
  </row>


</form>
SGF
0 Karma
Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...