<?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: Automated daily lookups in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Automated-daily-lookups/m-p/186035#M53599</link>
    <description>&lt;P&gt;EDIT:&lt;BR /&gt;
The top two .csv files are the same.&lt;/P&gt;

&lt;P&gt;index="URL" NOT [inputlookup &lt;STRONG&gt;A_listJan1.csv&lt;/STRONG&gt; | fields gtld]&lt;BR /&gt;
 | inputlookup &lt;STRONG&gt;A_listJan1.csv&lt;/STRONG&gt; append=true &lt;/P&gt;</description>
    <pubDate>Sat, 17 Jan 2015 21:37:34 GMT</pubDate>
    <dc:creator>MayDayOne</dc:creator>
    <dc:date>2015-01-17T21:37:34Z</dc:date>
    <item>
      <title>Automated daily lookups</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Automated-daily-lookups/m-p/186034#M53598</link>
      <description>&lt;P&gt;index="URL" NOT [inputlookup A_list_Jan1.csv | fields gtld]&lt;BR /&gt;
  | inputlookup A_listJan1.csv  append=true &lt;BR /&gt;
  | dedup gtld &lt;BR /&gt;
  | table gtld &lt;BR /&gt;
  | outputlookup [ | stats count | eval filename=strftime(now(), "B_list%b%d.csv") | return $filename]&lt;/P&gt;

&lt;P&gt;QUESTION:&lt;BR /&gt;
I want to run this search daily. Is there anyway I can automate this search so that "B_list%b%d.csv"  gets inserted as the first "inputlookup".  This would result in the next days outputlookup as "C_list%b%d.csv".&lt;/P&gt;

&lt;P&gt;REASON:&lt;BR /&gt;
I see 100's of new gtld's on daily basis and I'm making a list of "total gtld's seen". &lt;/P&gt;

&lt;P&gt;SECONDARY GOAL:&lt;BR /&gt;
Create a second daily list of only the new gtld's seen for that day.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 18:39:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Automated-daily-lookups/m-p/186034#M53598</guid>
      <dc:creator>MayDayOne</dc:creator>
      <dc:date>2020-09-28T18:39:11Z</dc:date>
    </item>
    <item>
      <title>Re: Automated daily lookups</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Automated-daily-lookups/m-p/186035#M53599</link>
      <description>&lt;P&gt;EDIT:&lt;BR /&gt;
The top two .csv files are the same.&lt;/P&gt;

&lt;P&gt;index="URL" NOT [inputlookup &lt;STRONG&gt;A_listJan1.csv&lt;/STRONG&gt; | fields gtld]&lt;BR /&gt;
 | inputlookup &lt;STRONG&gt;A_listJan1.csv&lt;/STRONG&gt; append=true &lt;/P&gt;</description>
      <pubDate>Sat, 17 Jan 2015 21:37:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Automated-daily-lookups/m-p/186035#M53599</guid>
      <dc:creator>MayDayOne</dc:creator>
      <dc:date>2015-01-17T21:37:34Z</dc:date>
    </item>
    <item>
      <title>Re: Automated daily lookups</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Automated-daily-lookups/m-p/186036#M53600</link>
      <description>&lt;P&gt;You could make one lookup and include the timestamp of when that ID has been first seen. Should kill both birds with one stone, an overall list and - by filtering - a list per day.&lt;/P&gt;</description>
      <pubDate>Sat, 17 Jan 2015 21:38:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Automated-daily-lookups/m-p/186036#M53600</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2015-01-17T21:38:16Z</dc:date>
    </item>
  </channel>
</rss>

