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!

Streamline Data Ingestion With Deployment Server Essentials

REGISTER NOW!Every day the list of sources Admins are responsible for gets bigger and bigger, often making the ...

Remediate Threats Faster and Simplify Investigations With Splunk Enterprise Security ...

REGISTER NOW!Join us for a Tech Talk around our latest release of Splunk Enterprise Security 7.2! We’ll walk ...

Introduction to Splunk AI

WATCH NOWHow are you using AI in Splunk? Whether you see AI as a threat or opportunity, AI is here to stay. ...