Dashboards & Visualizations

Tab switcher module

appleman
Contributor

Hello,

I just started to learn Advanced XML, and am trying to use Tab Swithcer module.
Can anybody help me with the child module please?
Here is my module.

<view autoCancelInterval="90" isVisible="true" objectMode="SimpleForm" onunloadCancelJobs="true" template="dashboard.html">
  <label>Summary</label>
  <module name="AccountBar" layoutPanel="appHeader"/>
  <module name="AppBar" layoutPanel="navigationHeader"/>
  <module name="Message" layoutPanel="messaging">
    <param name="filter">*</param>
    <param name="maxSize">1</param>
    <param name="clearOnJobDispatch">False</param>
  </module>
  <module name="Message" layoutPanel="messaging">
    <param name="filter">splunk.search.job</param>
    <param name="maxSize">1</param>
    <param name="clearOnJobDispatch">True</param>
  </module>
  <module name="TitleBar" layoutPanel="viewHeader">
    <param name="actionsMenuFilter">dashboard</param>
  </module>
 <module name="PulldownSwitcher" layoutPanel="panel_row1_col1" group="Switchers">
    <param name="mode">independent</param>
     <param name="label">Select Host:</param>
  </module>
 <module name="LinkSwitcher" layoutPanel="panel_row2_col1" group="Link Switcher">
    <param name="mode">independent</param>
     <param name="label"></param>
  </module>

        <module name="HiddenSearch" group="Sourcetype" autoRun="False">
          <param name="latest">now</param>
          <param name="groupLabel">Sourcetype</param>
          <param name="search">| metadata type=sourcetypes
| rename totalCount as Count recentTime as "Last Update"
| table sourcetype Count "Last Update" 
| fieldformat Count=tostring(Count, "commas") 
| fieldformat "Last Update"=strftime('Last Update', "%c")
</param>
          <param name="earliest">-7d@d</param>
          <module name="ViewstateAdapter">
            <param name="suppressionList">
              <item>count</item>
              <item>displayRowNumbers</item>
            </param>
            <module name="HiddenFieldPicker">
              <param name="strictMode">True</param>
              <module name="JobProgressIndicator"/>
              <module name="Paginator">
                <param name="count">10</param>
                <param name="entityName">results</param>
                <module name="EnablePreview">
                  <param name="display">False</param>
                  <param name="enable">True</param>
                  <module name="SimpleResultsTable">
                    <param name="drilldown">all</param>
                    <param name="entityName">results</param>
                    <param name="displayRowNumbers">true</param>
                    <param name="count">10</param>
                    <param name="allowTransformedFieldSelect">True</param>
                    <module name="Gimp"/>
                    <module name="SimpleDrilldown">
                      <param name="links">
                        <param name="sourcetype"> /app/search_app/flashtimeline/?q=search%20sourcetype=$row.sourcetype$
        </param>
                      </param>
                    </module>
                  </module>
                  <module name="ViewRedirectorLink">
                    <param name="viewTarget">flashtimeline</param>
                  </module>
                </module>
              </module>
            </module>
          </module>
        </module>
        <module name="HiddenSearch" group="Host" autoRun="False">
          <param name="latest">now</param>
          <param name="groupLabel">Host</param>
          <param name="search">| metadata type=hosts
| rename totalCount as Count recentTime as "Last Update"
| table host Count "Last Update" 
| fieldformat Count=tostring(Count, "commas") 
| fieldformat "Last Update"=strftime('Last Update', "%c")
      </param>
          <param name="earliest">-7d@d</param>
          <module name="ViewstateAdapter">
            <param name="suppressionList">
              <item>count</item>
              <item>displayRowNumbers</item>
            </param>
            <module name="HiddenFieldPicker">
              <param name="strictMode">True</param>
              <module name="JobProgressIndicator"/>
              <module name="Paginator">
                <param name="count">10</param>
                <param name="entityName">results</param>
                <module name="EnablePreview">
                  <param name="display">False</param>
                  <param name="enable">True</param>
                  <module name="SimpleResultsTable">
                    <param name="drilldown">all</param>
                    <param name="entityName">results</param>
                    <param name="displayRowNumbers">true</param>
                    <param name="count">10</param>
                    <param name="allowTransformedFieldSelect">True</param>
                    <module name="Gimp"/>
                    <module name="SimpleDrilldown">
                      <param name="links">
                        <param name="host"> /app/search_app/flashtimeline/?q=search%20host=$row.host$
        </param>
                      </param>
                    </module>
                  </module>
                  <module name="ViewRedirectorLink">
                    <param name="viewTarget">flashtimeline</param>
                  </module>
                </module>
              </module>
            </module>
          </module>
        </module>
        <module name="HiddenSearch" group="Source" autoRun="False">
          <param name="latest">now</param>
          <param name="groupLabel">Source</param>
          <param name="search">| metadata type=sources 
| rename totalCount as Count recentTime as "Last Update"
| table source Count "Last Update" 
| fieldformat Count=tostring(Count, "commas") 
| fieldformat "Last Update"=strftime('Last Update', "%c")
</param>
          <param name="earliest">-7d@d</param>
          <module name="ViewstateAdapter">
            <param name="suppressionList">
              <item>count</item>
              <item>displayRowNumbers</item>
            </param>
            <module name="HiddenFieldPicker">
              <param name="strictMode">True</param>
              <module name="JobProgressIndicator"/>
              <module name="Paginator">
                <param name="count">10</param>
                <param name="entityName">results</param>
                <module name="EnablePreview">
                  <param name="display">False</param>
                  <param name="enable">True</param>
                  <module name="SimpleResultsTable">
                    <param name="drilldown">all</param>
                    <param name="entityName">results</param>
                    <param name="displayRowNumbers">true</param>
                    <param name="count">10</param>
                    <param name="allowTransformedFieldSelect">True</param>
                    <module name="Gimp"/>
                    <module name="SimpleDrilldown">
                      <param name="links">
                        <param name="source"> /app/search_app/flashtimeline/?q=search%20source=$row.source$
        </param>
                      </param>
                    </module>
                  </module>
                  <module name="ViewRedirectorLink">
                    <param name="viewTarget">flashtimeline</param>
                  </module>
                </module>
              </module>
            </module>
          </module>
        </module>
</view>
0 Karma
1 Solution

appleman
Contributor

check google maps app as an example.

View solution in original post

0 Karma

appleman
Contributor

check google maps app as an example.

0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...