<?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: Temporal Input lookups? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Temporal-Input-lookups/m-p/46204#M11045</link>
    <description>&lt;P&gt;The way you have set it up, the time is not bounded, so everything matches. You probably need to add &lt;CODE&gt;max_offset_secs&lt;/CODE&gt; to your transforms.conf stanza&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;max_offset_secs = &amp;lt;integer&amp;gt;
* For temporal lookups, this is the maximum time (in seconds) that the event timestamp can be 
  later than the lookup entry time for a match to occur.
* Default is 2000000000 (no maximum, effectively).
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I copied the above from the Admin manual on transforms.conf.&lt;/P&gt;</description>
    <pubDate>Tue, 27 Nov 2012 19:19:38 GMT</pubDate>
    <dc:creator>lguinn2</dc:creator>
    <dc:date>2012-11-27T19:19:38Z</dc:date>
    <item>
      <title>Temporal Input lookups?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Temporal-Input-lookups/m-p/46203#M11044</link>
      <description>&lt;P&gt;We have been able to successfully use inputlookup with lookup files we have created. However, our lookup files have timestamps that are not being picked up by splunk despite annotating it in the transforms.conf.  We are not currently using automatic lookups. Here is an example of our setup:&lt;/P&gt;

&lt;P&gt;The below is our "lookup" csv file&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;test.csv
    date,interesting_data
    2012-11-09 09:32:34,things that occurred
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;and then this is in our transforms.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; transforms.conf
    [test_lookup_file]
    filename = test.csv
    time_field = date
    time_format = %Y-%m-%d %H:%M:%s
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;We can invoke the inputlookup and return all of the data,but its time is exactly when we did the search IE:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;|inputlookup test_lookup_file |  _time
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;returns nothing&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;|inputlookup test_lookup_file | table date interesting_data
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;returns all of the data in the lookup file.  My assumption is that I am either A: not understanding exactly how temporal lookup files work or B: have a really stupid mistake somewhere.  Any help would be greatly appreciated. &lt;STRONG&gt;Please note, that my data has been sanitized an reviewed, so any typos that exist above are my own fault and not what is currently in the system&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Nov 2012 19:03:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Temporal-Input-lookups/m-p/46203#M11044</guid>
      <dc:creator>bread555</dc:creator>
      <dc:date>2012-11-27T19:03:48Z</dc:date>
    </item>
    <item>
      <title>Re: Temporal Input lookups?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Temporal-Input-lookups/m-p/46204#M11045</link>
      <description>&lt;P&gt;The way you have set it up, the time is not bounded, so everything matches. You probably need to add &lt;CODE&gt;max_offset_secs&lt;/CODE&gt; to your transforms.conf stanza&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;max_offset_secs = &amp;lt;integer&amp;gt;
* For temporal lookups, this is the maximum time (in seconds) that the event timestamp can be 
  later than the lookup entry time for a match to occur.
* Default is 2000000000 (no maximum, effectively).
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I copied the above from the Admin manual on transforms.conf.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Nov 2012 19:19:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Temporal-Input-lookups/m-p/46204#M11045</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2012-11-27T19:19:38Z</dc:date>
    </item>
    <item>
      <title>Re: Temporal Input lookups?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Temporal-Input-lookups/m-p/46205#M11046</link>
      <description>&lt;P&gt;So, I had tried this before, and I think because  I am just trying to pull back the results in splunk raw rather than correlate these offset settings wouldn't apply.&lt;/P&gt;

&lt;P&gt;One of my goals would be to do graphs/statistics on the lookup file WITHOUT injesting it or correlating it. The reason being, that lookup file will be changing frequently (and may even have data that is deleted).  Thus, I don't want to injest it.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Nov 2012 20:48:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Temporal-Input-lookups/m-p/46205#M11046</guid>
      <dc:creator>bread555</dc:creator>
      <dc:date>2012-11-27T20:48:27Z</dc:date>
    </item>
  </channel>
</rss>

