<?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 DB Connect Temporal Lookup - does it exist? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/DB-Connect-Temporal-Lookup-does-it-exist/m-p/398841#M115652</link>
    <description>&lt;P&gt;Hi.  &lt;/P&gt;

&lt;P&gt;I am trying to figure out how to put together a time based lookup using the DBX conduit, connected to a radius session table.  Radius table has start/stop times and IP.  Original event table has IP and event time.  It feels like I need to do something like this:&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Lookup SQL&lt;/STRONG&gt;:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;SELECT * from `radius`.`radiusacct`
WHERE acctstarttime &amp;lt; @eventTime 
AND (@eventTime &amp;gt; acctstoptime OR acctstoptime IS NULL)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;Field Mapping&lt;/STRONG&gt;:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Event IP --&amp;gt; Radius IP
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;But I don't think I am able to call out things like @eventTime in the SQL Query, am I?  &lt;/P&gt;

&lt;P&gt;Any ideas on how to accomplish?&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;

&lt;P&gt;Dave&lt;/P&gt;</description>
    <pubDate>Tue, 20 Nov 2018 18:22:58 GMT</pubDate>
    <dc:creator>newbernd</dc:creator>
    <dc:date>2018-11-20T18:22:58Z</dc:date>
    <item>
      <title>DB Connect Temporal Lookup - does it exist?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/DB-Connect-Temporal-Lookup-does-it-exist/m-p/398841#M115652</link>
      <description>&lt;P&gt;Hi.  &lt;/P&gt;

&lt;P&gt;I am trying to figure out how to put together a time based lookup using the DBX conduit, connected to a radius session table.  Radius table has start/stop times and IP.  Original event table has IP and event time.  It feels like I need to do something like this:&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Lookup SQL&lt;/STRONG&gt;:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;SELECT * from `radius`.`radiusacct`
WHERE acctstarttime &amp;lt; @eventTime 
AND (@eventTime &amp;gt; acctstoptime OR acctstoptime IS NULL)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;Field Mapping&lt;/STRONG&gt;:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Event IP --&amp;gt; Radius IP
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;But I don't think I am able to call out things like @eventTime in the SQL Query, am I?  &lt;/P&gt;

&lt;P&gt;Any ideas on how to accomplish?&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;

&lt;P&gt;Dave&lt;/P&gt;</description>
      <pubDate>Tue, 20 Nov 2018 18:22:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/DB-Connect-Temporal-Lookup-does-it-exist/m-p/398841#M115652</guid>
      <dc:creator>newbernd</dc:creator>
      <dc:date>2018-11-20T18:22:58Z</dc:date>
    </item>
  </channel>
</rss>

