<?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: LookUp Files Issues in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/LookUp-Files-Issues/m-p/466539#M191827</link>
    <description>&lt;P&gt;Hi @zacksoft,&lt;BR /&gt;
as I said, you have:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;to read the csv file using a Universal Forwarder (if it's located in a different server than the Indexer) or the monitor function of the Indexer (if it's located in the Indexer);&lt;/LI&gt;
&lt;LI&gt;schedule a search to create your lookup.&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;Only one question: when you read the content of the csv, you add records to the lookup or override it?&lt;BR /&gt;
because, if you override it you could think to don't use the lookup but store the csv in an index and run a simple search on this index: in this way you'll have always updated data.&lt;/P&gt;

&lt;P&gt;Ciao.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
    <pubDate>Tue, 17 Dec 2019 10:45:24 GMT</pubDate>
    <dc:creator>gcusello</dc:creator>
    <dc:date>2019-12-17T10:45:24Z</dc:date>
    <item>
      <title>LookUp Files Issues</title>
      <link>https://community.splunk.com/t5/Splunk-Search/LookUp-Files-Issues/m-p/466536#M191824</link>
      <description>&lt;P&gt;I have a lookup file called PriceFactot.csv. I have defined this lookup table and then in query I use &lt;BR /&gt;
| inputlookup PriceFactor.csv and get my data.&lt;/P&gt;

&lt;P&gt;The thing is,  PriceFactor.csv's content changes twice a day. SO each time I have to upload/define the new lookup in splunk , or else in the query in shows me stale data. &lt;/P&gt;

&lt;P&gt;Is there anyway to make Splunk to keep reading the lookup file or dynamically update itself etc...or any other suggestion??&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2019 10:13:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/LookUp-Files-Issues/m-p/466536#M191824</guid>
      <dc:creator>zacksoft</dc:creator>
      <dc:date>2019-12-17T10:13:31Z</dc:date>
    </item>
    <item>
      <title>Re: LookUp Files Issues</title>
      <link>https://community.splunk.com/t5/Splunk-Search/LookUp-Files-Issues/m-p/466537#M191825</link>
      <description>&lt;P&gt;Hi @zacksoft,&lt;BR /&gt;
you have to schedule a search to automatically update your lookup e.g. twice in a day.&lt;BR /&gt;
You can do it scheduling the lookup update search (the one finishing with &lt;CODE&gt;outputlookup PriceFactor.csv&lt;/CODE&gt;) as an alert (running e.g. at 7.00 and 13.00) so you'll automatically have your lookup updated.&lt;/P&gt;

&lt;P&gt;If you have many records in you lookup, you could also think to use a summary index instead a lookup to update in the same way.&lt;/P&gt;

&lt;P&gt;Ciao.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2019 10:24:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/LookUp-Files-Issues/m-p/466537#M191825</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2019-12-17T10:24:51Z</dc:date>
    </item>
    <item>
      <title>Re: LookUp Files Issues</title>
      <link>https://community.splunk.com/t5/Splunk-Search/LookUp-Files-Issues/m-p/466538#M191826</link>
      <description>&lt;P&gt;The lookup contents are externally updated by another program. I don't have control over it. And the look up is placed in a windows drive folder.  What I am looking for is, to read the lookup automatically so that I can get the updated contents. &lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2019 10:30:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/LookUp-Files-Issues/m-p/466538#M191826</guid>
      <dc:creator>zacksoft</dc:creator>
      <dc:date>2019-12-17T10:30:32Z</dc:date>
    </item>
    <item>
      <title>Re: LookUp Files Issues</title>
      <link>https://community.splunk.com/t5/Splunk-Search/LookUp-Files-Issues/m-p/466539#M191827</link>
      <description>&lt;P&gt;Hi @zacksoft,&lt;BR /&gt;
as I said, you have:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;to read the csv file using a Universal Forwarder (if it's located in a different server than the Indexer) or the monitor function of the Indexer (if it's located in the Indexer);&lt;/LI&gt;
&lt;LI&gt;schedule a search to create your lookup.&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;Only one question: when you read the content of the csv, you add records to the lookup or override it?&lt;BR /&gt;
because, if you override it you could think to don't use the lookup but store the csv in an index and run a simple search on this index: in this way you'll have always updated data.&lt;/P&gt;

&lt;P&gt;Ciao.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2019 10:45:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/LookUp-Files-Issues/m-p/466539#M191827</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2019-12-17T10:45:24Z</dc:date>
    </item>
    <item>
      <title>Re: LookUp Files Issues</title>
      <link>https://community.splunk.com/t5/Splunk-Search/LookUp-Files-Issues/m-p/466540#M191828</link>
      <description>&lt;P&gt;Thanks @gcusello . It overrides. It doesn't  add records. &lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2019 10:50:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/LookUp-Files-Issues/m-p/466540#M191828</guid>
      <dc:creator>zacksoft</dc:creator>
      <dc:date>2019-12-17T10:50:01Z</dc:date>
    </item>
    <item>
      <title>Re: LookUp Files Issues</title>
      <link>https://community.splunk.com/t5/Splunk-Search/LookUp-Files-Issues/m-p/466541#M191829</link>
      <description>&lt;P&gt;Hi @zacksoft,&lt;BR /&gt;
check what's the execution time and the number of results: if the search isn't heavy and you have less that 50,000 results, you can use it in your searches.&lt;BR /&gt;
Anyway, you can schedule the search to populate the lookup.&lt;/P&gt;

&lt;P&gt;Ciao.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2019 11:20:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/LookUp-Files-Issues/m-p/466541#M191829</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2019-12-17T11:20:47Z</dc:date>
    </item>
  </channel>
</rss>

