<?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: Use Lookup to Add MetaData to Results in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Use-Lookup-to-Add-MetaData-to-Results/m-p/42829#M10060</link>
    <description>&lt;P&gt;Hopefully this helps another newb such as myself.&lt;/P&gt;

&lt;P&gt;Search term is: &lt;CODE&gt;| lookup TableName LookupField as LocalField&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;LookupField = Field in LookupTable&lt;/P&gt;

&lt;P&gt;LocalField = Field in Splunk&lt;/P&gt;</description>
    <pubDate>Fri, 01 Mar 2013 15:58:41 GMT</pubDate>
    <dc:creator>aapittts</dc:creator>
    <dc:date>2013-03-01T15:58:41Z</dc:date>
    <item>
      <title>Use Lookup to Add MetaData to Results</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Use-Lookup-to-Add-MetaData-to-Results/m-p/42827#M10058</link>
      <description>&lt;P&gt;If I have a lookup table with ID's and descriptions, is it possible to use the lookup table to add the corresponding descriptions to the ID's in search results?&lt;/P&gt;

&lt;P&gt;I thought this was the purpose of the &lt;CODE&gt;lookup&lt;/CODE&gt; command but I'm not getting anywhere using it.&lt;/P&gt;

&lt;P&gt;If I have a list of codes, how to I use a lookup table to match the codes with the descriptions and output the code and description to the search results?&lt;/P&gt;

&lt;P&gt;Lookup:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;code,desc
1234,lorem ipsum
4567,lorem ipsum
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;desc is not a field in my transforms.conf. Does that matter?&lt;/P&gt;</description>
      <pubDate>Mon, 25 Feb 2013 20:44:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Use-Lookup-to-Add-MetaData-to-Results/m-p/42827#M10058</guid>
      <dc:creator>aapittts</dc:creator>
      <dc:date>2013-02-25T20:44:31Z</dc:date>
    </item>
    <item>
      <title>Re: Use Lookup to Add MetaData to Results</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Use-Lookup-to-Add-MetaData-to-Results/m-p/42828#M10059</link>
      <description>&lt;P&gt;That is definitely how you can use lookups. You should provide more information on your scenario and what you're trying so we can help you troubleshoot your issue.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Feb 2013 21:19:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Use-Lookup-to-Add-MetaData-to-Results/m-p/42828#M10059</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2013-02-25T21:19:07Z</dc:date>
    </item>
    <item>
      <title>Re: Use Lookup to Add MetaData to Results</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Use-Lookup-to-Add-MetaData-to-Results/m-p/42829#M10060</link>
      <description>&lt;P&gt;Hopefully this helps another newb such as myself.&lt;/P&gt;

&lt;P&gt;Search term is: &lt;CODE&gt;| lookup TableName LookupField as LocalField&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;LookupField = Field in LookupTable&lt;/P&gt;

&lt;P&gt;LocalField = Field in Splunk&lt;/P&gt;</description>
      <pubDate>Fri, 01 Mar 2013 15:58:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Use-Lookup-to-Add-MetaData-to-Results/m-p/42829#M10060</guid>
      <dc:creator>aapittts</dc:creator>
      <dc:date>2013-03-01T15:58:41Z</dc:date>
    </item>
  </channel>
</rss>

