<?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: How to filter multiple values in saved search using single token in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-filter-multiple-values-in-saved-search-using-single-token/m-p/382118#M25019</link>
    <description>&lt;P&gt;can you get us a sample of your lookup and what you'd like to have as a result please ?&lt;/P&gt;</description>
    <pubDate>Tue, 09 Jul 2019 20:16:11 GMT</pubDate>
    <dc:creator>tiagofbmm</dc:creator>
    <dc:date>2019-07-09T20:16:11Z</dc:date>
    <item>
      <title>How to filter multiple values in saved search using single token</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-filter-multiple-values-in-saved-search-using-single-token/m-p/382113#M25014</link>
      <description>&lt;P&gt;Please help me to select the multiple values from the saved search. i need to filter 2 or 3 values out of 6. this is the fieldname targetType =(name, employee, statement)&lt;/P&gt;

&lt;P&gt;This is my search : &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;|inputlookup target_lookup 
| where targetType LIKE("$value$")
| makemv delim="," targetType
|table targetType
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Saved search : &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| savedsearch reportname $value$
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This is not working for me. could you please help me to resolve the issue I will be very happy if anyone resolves this issue.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jul 2019 15:00:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-filter-multiple-values-in-saved-search-using-single-token/m-p/382113#M25014</guid>
      <dc:creator>harish_l</dc:creator>
      <dc:date>2019-07-09T15:00:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter multiple values in saved search using single token</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-filter-multiple-values-in-saved-search-using-single-token/m-p/382114#M25015</link>
      <description>&lt;P&gt;You can do it by giving &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; |inputlookup target_lookup 
 | where targetType LIKE("$value1$") OR targetType LIKE("$value2$") OR targetType LIKE("$value3$")
 | makemv delim="," targetType
 |table targetType

| savedsearch reportname value1=val1 value1=val2 value1=val3
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Or just create a macro and use it in a similat way&lt;/P&gt;

&lt;P&gt;Then just call &lt;CODE&gt;\&lt;/CODE&gt;macro_name(value1)`&lt;CODE&gt;,&lt;/CODE&gt;`macro_name(value2)`&lt;CODE&gt;,&lt;/CODE&gt;`macro_name(value3)``&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 01:16:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-filter-multiple-values-in-saved-search-using-single-token/m-p/382114#M25015</guid>
      <dc:creator>tiagofbmm</dc:creator>
      <dc:date>2020-09-30T01:16:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter multiple values in saved search using single token</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-filter-multiple-values-in-saved-search-using-single-token/m-p/382115#M25016</link>
      <description>&lt;P&gt;@harish_l ,&lt;/P&gt;

&lt;P&gt;Dyude try this,&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| inputlookup target_lookup 
| search 
    [| gentimes start=-1 
    | eval targetType="$targetType$" 
    | makemv targetType delim="," 
    | mvexpand targetType 
    | table targetType] | table targetType
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;run the savedsearch by passing multiple values &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| savedsearch reportname targetType="value1,value2"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 09 Jul 2019 19:19:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-filter-multiple-values-in-saved-search-using-single-token/m-p/382115#M25016</guid>
      <dc:creator>vinod94</dc:creator>
      <dc:date>2019-07-09T19:19:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter multiple values in saved search using single token</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-filter-multiple-values-in-saved-search-using-single-token/m-p/382116#M25017</link>
      <description>&lt;P&gt;@vinod94 &lt;/P&gt;

&lt;P&gt;I have tried the above query but getting only one value. I need to display 2 values&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jul 2019 19:58:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-filter-multiple-values-in-saved-search-using-single-token/m-p/382116#M25017</guid>
      <dc:creator>harish_l</dc:creator>
      <dc:date>2019-07-09T19:58:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter multiple values in saved search using single token</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-filter-multiple-values-in-saved-search-using-single-token/m-p/382117#M25018</link>
      <description>&lt;P&gt;I am getting only one value using this query. how to get the 2 or 3 values using single token&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jul 2019 20:10:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-filter-multiple-values-in-saved-search-using-single-token/m-p/382117#M25018</guid>
      <dc:creator>harish_l</dc:creator>
      <dc:date>2019-07-09T20:10:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter multiple values in saved search using single token</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-filter-multiple-values-in-saved-search-using-single-token/m-p/382118#M25019</link>
      <description>&lt;P&gt;can you get us a sample of your lookup and what you'd like to have as a result please ?&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jul 2019 20:16:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-filter-multiple-values-in-saved-search-using-single-token/m-p/382118#M25019</guid>
      <dc:creator>tiagofbmm</dc:creator>
      <dc:date>2019-07-09T20:16:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter multiple values in saved search using single token</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-filter-multiple-values-in-saved-search-using-single-token/m-p/382119#M25020</link>
      <description>&lt;P&gt;Lookup data has only one field name with 5 values&lt;/P&gt;

&lt;P&gt;FieldsName: targetType&lt;BR /&gt;
Fielde Value: Count&lt;BR /&gt;
                       Duration&lt;BR /&gt;
                       Uptime&lt;BR /&gt;
                       Down&lt;BR /&gt;
                       Messgae&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jul 2019 21:01:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-filter-multiple-values-in-saved-search-using-single-token/m-p/382119#M25020</guid>
      <dc:creator>harish_l</dc:creator>
      <dc:date>2019-07-09T21:01:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter multiple values in saved search using single token</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-filter-multiple-values-in-saved-search-using-single-token/m-p/382120#M25021</link>
      <description>&lt;P&gt;can u show the savedsearch query.? how are you running it&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2019 16:42:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-filter-multiple-values-in-saved-search-using-single-token/m-p/382120#M25021</guid>
      <dc:creator>vinod94</dc:creator>
      <dc:date>2019-07-10T16:42:40Z</dc:date>
    </item>
  </channel>
</rss>

