Dashboards & Visualizations

How to make a multiple search??

ilove275
Path Finder

I made a dashboard that had a search function. Textfield , dropdown function is included.
But it doesn't work.
I want to search by 3 parameters.

After loading , search reference "index=tmsheader $level$ $AttackerIP$ $VictimIP$ | table A B C D levelsetting ALL * A A B b C C" have to work , but it is displayed "loading..."

<view autoCancelInterval="90" isVisible="true" objectMode="SimpleForm" onunloadCancelJobs="true" template="dashboard.html">
  <module name="HiddenSearch" layoutPanel="viewHeader">
    <param name="search">index=tms_header $level$ *$AttackerIP$* *$VictimIP$* | table A B C D/param>
    <module name="StaticSelect">
      <param name="settingToCreate">level_setting</param>
      <param name="staticFieldsToDisplay">
        <list>
            <param name="label">ALL</param>
            <param name="value">*</param>
        </list>
        <list>
            <param name="label">A</param>
            <param name="value">A</param>
        </list>
        <list>
            <param name="label">B</param>
            <param name="value">b</param>
        </list>
        <list>
            <param name="label">C</param>
            <param name="value">C</param>
        </list>

          </param>
          <param name="searchWhenChanged">True</param>
          <param name="selected">*</param>
          <param name="label">ABC :</param>
        <module name="ConvertToIntention">
            <param name="settingToConvert">level_setting</param>
            <param name="intention">
              <param name="name">stringreplace</param>
              <param name="arg">
                <param name="level">
                  <param name="default">*</param>
                  <param name="fillOnEmpty">True</param>
                  <param name="value">$target$</param>
                </param>
              </param>
            </param>
            <module name="ExtendedFieldSearch">
              <param name="replacementMap">
                <param name="arg">
                  <param name="AttackerIP"/>
                </param>
              </param>
              <param name="field">AttackerIP:</param>
              <param name="q">*</param>
              <param name="intention">
                <param name="name">stringreplace</param>
                <param name="arg">
                  <param name="AttackerIP">
                    <param name="fillOnEmpty">True</param>
                  </param>
                </param>
              </param>

            <module name="ExtendedFieldSearch">
              <param name="replacementMap">
                <param name="arg">
                  <param name="VictimIP"/>
                </param>
              </param>
              <param name="field">VictimIP:</param>
              <param name="q">*</param>
              <param name="intention">
                <param name="name">stringreplace</param>
                <param name="arg">
                  <param name="VictimIP">
                    <param name="fillOnEmpty">True</param>
                  </param>
                </param>
              </param>

              <module name="TimeRangePicker">
                <param name="searchWhenChanged">True</param>
                <module name="SubmitButton">
                  <param name="allowSoftSubmit">True</param>
                  <param name="label">Search</param>
                <module name="SubmitButton">
                  <param name="allowSoftSubmit">True</param>
                  <param name="label">Report</param>
                  <module name="Redirector">
                        <param name="popup">true</param>
                        <param name="url">http://100.100.100.100:8080/jsp/TEST/report.jsp</param>
                        <param name="arg.event">$click.fields.EVENT$</param>
                    </module>
                  <module name="JobStatus">

           <module name="FlashTimeline" layoutPanel="graphArea">
                            <param name="height">140px</param>
                            <param name="width">100%</param>
                            <module name="TitleBar" layoutPanel="viewHeader"/>
       </module>       
                  <module name="HiddenPostProcess" layoutPanel="panel_row2_col1" group="EVENT" autoRun="False">
                    <param name="search">
                      index=tms_header $level$ *$AttackerIP$* *$VictimIP$* | table A B C D
                    </param>
                    <param name="groupLabel">EVENT</param>
                    <module name="ViewstateAdapter">
                      <module name="HiddenFieldPicker">
                        <param name="strictMode">True</param>
                        <module name="JobProgressIndicator">
                          <module name="EnablePreview">
                            <param name="enable">True</param>
                            <param name="display">False</param>
                            <module name="HiddenChartFormatter">
                              <param name="charting.chart">bar</param>
                              <module name="FlashChart">
                              <param name="width">100%</param>
                                <module name="ConvertToDrilldownSearch">
                                  <module name="ViewRedirector">
                                    <param name="viewTarget">flashtimeline</param>
                                  </module>
                                </module>
                              </module>
                              <module name="ViewRedirectorLink">
                               <param name="viewTarget">flashtimeline</param>
                              </module>
                            </module>
                          </module>
                        </module>
                      </module>
                    </module>
                  </module>
                </module>
              </module>
            </module>
          </module>
        </module>
      </module>
    </module>
</module>


Tags (2)
1 Solution

RicoSuave
Builder

Save yourself the headaches and switch over to using Sideview utils app modules for form searches. It's a lot easier to code and opens up a whole new world of possibilities. Download the app and walk through all the examples. You won't have to deal with intentions anymore.

View solution in original post

RicoSuave
Builder

Save yourself the headaches and switch over to using Sideview utils app modules for form searches. It's a lot easier to code and opens up a whole new world of possibilities. Download the app and walk through all the examples. You won't have to deal with intentions anymore.

Get Updates on the Splunk Community!

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

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...