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!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...