<?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 pass the value in main query from the lookup file in a list of servers? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-pass-the-value-in-main-query-from-the-lookup-file-in-a/m-p/432279#M123517</link>
    <description>&lt;P&gt;can you share sample values of lookup &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;|inputlookup production_sites
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;check if this above query gives output&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;|inputlookup production_sites where Type="Data"|fields Type
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;this query only give Type="data" as field I don't hink if thats you are looking for&lt;BR /&gt;
as fields command limits the output to show only specific fields in this case as &lt;CODE&gt;Type&lt;/CODE&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 28 Aug 2018 10:47:14 GMT</pubDate>
    <dc:creator>493669</dc:creator>
    <dc:date>2018-08-28T10:47:14Z</dc:date>
    <item>
      <title>How to pass the value in main query from the lookup file in a list of servers?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-pass-the-value-in-main-query-from-the-lookup-file-in-a/m-p/432272#M123510</link>
      <description>&lt;P&gt;I have a list of server in lookup file and I want to create an alert.&lt;BR /&gt;
The list of server names in the lookup file(around 90 servers) and I need to pass the value in the main query from the lookup file.&lt;/P&gt;

&lt;P&gt;The column server has a value with around 90servers so I need to pass the 90 servers values in the search.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Aug 2018 07:17:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-pass-the-value-in-main-query-from-the-lookup-file-in-a/m-p/432272#M123510</guid>
      <dc:creator>DataOrg</dc:creator>
      <dc:date>2018-08-28T07:17:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass the value in main query from the lookup file in a list of servers?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-pass-the-value-in-main-query-from-the-lookup-file-in-a/m-p/432273#M123511</link>
      <description>&lt;P&gt;index=foo [| inputlookup yourlookup.csv OUTPUTNEW hostFieldFromLookup AS host | fields host | format host]&lt;/P&gt;

&lt;P&gt;Which will turn into&lt;/P&gt;

&lt;P&gt;index=foo (host=hostname1 OR host=hostname2 OR ...)&lt;/P&gt;</description>
      <pubDate>Tue, 28 Aug 2018 07:22:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-pass-the-value-in-main-query-from-the-lookup-file-in-a/m-p/432273#M123511</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2018-08-28T07:22:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass the value in main query from the lookup file in a list of servers?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-pass-the-value-in-main-query-from-the-lookup-file-in-a/m-p/432274#M123512</link>
      <description>&lt;P&gt;if lookup file is already created in splunk then use&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;...|inputlookup &amp;lt;filename&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 28 Aug 2018 07:23:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-pass-the-value-in-main-query-from-the-lookup-file-in-a/m-p/432274#M123512</guid>
      <dc:creator>493669</dc:creator>
      <dc:date>2018-08-28T07:23:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass the value in main query from the lookup file in a list of servers?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-pass-the-value-in-main-query-from-the-lookup-file-in-a/m-p/432275#M123513</link>
      <description>&lt;P&gt;i need to get a data from lookup file and have to pass it in same query of the sub search&lt;/P&gt;</description>
      <pubDate>Tue, 28 Aug 2018 07:32:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-pass-the-value-in-main-query-from-the-lookup-file-in-a/m-p/432275#M123513</guid>
      <dc:creator>DataOrg</dc:creator>
      <dc:date>2018-08-28T07:32:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass the value in main query from the lookup file in a list of servers?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-pass-the-value-in-main-query-from-the-lookup-file-in-a/m-p/432276#M123514</link>
      <description>&lt;P&gt;it will not work.&lt;/P&gt;

&lt;P&gt;i need to read the lookup file and pass the value to sub-search&lt;/P&gt;</description>
      <pubDate>Tue, 28 Aug 2018 07:35:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-pass-the-value-in-main-query-from-the-lookup-file-in-a/m-p/432276#M123514</guid>
      <dc:creator>DataOrg</dc:creator>
      <dc:date>2018-08-28T07:35:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass the value in main query from the lookup file in a list of servers?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-pass-the-value-in-main-query-from-the-lookup-file-in-a/m-p/432277#M123515</link>
      <description>&lt;P&gt;have you created lookup file in splunk? what is the name of lookup file? &lt;/P&gt;</description>
      <pubDate>Tue, 28 Aug 2018 07:54:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-pass-the-value-in-main-query-from-the-lookup-file-in-a/m-p/432277#M123515</guid>
      <dc:creator>493669</dc:creator>
      <dc:date>2018-08-28T07:54:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass the value in main query from the lookup file in a list of servers?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-pass-the-value-in-main-query-from-the-lookup-file-in-a/m-p/432278#M123516</link>
      <description>&lt;P&gt;i am using below search&lt;/P&gt;

&lt;P&gt;|inputlookup production_sites where Type="Data"|fields Type|format|table search|mvexpand search | stats count by search|rename search as R|map search="search index="perfmo" host=\"$R$\" source="Perfmon" sourcetype="Physical_Disk" counter="sec/Read" (instance="*G:" OR instance="*J:")"&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 21:04:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-pass-the-value-in-main-query-from-the-lookup-file-in-a/m-p/432278#M123516</guid>
      <dc:creator>DataOrg</dc:creator>
      <dc:date>2020-09-29T21:04:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass the value in main query from the lookup file in a list of servers?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-pass-the-value-in-main-query-from-the-lookup-file-in-a/m-p/432279#M123517</link>
      <description>&lt;P&gt;can you share sample values of lookup &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;|inputlookup production_sites
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;check if this above query gives output&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;|inputlookup production_sites where Type="Data"|fields Type
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;this query only give Type="data" as field I don't hink if thats you are looking for&lt;BR /&gt;
as fields command limits the output to show only specific fields in this case as &lt;CODE&gt;Type&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Aug 2018 10:47:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-pass-the-value-in-main-query-from-the-lookup-file-in-a/m-p/432279#M123517</guid>
      <dc:creator>493669</dc:creator>
      <dc:date>2018-08-28T10:47:14Z</dc:date>
    </item>
  </channel>
</rss>

