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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...