Dashboards & Visualizations

Drilldown into a multiselect input

nsantiago17
Explorer

Hi everyone,

I have a drilldown with the following values: "Fin", "Gar", "Mid", "Risc" and "Nuc" and when I select Fin (for example), the multiselect must show the following options: "LNR", "MTF" and "SLF", when you select "Gar", the multiselect must show 3 others options and so it goes.

Thanks in advance.

0 Karma

Kawtar
Path Finder

Hello,

this is working example:

  1. Multiselect Drilldown




    @d
    now




    Show All
    Show All

    index=_internal | stats count by sourcetype
    $dt.earliest$
    $dt.latest$

    sourcetype
    sourcetype
    (
    )
    sourcetype=
    OR


    Source Types




    index=your_index | search $sourcetypes$

    $dt.earliest$
    $dt.latest$

    10
    none
    row
    false
    true
    ["sourcetype","count"]


0 Karma

niketn
Legend

@nsantiago17 where is the drilldown coming from? Also from where will you get the correlation like FIN --> LNR, MTF, SLF etc? Can you add what is the code you currently have and what is not working for you?

____________________________________________
| makeresults | eval message= "Happy Splunking!!!"
0 Karma

nsantiago17
Explorer

The drilldown comes from a table, I'm using the lookup command to load them to the search and the FIN is the index, the LNR, MTF and SLF are the values below the index.

FIN | GAR | ....

LNR ABC ....
MTF ACB ....
SLF BAC ....

0 Karma

woodcock
Esteemed Legend

You are going to have to be more descriptive and clear. For example, your last sentence is the exact opposite of the description above it. It makes no sense.

0 Karma

nsantiago17
Explorer

Thanks for the advice, I've edited the question.

0 Karma

woodcock
Esteemed Legend

I am even more confused than before. Are you sure you said it the way that you meant it?

0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...