<?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: How to use time-base-lookup? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-time-base-lookup/m-p/149115#M41664</link>
    <description>&lt;P&gt;dolivasoh,Thank you for your response.&lt;/P&gt;

&lt;P&gt;I have tried outputting the field as "index=test | lookup test ip output unit | table _time,unit,ip".&lt;/P&gt;

&lt;P&gt;However , I don't get "unit" field.&lt;/P&gt;</description>
    <pubDate>Tue, 06 Jan 2015 00:44:15 GMT</pubDate>
    <dc:creator>akanno</dc:creator>
    <dc:date>2015-01-06T00:44:15Z</dc:date>
    <item>
      <title>How to use time-base-lookup?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-time-base-lookup/m-p/149111#M41660</link>
      <description>&lt;P&gt;Hi,Splunk community.&lt;/P&gt;

&lt;P&gt;I have a question about time-base-lookup.&lt;/P&gt;

&lt;P&gt;I set following attribute to transforms.conf&lt;/P&gt;

&lt;P&gt;[test]&lt;BR /&gt;
collection = test&lt;BR /&gt;
external_type = kvstore&lt;BR /&gt;
fields_list = ip,unit,time&lt;BR /&gt;
time_field = time&lt;BR /&gt;
time_format = %d/%m/%y/%H&lt;/P&gt;

&lt;P&gt;and I set following attribute to collections.conf.&lt;/P&gt;

&lt;P&gt;[test]&lt;/P&gt;

&lt;P&gt;Result of "| inputlookup test" is following.&lt;/P&gt;

&lt;P&gt;ip  time    unit&lt;BR /&gt;
192.168.150.81  09/12/14/18 B部&lt;BR /&gt;
192.168.150.6   09/12/14/18 A部&lt;BR /&gt;
192.168.150.81  09/12/14/17 D部&lt;BR /&gt;
192.168.150.6   09/12/14/17 C部&lt;/P&gt;

&lt;P&gt;I search by "index=test | lookup test ip".&lt;BR /&gt;
However lookup does not work.&lt;/P&gt;

&lt;P&gt;Why doesn't work?&lt;BR /&gt;
Is there a way to solve?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 18:21:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-use-time-base-lookup/m-p/149111#M41660</guid>
      <dc:creator>akanno</dc:creator>
      <dc:date>2020-09-28T18:21:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to use time-base-lookup?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-time-base-lookup/m-p/149112#M41661</link>
      <description>&lt;P&gt;You had it right with "| inputlookup test", just continue your search from there or use the lookup table as enrichment to indexed data. Lookups do no go in the index.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jan 2015 02:54:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-use-time-base-lookup/m-p/149112#M41661</guid>
      <dc:creator>dolivasoh</dc:creator>
      <dc:date>2015-01-01T02:54:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to use time-base-lookup?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-time-base-lookup/m-p/149113#M41662</link>
      <description>&lt;P&gt;Results when I search in "index=test | table _time,ip" are following.&lt;/P&gt;

&lt;P&gt;results&lt;BR /&gt;
_time   ip&lt;BR /&gt;
2014-12-09 18:00:01 192.168.150.81&lt;BR /&gt;
2014-12-09 18:00:01 192.168.150.81&lt;BR /&gt;
2014-12-09 18:00:01 192.168.150.6&lt;/P&gt;

&lt;P&gt;If lookup correctly works ,  results when I search "index=test | lookup test ip | table _time,unit,ip" are like following.&lt;/P&gt;

&lt;P&gt;results&lt;BR /&gt;
_time   unit    ip&lt;BR /&gt;
2014-12-09 18:00:01 B部    192.168.150.81&lt;BR /&gt;
2014-12-09 18:00:01 B部    192.168.150.81&lt;BR /&gt;
2014-12-09 18:00:01 A部    192.168.150.6&lt;/P&gt;

&lt;P&gt;However , I don't get the above results.&lt;BR /&gt;
why can't I get the above result?&lt;BR /&gt;
Results I get are following&lt;/P&gt;

&lt;P&gt;results&lt;BR /&gt;
_time   unit    ip&lt;BR /&gt;
2014-12-09 18:00:01     192.168.150.81&lt;BR /&gt;
2014-12-09 18:00:01     192.168.150.81&lt;BR /&gt;
2014-12-09 18:00:01     192.168.150.6&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jan 2015 02:08:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-use-time-base-lookup/m-p/149113#M41662</guid>
      <dc:creator>akanno</dc:creator>
      <dc:date>2015-01-05T02:08:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to use time-base-lookup?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-time-base-lookup/m-p/149114#M41663</link>
      <description>&lt;P&gt;Try outputting the field you want from the lookup table, lookup {{table_name}} {{input_field}} output {{output_field}}&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 18:31:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-use-time-base-lookup/m-p/149114#M41663</guid>
      <dc:creator>dolivasoh</dc:creator>
      <dc:date>2020-09-28T18:31:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to use time-base-lookup?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-time-base-lookup/m-p/149115#M41664</link>
      <description>&lt;P&gt;dolivasoh,Thank you for your response.&lt;/P&gt;

&lt;P&gt;I have tried outputting the field as "index=test | lookup test ip output unit | table _time,unit,ip".&lt;/P&gt;

&lt;P&gt;However , I don't get "unit" field.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jan 2015 00:44:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-use-time-base-lookup/m-p/149115#M41664</guid>
      <dc:creator>akanno</dc:creator>
      <dc:date>2015-01-06T00:44:15Z</dc:date>
    </item>
  </channel>
</rss>

