<?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: Cumulative time based (temporal) lookups possible? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Cumulative-time-based-temporal-lookups-possible/m-p/106935#M27822</link>
    <description>&lt;P&gt;Ah good to know about the sequence they are run. Thanks&lt;/P&gt;</description>
    <pubDate>Fri, 26 Apr 2013 02:53:18 GMT</pubDate>
    <dc:creator>phoenixdigital</dc:creator>
    <dc:date>2013-04-26T02:53:18Z</dc:date>
    <item>
      <title>Cumulative time based (temporal) lookups possible?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Cumulative-time-based-temporal-lookups-possible/m-p/106930#M27817</link>
      <description>&lt;P&gt;I have some data in Splunk that I would like to link to some external CSV files &lt;/P&gt;

&lt;P&gt;Splunk events have this format&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;_time, data, link1
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The first CSV will be a time based lookup based on link1&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;dd/mm/yyyy, link1, link2, link3, data2, data3
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The second CSV file will be another time based lookup but using data from first CSV to link (link2, link3)&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;dd/mm/yyyy, link2, link3, data4, data5
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;So I have have successfully linked the first CSV via this method&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/5.0.2/Knowledge/Addfieldsfromexternaldatasources#Set_up_a_time-based_fields_lookup"&gt;http://docs.splunk.com/Documentation/Splunk/5.0.2/Knowledge/Addfieldsfromexternaldatasources#Set_up_a_time-based_fields_lookup&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;What I want to know is if these lookups are cumulative?&lt;/P&gt;

&lt;P&gt;ie will the second temporal lookup allow the use of results linked from the first lookup?&lt;/P&gt;

&lt;P&gt;Or should I just go down the external script lookup route?&lt;/P&gt;</description>
      <pubDate>Fri, 26 Apr 2013 01:28:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Cumulative-time-based-temporal-lookups-possible/m-p/106930#M27817</guid>
      <dc:creator>phoenixdigital</dc:creator>
      <dc:date>2013-04-26T01:28:27Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative time based (temporal) lookups possible?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Cumulative-time-based-temporal-lookups-possible/m-p/106931#M27818</link>
      <description>&lt;P&gt;I just did a test and it doesnt appear to work. But any suggestion on how to achieve this would be great.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Apr 2013 01:59:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Cumulative-time-based-temporal-lookups-possible/m-p/106931#M27818</guid>
      <dc:creator>phoenixdigital</dc:creator>
      <dc:date>2013-04-26T01:59:53Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative time based (temporal) lookups possible?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Cumulative-time-based-temporal-lookups-possible/m-p/106932#M27819</link>
      <description>&lt;P&gt;Scratch that is was an issue with my props.conf&lt;/P&gt;

&lt;P&gt;IT WORKS!&lt;/P&gt;</description>
      <pubDate>Fri, 26 Apr 2013 02:19:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Cumulative-time-based-temporal-lookups-possible/m-p/106932#M27819</guid>
      <dc:creator>phoenixdigital</dc:creator>
      <dc:date>2013-04-26T02:19:25Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative time based (temporal) lookups possible?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Cumulative-time-based-temporal-lookups-possible/m-p/106933#M27820</link>
      <description>&lt;P&gt;Yes, they will run in sequence. The order is determined by the lexicographic order, so that LOOKUP-a will run before LOOKUP-b.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Apr 2013 02:50:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Cumulative-time-based-temporal-lookups-possible/m-p/106933#M27820</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2013-04-26T02:50:38Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative time based (temporal) lookups possible?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Cumulative-time-based-temporal-lookups-possible/m-p/106934#M27821</link>
      <description>&lt;P&gt;Just posting the solution here in case someone else wants to know how it is done&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;transforms.conf&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[customerLookup]
filename=customer-details.csv
time_field=contract_start
time_format = %d/%m/%Y

[chargesLookup]
filename=charges.csv
time_field=date
time_format = %d/%m/%Y
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;props.conf&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[usage-data]
LOOKUP-customerCSV = customerLookup link1 OUTPUT link2 link3 data2 data3
LOOKUP-injectionChargesCSV = chargesLookup link2 link3 OUTPUT data4 data5
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;It works perfectly so its good to know this is possible.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Apr 2013 02:52:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Cumulative-time-based-temporal-lookups-possible/m-p/106934#M27821</guid>
      <dc:creator>phoenixdigital</dc:creator>
      <dc:date>2013-04-26T02:52:37Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative time based (temporal) lookups possible?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Cumulative-time-based-temporal-lookups-possible/m-p/106935#M27822</link>
      <description>&lt;P&gt;Ah good to know about the sequence they are run. Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 26 Apr 2013 02:53:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Cumulative-time-based-temporal-lookups-possible/m-p/106935#M27822</guid>
      <dc:creator>phoenixdigital</dc:creator>
      <dc:date>2013-04-26T02:53:18Z</dc:date>
    </item>
  </channel>
</rss>

