<?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: Search for logs before and after given timestamp in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Search-for-logs-before-and-after-given-timestamp/m-p/58183#M11399</link>
    <description>&lt;P&gt;Looked over localize, but I'm not sure how to get what I need. Use case is I'm given an IP Address and a timestamp for an event. I then have user logon/logoff logs that have the IP address. So, with the given information, I need to find the associated logon and logoff log that bookmarks the provided timestamp for that IP.&lt;/P&gt;

&lt;P&gt;Does this make sense? How can I get this, using localize+map commands or any other means?&lt;/P&gt;</description>
    <pubDate>Mon, 09 Sep 2013 20:18:10 GMT</pubDate>
    <dc:creator>ryanholland</dc:creator>
    <dc:date>2013-09-09T20:18:10Z</dc:date>
    <item>
      <title>Search for logs before and after given timestamp</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Search-for-logs-before-and-after-given-timestamp/m-p/58181#M11397</link>
      <description>&lt;P&gt;I would like to be able to provide a timestamp and have splunk return the log nearest/before the timestamp and nearest/after the timestamp, essentially bookending the provided timestamp.&lt;/P&gt;

&lt;P&gt;The use case is that a report is given to me with an "event" occurring at a give timestamp. I want to search and find the authentication "start" and authentication "stop" messages for the device/user associated with the event that encompass the timestamp.&lt;/P&gt;

&lt;P&gt;Ideas?&lt;/P&gt;</description>
      <pubDate>Mon, 09 Sep 2013 19:55:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Search-for-logs-before-and-after-given-timestamp/m-p/58181#M11397</guid>
      <dc:creator>ryanholland</dc:creator>
      <dc:date>2013-09-09T19:55:26Z</dc:date>
    </item>
    <item>
      <title>Re: Search for logs before and after given timestamp</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Search-for-logs-before-and-after-given-timestamp/m-p/58182#M11398</link>
      <description>&lt;P&gt;Have a look at the &lt;CODE&gt;localize&lt;/CODE&gt; command. &lt;A href="http://docs.splunk.com/Documentation/Splunk/5.0/SearchReference/Localize"&gt;http://docs.splunk.com/Documentation/Splunk/5.0/SearchReference/Localize&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Sep 2013 20:02:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Search-for-logs-before-and-after-given-timestamp/m-p/58182#M11398</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2013-09-09T20:02:11Z</dc:date>
    </item>
    <item>
      <title>Re: Search for logs before and after given timestamp</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Search-for-logs-before-and-after-given-timestamp/m-p/58183#M11399</link>
      <description>&lt;P&gt;Looked over localize, but I'm not sure how to get what I need. Use case is I'm given an IP Address and a timestamp for an event. I then have user logon/logoff logs that have the IP address. So, with the given information, I need to find the associated logon and logoff log that bookmarks the provided timestamp for that IP.&lt;/P&gt;

&lt;P&gt;Does this make sense? How can I get this, using localize+map commands or any other means?&lt;/P&gt;</description>
      <pubDate>Mon, 09 Sep 2013 20:18:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Search-for-logs-before-and-after-given-timestamp/m-p/58183#M11399</guid>
      <dc:creator>ryanholland</dc:creator>
      <dc:date>2013-09-09T20:18:10Z</dc:date>
    </item>
    <item>
      <title>Re: Search for logs before and after given timestamp</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Search-for-logs-before-and-after-given-timestamp/m-p/58184#M11400</link>
      <description>&lt;P&gt;If it's not so much a matter of getting events based on time, but rather the IP address, it sounds like a subsearch could be more useful? &lt;A href="http://docs.splunk.com/Documentation/Splunk/5.0.2/Tutorial/Useasubsearch"&gt;http://docs.splunk.com/Documentation/Splunk/5.0.2/Tutorial/Useasubsearch&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2013 07:28:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Search-for-logs-before-and-after-given-timestamp/m-p/58184#M11400</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2013-09-10T07:28:30Z</dc:date>
    </item>
  </channel>
</rss>

