<?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 add lookup values as filter in dashboard and filter dashboard data in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-add-lookup-values-as-filter-in-dashboard-and-filter/m-p/577882#M47354</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/241145"&gt;@koreamit3483&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;you have two ways:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;to use these tokens after the lookup command,&lt;/LI&gt;&lt;LI&gt;create au automatic lookup.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;In the first case, you have to create two dropdowns using the lookup:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| inputlookup your_lookup.csv | dedup OWNER | fields OWNER&lt;/LI-CODE&gt;&lt;P&gt;and&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| inputlookup your_lookup.csv | dedup REGION | fields REGION&lt;/LI-CODE&gt;&lt;P&gt;then put in your search after the lookup command:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index = XXX  
| lookup your_lookup.csv SERVER_NAME OUTPUT OWNER REGION
| search OWNER="$owner_t$" and REGION="$region_t$"
| table ...&lt;/LI-CODE&gt;&lt;P&gt;For the second way, you could follow the instructions at&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.2.3/Knowledge/DefineanautomaticlookupinSplunkWeb" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/8.2.3/Knowledge/DefineanautomaticlookupinSplunkWeb&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
    <pubDate>Thu, 09 Dec 2021 12:08:53 GMT</pubDate>
    <dc:creator>gcusello</dc:creator>
    <dc:date>2021-12-09T12:08:53Z</dc:date>
    <item>
      <title>How to add lookup values as filter in dashboard and filter dashboard data</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-add-lookup-values-as-filter-in-dashboard-and-filter/m-p/577880#M47353</link>
      <description>&lt;P&gt;I have data receiving through forwarder which has SERVER_NAME with other details and i have another lookup created adding a csv file which holds data as SERVER_NAME, OWNER and REGION.&lt;/P&gt;&lt;P&gt;my current dashboard have a filter using SERVER_NAME coming from forwarder and now i need to create filter in dashboard of OWNER and REGION, which are from lookup and not from the data from forwarder.&lt;/P&gt;&lt;P&gt;I created the filter for OWNER and REGION and created tokens for them as "$owner_t$" and "$region_t$" which i am using in dashboard data as&amp;nbsp;&lt;/P&gt;&lt;P&gt;| index = XXX&amp;nbsp; OWNER="$owner_t$" and REGION="$region_t$"&lt;/P&gt;&lt;P&gt;when i select these tokens the data on dashboard is not getting filtered and shows as "No results found"&lt;/P&gt;&lt;P&gt;Can some one guide me where i am going wrong.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Dec 2021 11:59:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-add-lookup-values-as-filter-in-dashboard-and-filter/m-p/577880#M47353</guid>
      <dc:creator>koreamit3483</dc:creator>
      <dc:date>2021-12-09T11:59:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to add lookup values as filter in dashboard and filter dashboard data</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-add-lookup-values-as-filter-in-dashboard-and-filter/m-p/577882#M47354</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/241145"&gt;@koreamit3483&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;you have two ways:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;to use these tokens after the lookup command,&lt;/LI&gt;&lt;LI&gt;create au automatic lookup.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;In the first case, you have to create two dropdowns using the lookup:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| inputlookup your_lookup.csv | dedup OWNER | fields OWNER&lt;/LI-CODE&gt;&lt;P&gt;and&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| inputlookup your_lookup.csv | dedup REGION | fields REGION&lt;/LI-CODE&gt;&lt;P&gt;then put in your search after the lookup command:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index = XXX  
| lookup your_lookup.csv SERVER_NAME OUTPUT OWNER REGION
| search OWNER="$owner_t$" and REGION="$region_t$"
| table ...&lt;/LI-CODE&gt;&lt;P&gt;For the second way, you could follow the instructions at&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.2.3/Knowledge/DefineanautomaticlookupinSplunkWeb" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/8.2.3/Knowledge/DefineanautomaticlookupinSplunkWeb&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Thu, 09 Dec 2021 12:08:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-add-lookup-values-as-filter-in-dashboard-and-filter/m-p/577882#M47354</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2021-12-09T12:08:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to add lookup values as filter in dashboard and filter dashboard data</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-add-lookup-values-as-filter-in-dashboard-and-filter/m-p/577894#M47355</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is exactly what i was looking for and have resolved my query.&lt;/P&gt;&lt;P&gt;Thank you so much..&lt;/P&gt;</description>
      <pubDate>Thu, 09 Dec 2021 13:23:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-add-lookup-values-as-filter-in-dashboard-and-filter/m-p/577894#M47355</guid>
      <dc:creator>koreamit3483</dc:creator>
      <dc:date>2021-12-09T13:23:35Z</dc:date>
    </item>
  </channel>
</rss>

