<?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: Populating Lookup using saved search in Reporting</title>
    <link>https://community.splunk.com/t5/Reporting/Populating-Lookup-using-saved-search/m-p/421843#M6966</link>
    <description>&lt;P&gt;No, it just search for the events and write it to lookup. We do not append data as it will become very huge with time going forward&lt;/P&gt;</description>
    <pubDate>Thu, 01 Aug 2019 23:34:44 GMT</pubDate>
    <dc:creator>akshatj2</dc:creator>
    <dc:date>2019-08-01T23:34:44Z</dc:date>
    <item>
      <title>Populating Lookup using saved search</title>
      <link>https://community.splunk.com/t5/Reporting/Populating-Lookup-using-saved-search/m-p/421841#M6964</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;

&lt;P&gt;I would like to populate a lookup using savedsearches but condition being the previous entry from the lookup should only be removed if the current search result returns some values. In case the search does not return any value. the lookup should not be changed.&lt;/P&gt;

&lt;P&gt;Can anyone help me with the possible solution for the same.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Aug 2019 21:24:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Populating-Lookup-using-saved-search/m-p/421841#M6964</guid>
      <dc:creator>akshatj2</dc:creator>
      <dc:date>2019-08-01T21:24:52Z</dc:date>
    </item>
    <item>
      <title>Re: Populating Lookup using saved search</title>
      <link>https://community.splunk.com/t5/Reporting/Populating-Lookup-using-saved-search/m-p/421842#M6965</link>
      <description>&lt;P&gt;Do your search then read the existing lookup file using the &lt;CODE&gt;append=true&lt;/CODE&gt; option.  Deduplicate the results and write them back to the lookup file.  &lt;/P&gt;</description>
      <pubDate>Thu, 01 Aug 2019 22:46:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Populating-Lookup-using-saved-search/m-p/421842#M6965</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2019-08-01T22:46:00Z</dc:date>
    </item>
    <item>
      <title>Re: Populating Lookup using saved search</title>
      <link>https://community.splunk.com/t5/Reporting/Populating-Lookup-using-saved-search/m-p/421843#M6966</link>
      <description>&lt;P&gt;No, it just search for the events and write it to lookup. We do not append data as it will become very huge with time going forward&lt;/P&gt;</description>
      <pubDate>Thu, 01 Aug 2019 23:34:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Populating-Lookup-using-saved-search/m-p/421843#M6966</guid>
      <dc:creator>akshatj2</dc:creator>
      <dc:date>2019-08-01T23:34:44Z</dc:date>
    </item>
    <item>
      <title>Re: Populating Lookup using saved search</title>
      <link>https://community.splunk.com/t5/Reporting/Populating-Lookup-using-saved-search/m-p/421844#M6967</link>
      <description>&lt;P&gt;Hope this works. Give a Try&lt;/P&gt;

&lt;P&gt;First command:&lt;/P&gt;

&lt;P&gt;|from datamodel:"blahblah"| table "your column" | outputlookup your_lookup.csv&lt;/P&gt;

&lt;P&gt;Next command: appends only if it finds additional rows in the output&lt;/P&gt;

&lt;P&gt;|from datamodel:"blahblah"| table "your column" | where NOT [|inputlookup your_lookup.csv ] | outputlookup your_lookup.csv append=true&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 01:33:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Populating-Lookup-using-saved-search/m-p/421844#M6967</guid>
      <dc:creator>nareshinsvu</dc:creator>
      <dc:date>2020-09-30T01:33:40Z</dc:date>
    </item>
    <item>
      <title>Re: Populating Lookup using saved search</title>
      <link>https://community.splunk.com/t5/Reporting/Populating-Lookup-using-saved-search/m-p/421845#M6968</link>
      <description>&lt;P&gt;We don't want to append the data to any of the old lookup, it should be a new lookup created when the search returns any results.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Aug 2019 09:14:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Populating-Lookup-using-saved-search/m-p/421845#M6968</guid>
      <dc:creator>akshatj2</dc:creator>
      <dc:date>2019-08-02T09:14:05Z</dc:date>
    </item>
    <item>
      <title>Re: Populating Lookup using saved search</title>
      <link>https://community.splunk.com/t5/Reporting/Populating-Lookup-using-saved-search/m-p/421846#M6969</link>
      <description>&lt;P&gt;Have a look at the &lt;CODE&gt;create_empty&lt;/CODE&gt; and &lt;CODE&gt;override_if_empty&lt;/CODE&gt; options of the &lt;CODE&gt;outputlookup&lt;/CODE&gt; command to see if they satisfy your requirements.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Aug 2019 13:21:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Populating-Lookup-using-saved-search/m-p/421846#M6969</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2019-08-02T13:21:10Z</dc:date>
    </item>
    <item>
      <title>Re: Populating Lookup using saved search</title>
      <link>https://community.splunk.com/t5/Reporting/Populating-Lookup-using-saved-search/m-p/421847#M6970</link>
      <description>&lt;P&gt;So, you can use a new name in your command? But this will create numerous lookup files and very hard for you to manage/housekeep. Mate - what is your exact requirement?&lt;/P&gt;

&lt;P&gt;|from datamodel:"blahblah"| table "your column" | where NOT [|inputlookup your_lookup.csv ] | outputlookup your_NEW_lookup.csv&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 01:38:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Populating-Lookup-using-saved-search/m-p/421847#M6970</guid>
      <dc:creator>nareshinsvu</dc:creator>
      <dc:date>2020-09-30T01:38:18Z</dc:date>
    </item>
  </channel>
</rss>

