<?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 do you add search results to an existing lookup? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-add-search-results-to-an-existing-lookup/m-p/437798#M124656</link>
    <description>&lt;P&gt;I need to see your query .&lt;/P&gt;</description>
    <pubDate>Wed, 30 Jan 2019 21:48:33 GMT</pubDate>
    <dc:creator>Vijeta</dc:creator>
    <dc:date>2019-01-30T21:48:33Z</dc:date>
    <item>
      <title>How do you add search results to an existing lookup?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-add-search-results-to-an-existing-lookup/m-p/437795#M124653</link>
      <description>&lt;P&gt;i have a table that has 30 columns and some rows, &lt;/P&gt;

&lt;P&gt;table 1 &lt;BR /&gt;
column1 column2 ---------- column30&lt;BR /&gt;
ww  xx  -------------------------- aa&lt;/P&gt;

&lt;P&gt;expecting table will like this &lt;BR /&gt;
column1 column2 ---------- column30&lt;/P&gt;

&lt;H2&gt;ww  xx  -------------------------- aa&lt;/H2&gt;

&lt;HR /&gt;

&lt;HR /&gt;

&lt;P&gt;etc...&lt;/P&gt;

&lt;P&gt;so my question is how to add more rows to it without deleting the old lookup.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jan 2019 20:49:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-you-add-search-results-to-an-existing-lookup/m-p/437795#M124653</guid>
      <dc:creator>rajasekhar14</dc:creator>
      <dc:date>2019-01-30T20:49:06Z</dc:date>
    </item>
    <item>
      <title>Re: How do you add search results to an existing lookup?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-add-search-results-to-an-existing-lookup/m-p/437796#M124654</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;&amp;lt;your query&amp;gt;| outputlookup append=true &amp;lt;yourlookupname&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 30 Jan 2019 21:24:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-you-add-search-results-to-an-existing-lookup/m-p/437796#M124654</guid>
      <dc:creator>Vijeta</dc:creator>
      <dc:date>2019-01-30T21:24:31Z</dc:date>
    </item>
    <item>
      <title>Re: How do you add search results to an existing lookup?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-add-search-results-to-an-existing-lookup/m-p/437797#M124655</link>
      <description>&lt;P&gt;thanks @vijeta its appending all results again and again. it be coming duplicates rows every time?  my goal is,  we have a existing table with some values(rows) and when ever i search it give the same values or new values. So if the values are same as in table it no need to add those values to existing table. if the values are new only it need to add to that lookup table.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jan 2019 21:39:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-you-add-search-results-to-an-existing-lookup/m-p/437797#M124655</guid>
      <dc:creator>rajasekhar14</dc:creator>
      <dc:date>2019-01-30T21:39:30Z</dc:date>
    </item>
    <item>
      <title>Re: How do you add search results to an existing lookup?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-add-search-results-to-an-existing-lookup/m-p/437798#M124656</link>
      <description>&lt;P&gt;I need to see your query .&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jan 2019 21:48:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-you-add-search-results-to-an-existing-lookup/m-p/437798#M124656</guid>
      <dc:creator>Vijeta</dc:creator>
      <dc:date>2019-01-30T21:48:33Z</dc:date>
    </item>
    <item>
      <title>Re: How do you add search results to an existing lookup?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-add-search-results-to-an-existing-lookup/m-p/437799#M124657</link>
      <description>&lt;P&gt;i using another lookup table to search the data, my query will be like this&lt;BR /&gt;
|inputlookup my_lookup | eval a=b |eval c=g |eval d=e | table b g e|outputlookup new_lookup &lt;BR /&gt;
after your answer i changed my query to like this&lt;BR /&gt;
|inputlookup my_lookup | eval a=b |eval c=g  |eval d=e | table b g e |outputlookup append=true  new_lookup &lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 23:01:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-you-add-search-results-to-an-existing-lookup/m-p/437799#M124657</guid>
      <dc:creator>rajasekhar14</dc:creator>
      <dc:date>2020-09-29T23:01:23Z</dc:date>
    </item>
    <item>
      <title>Re: How do you add search results to an existing lookup?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-add-search-results-to-an-existing-lookup/m-p/437800#M124658</link>
      <description>&lt;P&gt;This will add to your new lookup whatever you are getting from old lookup. Do you want to overwrite new lookup ?&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jan 2019 22:08:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-you-add-search-results-to-an-existing-lookup/m-p/437800#M124658</guid>
      <dc:creator>Vijeta</dc:creator>
      <dc:date>2019-01-30T22:08:23Z</dc:date>
    </item>
    <item>
      <title>Re: How do you add search results to an existing lookup?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-add-search-results-to-an-existing-lookup/m-p/437801#M124659</link>
      <description>&lt;P&gt;NO,  if there are any new values coming from my search that values to be add my new lookup table. which type of command do i need to use ?&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jan 2019 22:15:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-you-add-search-results-to-an-existing-lookup/m-p/437801#M124659</guid>
      <dc:creator>rajasekhar14</dc:creator>
      <dc:date>2019-01-30T22:15:08Z</dc:date>
    </item>
    <item>
      <title>Re: How do you add search results to an existing lookup?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-add-search-results-to-an-existing-lookup/m-p/437802#M124660</link>
      <description>&lt;P&gt;In that case append= false, did you try that.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jan 2019 22:18:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-you-add-search-results-to-an-existing-lookup/m-p/437802#M124660</guid>
      <dc:creator>Vijeta</dc:creator>
      <dc:date>2019-01-30T22:18:06Z</dc:date>
    </item>
    <item>
      <title>Re: How do you add search results to an existing lookup?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-add-search-results-to-an-existing-lookup/m-p/437803#M124661</link>
      <description>&lt;P&gt;Try this:&lt;/P&gt;

&lt;P&gt;|  appendpipe [| inputlookup abc.csv ] | eval key = column1."|".column2."|".column3&lt;BR /&gt;
| dedup key&lt;BR /&gt;
|outputlookup abc.csv append=false&lt;/P&gt;</description>
      <pubDate>Thu, 31 Jan 2019 06:16:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-you-add-search-results-to-an-existing-lookup/m-p/437803#M124661</guid>
      <dc:creator>vishaltaneja070</dc:creator>
      <dc:date>2019-01-31T06:16:50Z</dc:date>
    </item>
  </channel>
</rss>

