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
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 ...