<?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 use universal source type for lookup a multiple indexs in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/how-to-use-universal-source-type-for-lookup-a-multiple-indexs/m-p/19486#M2961</link>
    <description>&lt;P&gt;i have modified the transforms.conf and props.conf to define the lookup table and definition&lt;/P&gt;

&lt;P&gt;SO definition goes like this&lt;/P&gt;

&lt;P&gt;[tiers]&lt;BR /&gt;
Lookup-sample=mylookup Roles OUTPUT Server&lt;BR /&gt;
Lookup-tier=mytiers Server OUTPUT tier&lt;/P&gt;

&lt;P&gt;I am getting the result but when it is applied on different indexed data, i getting Error 'Could not find all of the specified lookup fields in the lookup table.' for conf 'tiers' and lookup table 'samplelookup'.&lt;/P&gt;

&lt;P&gt;I am using the Rest api to get the user roles then i am looking up for the relevant fields to populate the dropdown from the results&lt;/P&gt;</description>
    <pubDate>Tue, 05 Feb 2013 09:07:55 GMT</pubDate>
    <dc:creator>linu1988</dc:creator>
    <dc:date>2013-02-05T09:07:55Z</dc:date>
    <item>
      <title>how to use universal source type for lookup a multiple indexs</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-use-universal-source-type-for-lookup-a-multiple-indexs/m-p/19483#M2958</link>
      <description>&lt;P&gt;I want to use two lookups where the logged in user roles are input to the 1st lookup and the 2nd lookup is fed by the result of 1st look up. But while implementing at the server i am getting "could not find fields for lookup table , conf missing the relevant fields error. Can any body help in this?&lt;/P&gt;

&lt;P&gt;First Csv contains      Second Csv Contains&lt;/P&gt;

&lt;P&gt;Roles,Server              Server,tier&lt;BR /&gt;
admin,A                   A,C&lt;BR /&gt;
User,B                    B,D&lt;/P&gt;</description>
      <pubDate>Tue, 05 Feb 2013 05:11:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-use-universal-source-type-for-lookup-a-multiple-indexs/m-p/19483#M2958</guid>
      <dc:creator>linu1988</dc:creator>
      <dc:date>2013-02-05T05:11:14Z</dc:date>
    </item>
    <item>
      <title>Re: how to use universal source type for lookup a multiple indexs</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-use-universal-source-type-for-lookup-a-multiple-indexs/m-p/19484#M2959</link>
      <description>&lt;P&gt;More details please. What do your config files look like? How are you calling your lookups?&lt;/P&gt;</description>
      <pubDate>Tue, 05 Feb 2013 08:24:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-use-universal-source-type-for-lookup-a-multiple-indexs/m-p/19484#M2959</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2013-02-05T08:24:31Z</dc:date>
    </item>
    <item>
      <title>Re: how to use universal source type for lookup a multiple indexs</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-use-universal-source-type-for-lookup-a-multiple-indexs/m-p/19485#M2960</link>
      <description>&lt;P&gt;When you call it on different indexed data, exactly how are you calling it? Because the error message really says it - you're telling it to use lookup fields that don't exist in the lookups you're calling.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Feb 2013 08:51:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-use-universal-source-type-for-lookup-a-multiple-indexs/m-p/19485#M2960</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2013-02-05T08:51:15Z</dc:date>
    </item>
    <item>
      <title>Re: how to use universal source type for lookup a multiple indexs</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-use-universal-source-type-for-lookup-a-multiple-indexs/m-p/19486#M2961</link>
      <description>&lt;P&gt;i have modified the transforms.conf and props.conf to define the lookup table and definition&lt;/P&gt;

&lt;P&gt;SO definition goes like this&lt;/P&gt;

&lt;P&gt;[tiers]&lt;BR /&gt;
Lookup-sample=mylookup Roles OUTPUT Server&lt;BR /&gt;
Lookup-tier=mytiers Server OUTPUT tier&lt;/P&gt;

&lt;P&gt;I am getting the result but when it is applied on different indexed data, i getting Error 'Could not find all of the specified lookup fields in the lookup table.' for conf 'tiers' and lookup table 'samplelookup'.&lt;/P&gt;

&lt;P&gt;I am using the Rest api to get the user roles then i am looking up for the relevant fields to populate the dropdown from the results&lt;/P&gt;</description>
      <pubDate>Tue, 05 Feb 2013 09:07:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-use-universal-source-type-for-lookup-a-multiple-indexs/m-p/19486#M2961</guid>
      <dc:creator>linu1988</dc:creator>
      <dc:date>2013-02-05T09:07:55Z</dc:date>
    </item>
    <item>
      <title>Re: how to use universal source type for lookup a multiple indexs</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-use-universal-source-type-for-lookup-a-multiple-indexs/m-p/19487#M2962</link>
      <description>&lt;P&gt;Ayn, the lookups used contain the fields which are being called from search query. its defined like "| rest /services/authentication/users | lookup samplelookup Role as roles | fields Server| mvexpand Server | Lookup mytiers Servers as Server". Any suggessions on the implementation?&lt;/P&gt;</description>
      <pubDate>Tue, 05 Feb 2013 09:51:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-use-universal-source-type-for-lookup-a-multiple-indexs/m-p/19487#M2962</guid>
      <dc:creator>linu1988</dc:creator>
      <dc:date>2013-02-05T09:51:50Z</dc:date>
    </item>
    <item>
      <title>Re: how to use universal source type for lookup a multiple indexs</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-use-universal-source-type-for-lookup-a-multiple-indexs/m-p/19488#M2963</link>
      <description>&lt;P&gt;You're using the &lt;CODE&gt;lookup&lt;/CODE&gt; command wrong. You're specifying "Role as roles", but it should be the other way around - "roles as Role" (and same thing for the other lookup).&lt;/P&gt;</description>
      <pubDate>Tue, 05 Feb 2013 10:42:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-use-universal-source-type-for-lookup-a-multiple-indexs/m-p/19488#M2963</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2013-02-05T10:42:46Z</dc:date>
    </item>
    <item>
      <title>Re: how to use universal source type for lookup a multiple indexs</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-use-universal-source-type-for-lookup-a-multiple-indexs/m-p/19489#M2964</link>
      <description>&lt;P&gt;Thanks for the explanation Ayn, With some modifications it started working. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Feb 2013 11:15:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-use-universal-source-type-for-lookup-a-multiple-indexs/m-p/19489#M2964</guid>
      <dc:creator>linu1988</dc:creator>
      <dc:date>2013-02-05T11:15:58Z</dc:date>
    </item>
  </channel>
</rss>

