<?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: Using inputlookup to enrich results table with a common field between search and CSV in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Using-inputlookup-to-enrich-results-table-with-a-common-field/m-p/475414#M81619</link>
    <description>&lt;P&gt;There are multiple scenarios you use inputlookup&lt;BR /&gt;
For example: &lt;BR /&gt;
1. &lt;CODE&gt;| inputlookup &amp;lt;lookup file&amp;gt;&lt;/CODE&gt; This just outputs the content of the lookup file&lt;BR /&gt;
2. &lt;CODE&gt;&amp;lt;your search&amp;gt; |inputlookup &amp;lt;lookup file&amp;gt; append=true&lt;/CODE&gt; This appends the content of your lookup file to the end of your search results&lt;/P&gt;

&lt;P&gt;You can view more examples here - &lt;A href="https://docs.splunk.com/Documentation/Splunk/8.0.0/SearchReference/Inputlookup"&gt;https://docs.splunk.com/Documentation/Splunk/8.0.0/SearchReference/Inputlookup&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Cheers&lt;/P&gt;</description>
    <pubDate>Tue, 05 Nov 2019 12:40:16 GMT</pubDate>
    <dc:creator>arjunpkishore5</dc:creator>
    <dc:date>2019-11-05T12:40:16Z</dc:date>
    <item>
      <title>Using inputlookup to enrich results table with a common field between search and CSV</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Using-inputlookup-to-enrich-results-table-with-a-common-field/m-p/475411#M81616</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;
I am trying to use an inputlookup to enrich my search results table with additional fields from my inputlookup csv.&lt;BR /&gt;
The scenario is that I am using a search to look for &lt;STRONG&gt;hostnames&lt;/STRONG&gt; from events to match my CSV &lt;STRONG&gt;Device Name&lt;/STRONG&gt; field and add the &lt;STRONG&gt;model&lt;/STRONG&gt; number from my CSV also. I plan to add several more fields from my CSV but &lt;STRONG&gt;model&lt;/STRONG&gt; field values is a start. I have tried to run the inputlookup sub-search but struggling to associate fields that are named differently between my search results and my CSV column titles.&lt;/P&gt;

&lt;P&gt;Many thanks&lt;/P&gt;</description>
      <pubDate>Tue, 05 Nov 2019 00:07:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Using-inputlookup-to-enrich-results-table-with-a-common-field/m-p/475411#M81616</guid>
      <dc:creator>373782073</dc:creator>
      <dc:date>2019-11-05T00:07:28Z</dc:date>
    </item>
    <item>
      <title>Re: Using inputlookup to enrich results table with a common field between search and CSV</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Using-inputlookup-to-enrich-results-table-with-a-common-field/m-p/475412#M81617</link>
      <description>&lt;P&gt;Based on what you described, what you need is the lookup command&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;your search&amp;gt;
|lookup &amp;lt;lookupfile&amp;gt; "Device Name" as hostname OUTPUT &amp;lt;comma separated fields from lookup&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Lookup documentation here - &lt;A href="https://docs.splunk.com/Documentation/Splunk/8.0.0/SearchReference/Lookup"&gt;https://docs.splunk.com/Documentation/Splunk/8.0.0/SearchReference/Lookup&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Hope this helps.&lt;BR /&gt;
Cheers&lt;/P&gt;</description>
      <pubDate>Tue, 05 Nov 2019 00:17:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Using-inputlookup-to-enrich-results-table-with-a-common-field/m-p/475412#M81617</guid>
      <dc:creator>arjunpkishore5</dc:creator>
      <dc:date>2019-11-05T00:17:23Z</dc:date>
    </item>
    <item>
      <title>Re: Using inputlookup to enrich results table with a common field between search and CSV</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Using-inputlookup-to-enrich-results-table-with-a-common-field/m-p/475413#M81618</link>
      <description>&lt;P&gt;That did the trick. Not sure why I steered into looking at inputlookup. Would you have any examples on applying inputlookup ?&lt;/P&gt;</description>
      <pubDate>Tue, 05 Nov 2019 04:12:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Using-inputlookup-to-enrich-results-table-with-a-common-field/m-p/475413#M81618</guid>
      <dc:creator>373782073</dc:creator>
      <dc:date>2019-11-05T04:12:58Z</dc:date>
    </item>
    <item>
      <title>Re: Using inputlookup to enrich results table with a common field between search and CSV</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Using-inputlookup-to-enrich-results-table-with-a-common-field/m-p/475414#M81619</link>
      <description>&lt;P&gt;There are multiple scenarios you use inputlookup&lt;BR /&gt;
For example: &lt;BR /&gt;
1. &lt;CODE&gt;| inputlookup &amp;lt;lookup file&amp;gt;&lt;/CODE&gt; This just outputs the content of the lookup file&lt;BR /&gt;
2. &lt;CODE&gt;&amp;lt;your search&amp;gt; |inputlookup &amp;lt;lookup file&amp;gt; append=true&lt;/CODE&gt; This appends the content of your lookup file to the end of your search results&lt;/P&gt;

&lt;P&gt;You can view more examples here - &lt;A href="https://docs.splunk.com/Documentation/Splunk/8.0.0/SearchReference/Inputlookup"&gt;https://docs.splunk.com/Documentation/Splunk/8.0.0/SearchReference/Inputlookup&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Cheers&lt;/P&gt;</description>
      <pubDate>Tue, 05 Nov 2019 12:40:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Using-inputlookup-to-enrich-results-table-with-a-common-field/m-p/475414#M81619</guid>
      <dc:creator>arjunpkishore5</dc:creator>
      <dc:date>2019-11-05T12:40:16Z</dc:date>
    </item>
  </channel>
</rss>

