<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Dynamic Table Filtering with Varying Field Names in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dynamic-Table-Filtering-with-Varying-Field-Names/m-p/569570#M46790</link>
    <description>&lt;P&gt;I was able to resolve this via hidden searches within a dashboard.&amp;nbsp;&lt;BR /&gt;I tokenized the lookup table based on a user dropdown, which then ran ~5 searches based on that, returning the tokenized objects I needed.&lt;/P&gt;</description>
    <pubDate>Mon, 04 Oct 2021 15:32:22 GMT</pubDate>
    <dc:creator>mattfunk20</dc:creator>
    <dc:date>2021-10-04T15:32:22Z</dc:date>
    <item>
      <title>Dynamic Table Filtering with Varying Field Names</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dynamic-Table-Filtering-with-Varying-Field-Names/m-p/568475#M46682</link>
      <description>&lt;P&gt;Hi all!&amp;nbsp;&lt;BR /&gt;I've populated a table dynamically based on a drop down a user can manipulate using...&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| inputlookup 
    [| rest /services/saved/searches 
    | fields title 
    | search title=*$userInput$*.c 
    | eval check=replace(title,"\.c",".csv") 
    | return $check] &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Additionally I can extrapolate each column into a dropdown using...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| inputlookup 
    [| rest /services/saved/searches 
    | fields title 
    | search title=*$userInput$*.c 
    | eval check=replace(title,"\.c",".csv") 
    | return $check] 
| eval value= 
    [| inputlookup 
        [| rest /services/saved/searches 
        | fields title 
        | search title=*$userInput$*.c 
        | eval check=replace(title,"\.c",".csv") 
        | return $check] 
    | transpose 
    | fields column 
    | streamstats count(column) as order 
    | where order = 2 
    | return $column] 
| fields value 
| table value 
| stats values(value) as value 
| mvexpand value&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;by varying order = #&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;The issue I'm running into now is pairing the drop down,&amp;nbsp; the drop down with a set token of "filter1"&lt;BR /&gt;Run within&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| inputlookup 
    [| rest /services/saved/searches 
    | fields title 
    | search title=*$userInput$*.c 
    | eval check=replace(title,"\.c",".csv") 
    | return $check] 
| search
    [| inputlookup 
        [| rest /services/saved/searches 
        | fields title 
        | search title=*$userInput$*.c 
        | eval check=replace(title,"\.c",".csv") 
        | return $check] 
    | head 1 
    | table * 
    | transpose 
    | head 1 
    | return $column] = $filter1$&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The token is not functioning and will not populate in the query, while other tokens will. I've additionally confirmed the query works, just not when used with tokens within a dashboard.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;To summarize, the overall goal is to provide 4-6 drop downs and a table. Based on the initial user request, this table would populate with data, and each drop down would then be able to further filter data,&amp;nbsp; with the field names and values all varying.&lt;BR /&gt;&lt;BR /&gt;If something isn't clear please ask and I'd be glad to provide, been banging my head against this one for awhile lol.&lt;/P&gt;</description>
      <pubDate>Sat, 25 Sep 2021 23:02:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dynamic-Table-Filtering-with-Varying-Field-Names/m-p/568475#M46682</guid>
      <dc:creator>mattfunk20</dc:creator>
      <dc:date>2021-09-25T23:02:29Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Table Filtering with Varying Field Names</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dynamic-Table-Filtering-with-Varying-Field-Names/m-p/568482#M46683</link>
      <description>&lt;P&gt;Have you tried using token modifiers?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| return $column] = $filter1|s$&lt;/LI-CODE&gt;</description>
      <pubDate>Sun, 26 Sep 2021 09:39:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dynamic-Table-Filtering-with-Varying-Field-Names/m-p/568482#M46683</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-09-26T09:39:01Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Table Filtering with Varying Field Names</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dynamic-Table-Filtering-with-Varying-Field-Names/m-p/569570#M46790</link>
      <description>&lt;P&gt;I was able to resolve this via hidden searches within a dashboard.&amp;nbsp;&lt;BR /&gt;I tokenized the lookup table based on a user dropdown, which then ran ~5 searches based on that, returning the tokenized objects I needed.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Oct 2021 15:32:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dynamic-Table-Filtering-with-Varying-Field-Names/m-p/569570#M46790</guid>
      <dc:creator>mattfunk20</dc:creator>
      <dc:date>2021-10-04T15:32:22Z</dc:date>
    </item>
  </channel>
</rss>

