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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Quantify Your Splunk Investment Impact: Introducing Savings Metrics to Value Insights

Building on the foundation established in our initial Value Insights releases, we are introducing the Savings ...

Event Series: Telemetry Pipeline Management

Balancing Scale and Spend: Gaining Control Over High-Volume Metrics in Splunk Observability Cloud As ...

Kick the Tires Before You Commit: A Hands-On Tour of the Splunk Observability Cloud ...

Evaluating an enterprise observability platform usually goes like this: fill out a form, get a free trial with ...