<?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 inputlookup and search results from data in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/inputlookup-and-search-results-from-data/m-p/424844#M121825</link>
    <description>&lt;P&gt;Hello Splunkers, &lt;/P&gt;

&lt;P&gt;I have inputlooku test.csv and containing fields  host region &lt;/P&gt;

&lt;P&gt;I have indexed data under test index containing fields host location status area DC &lt;/P&gt;

&lt;P&gt;So what i need take input from look up table field host and search with in indexed data for status .&lt;/P&gt;

&lt;P&gt;I was trying below one but not sure this is correct .&lt;/P&gt;

&lt;P&gt;index=test &amp;nbsp;status="Down" &amp;nbsp;[| inputlookup test.csv | fields host] | dedup host | table host status DC &lt;/P&gt;

&lt;P&gt;any thing is fine either before filter or after filter goal is to just show the results for  host which are in my list.&lt;/P&gt;</description>
    <pubDate>Thu, 13 Jun 2019 01:52:26 GMT</pubDate>
    <dc:creator>Splunk_rocks</dc:creator>
    <dc:date>2019-06-13T01:52:26Z</dc:date>
    <item>
      <title>inputlookup and search results from data</title>
      <link>https://community.splunk.com/t5/Splunk-Search/inputlookup-and-search-results-from-data/m-p/424844#M121825</link>
      <description>&lt;P&gt;Hello Splunkers, &lt;/P&gt;

&lt;P&gt;I have inputlooku test.csv and containing fields  host region &lt;/P&gt;

&lt;P&gt;I have indexed data under test index containing fields host location status area DC &lt;/P&gt;

&lt;P&gt;So what i need take input from look up table field host and search with in indexed data for status .&lt;/P&gt;

&lt;P&gt;I was trying below one but not sure this is correct .&lt;/P&gt;

&lt;P&gt;index=test &amp;nbsp;status="Down" &amp;nbsp;[| inputlookup test.csv | fields host] | dedup host | table host status DC &lt;/P&gt;

&lt;P&gt;any thing is fine either before filter or after filter goal is to just show the results for  host which are in my list.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jun 2019 01:52:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/inputlookup-and-search-results-from-data/m-p/424844#M121825</guid>
      <dc:creator>Splunk_rocks</dc:creator>
      <dc:date>2019-06-13T01:52:26Z</dc:date>
    </item>
    <item>
      <title>Re: inputlookup and search results from data</title>
      <link>https://community.splunk.com/t5/Splunk-Search/inputlookup-and-search-results-from-data/m-p/424845#M121826</link>
      <description>&lt;P&gt;Hi Splunk_rocks,&lt;/P&gt;

&lt;P&gt;try this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=test  status="Down"  [| inputlookup test.csv | fields host | format ] | dedup host | table host status DC
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;By using &lt;CODE&gt;format&lt;/CODE&gt; the sub search will return a string like this &lt;CODE&gt;(( host=x ) OR (host=y) OR (host=z))&lt;/CODE&gt; which then in turn will be used in the search.&lt;/P&gt;

&lt;P&gt;Hope this helps ...&lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jun 2019 01:56:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/inputlookup-and-search-results-from-data/m-p/424845#M121826</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2019-06-13T01:56:14Z</dc:date>
    </item>
    <item>
      <title>Re: inputlookup and search results from data</title>
      <link>https://community.splunk.com/t5/Splunk-Search/inputlookup-and-search-results-from-data/m-p/424846#M121827</link>
      <description>&lt;P&gt;Your query looks correct, just one thing for you to keep in mind if you have very enormous amount of hosts in lookup your query may brake.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jun 2019 14:12:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/inputlookup-and-search-results-from-data/m-p/424846#M121827</guid>
      <dc:creator>VatsalJagani</dc:creator>
      <dc:date>2019-06-13T14:12:47Z</dc:date>
    </item>
  </channel>
</rss>

