Dashboards & Visualizations

How do I make the domain entity to be multiselect with two token?

nithys
Path Finder

how do i make the domain entity to be multiselect with value1: material,value 2:sm,value 3:all

then my inputToken &outputtoken are different for each data entity selection,,,how can i pass two token if used in multiselect to two different search query

<row>
<panel>
<input type="dropdown" token="tokEnvironment" searchWhenChanged="true">
<label>Domain</label>
<choice value="goodsdevelopment">goodsdevelopment</choice>
<choice value="materialdomain">materialdomain</choice>
<choice value="costsummary">costsummary</choice>
<change>
<unset token="tokSystem"></unset>
<unset token="form.tokSystem"></unset>
</change>
<default></default>
</input>

<input type="dropdown" token="tokSystem" searchWhenChanged="true">

        <label>Domain Entity</label>

        <fieldForLabel>$tokEnvironment$</fieldForLabel>

        <fieldForValue>$tokEnvironment$</fieldForValue>

        <search>

          <query>| makeresults

 

| eval goodsdevelopment="airbag",materialdomain="material,sm",costsummary="costing"</query>

        </search>

        <change>

          <condition match="$label$==&quot;airbag&quot;">

            <set token="inputToken">airbagSizeScheduling</set>

            <set token="outputToken">goodsdevelopment</set>

          </condition>

          <condition match="$label$==&quot;costing&quot;">

            <set token="inputToken">costSummary</set>

            <set token="outputToken">costing</set>

          </condition>

          <condition match="$label$==&quot;material&quot;">

            <set token="inputToken">material</set>

            <set token="outputToken">md</set>

          </condition>

        </change>

      </input>

Screenshot 2023-09-19 at 9.17.33 PM.png

Labels (2)
0 Karma
1 Solution

nithys
Path Finder

@niketn 

how do i make the domain entity to be multiselect with value1: material,value 2:sm,value 3:all

then my inputToken &outputtoken are different for each data entity selection,,,how can i pass two token if used in multiselect to two different search query

<row>
<panel>
<input type="dropdown" token="tokEnvironment" searchWhenChanged="true">
<label>Domain</label>
<choice value="goodsdevelopment">goodsdevelopment</choice>
<choice value="materialdomain">materialdomain</choice>
<choice value="costsummary">costsummary</choice>
<change>
<unset token="tokSystem"></unset>
<unset token="form.tokSystem"></unset>
</change>
<default></default>
</input>

<input type="dropdown" token="tokSystem" searchWhenChanged="true">

        <label>Domain Entity</label>

        <fieldForLabel>$tokEnvironment$</fieldForLabel>

        <fieldForValue>$tokEnvironment$</fieldForValue>

        <search>

          <query>| makeresults

 

| eval goodsdevelopment="airbag",materialdomain="material,sm",costsummary="costing"</query>

        </search>

        <change>

          <condition match="$label$==&quot;airbag&quot;">

            <set token="inputToken">airbagSizeScheduling</set>

            <set token="outputToken">goodsdevelopment</set>

          </condition>

          <condition match="$label$==&quot;costing&quot;">

            <set token="inputToken">costSummary</set>

            <set token="outputToken">costing</set>

          </condition>

          <condition match="$label$==&quot;material&quot;">

            <set token="inputToken">material</set>

            <set token="outputToken">md</set>

          </condition>

        </change>

      </input>

Screenshot 2023-09-19 at 9.17.33 PM.png

View solution in original post

Tags (1)
0 Karma

nithys
Path Finder

@niketn 

how do i make the domain entity to be multiselect with value1: material,value 2:sm,value 3:all

then my inputToken &outputtoken are different for each data entity selection,,,how can i pass two token if used in multiselect to two different search query

<row>
<panel>
<input type="dropdown" token="tokEnvironment" searchWhenChanged="true">
<label>Domain</label>
<choice value="goodsdevelopment">goodsdevelopment</choice>
<choice value="materialdomain">materialdomain</choice>
<choice value="costsummary">costsummary</choice>
<change>
<unset token="tokSystem"></unset>
<unset token="form.tokSystem"></unset>
</change>
<default></default>
</input>

<input type="dropdown" token="tokSystem" searchWhenChanged="true">

        <label>Domain Entity</label>

        <fieldForLabel>$tokEnvironment$</fieldForLabel>

        <fieldForValue>$tokEnvironment$</fieldForValue>

        <search>

          <query>| makeresults

 

| eval goodsdevelopment="airbag",materialdomain="material,sm",costsummary="costing"</query>

        </search>

        <change>

          <condition match="$label$==&quot;airbag&quot;">

            <set token="inputToken">airbagSizeScheduling</set>

            <set token="outputToken">goodsdevelopment</set>

          </condition>

          <condition match="$label$==&quot;costing&quot;">

            <set token="inputToken">costSummary</set>

            <set token="outputToken">costing</set>

          </condition>

          <condition match="$label$==&quot;material&quot;">

            <set token="inputToken">material</set>

            <set token="outputToken">md</set>

          </condition>

        </change>

      </input>

Screenshot 2023-09-19 at 9.17.33 PM.png

Tags (1)
0 Karma
Get Updates on the Splunk Community!

New in Observability - Improvements to Custom Metrics SLOs, Log Observer Connect & ...

The latest enhancements to the Splunk observability portfolio deliver improved SLO management accuracy, better ...

Improve Data Pipelines Using Splunk Data Management

  Register Now   This Tech Talk will explore the pipeline management offerings Edge Processor and Ingest ...

3-2-1 Go! How Fast Can You Debug Microservices with Observability Cloud?

Register Join this Tech Talk to learn how unique features like Service Centric Views, Tag Spotlight, and ...