Dashboards & Visualizations

Customized Text Selection Dashboard

Path Finder

I have multi input text selection scenerio. the text input is comma seperated input(thanks to @niketnilay).
1- initially I dont want to load any search query OR text value output OR you can say that once I paste input and click on submit button then search stats.
2- once I put comma seperated input to any box ( URL OR MD5 OR SHA) then the search panal appear and show me the results and other one should disapear. ---------ONE INPUT AT ONE TIME------------------
Further to that each requested value is in different index. e.g. URL in index=proxy , MD5 in index=antivirus and so on.

I have done some work. but both search windows apprear. one window with default time shows all results and other with input also search and shows the results.
below is my updated code.

  <label>test dashboard_tokens</label>
  <description>Include a multiselect input.</description>
  <!-- Independent search to set the required filter from comma separated value in text box -->
  <!-- For example: www.abc.com,www.xyz.com,www.aaa.com converts to src_ip IN ("www.abc.com","www.xyz.com","www.aaa.com") -->
    <query>| makeresults
  | fields - _time
  | eval iocFilter=$ioc1|s$
  | eval md5Filter=$md5|s$
  | eval iocFilter="url IN (\"".replace(iocFilter,",","\",\"")."\")"
  | eval md5Filter="process_md5 IN (\"".replace(md5Filter,",","\",\"")."\")"
      <set token="tokIOCFilter">$result.iocFilter$</set>
      <set token="tokmd5Filter">$result.md5Filter$</set>
  <fieldset autoRun="true" submitButton="true">
    <input type="text" token="ioc1" searchWhenChanged="true">
    <input type="text" token="md5" searchWhenChanged="true">
    <input type="time" token="field1">
    <panel depends="$ioc1$">
      <title>tokIOCFilter: $tokIOCFilter$</title>
          <query>index=proxy $tokIOCFilter$</query>

        <option name="refresh.display">progressbar</option>
        <option name="maxLines">5</option>
    <panel depends="$md5$">
      <title>tokmd5Filter: $tokmd5Filter$</title>
          <query> index=edr $tokmd5Filter$ </query>

        <option name="refresh.display">progressbar</option>
Tags (1)
0 Karma
Get Updates on the Splunk Community!

How I Instrumented a Rust Application Without Knowing Rust

As a technical writer, I often have to edit or create code snippets for Splunk's distributions of ...

Splunk Community Platform Survey

Hey Splunk Community, Starting today, the community platform may prompt you to participate in a survey. The ...

Observability Highlights | November 2022 Newsletter

 November 2022Observability CloudEnd Of Support Extension for SignalFx Smart AgentSplunk is extending the End ...