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!

Strengthen Your Future: A Look Back at Splunk 10 Innovations and .conf25 Highlights!

The Big One: Splunk 10 is Here!  The moment many of you have been waiting for has arrived! We are thrilled to ...

Now Offering the AI Assistant Usage Dashboard in Cloud Monitoring Console

Today, we’re excited to announce the release of a brand new AI assistant usage dashboard in Cloud Monitoring ...

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

What are Community Office Hours? Community Office Hours is an interactive 60-minute Zoom series where ...