<?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 do a time based search for router logs? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-do-a-time-based-search-for-router-logs/m-p/364641#M107569</link>
    <description>&lt;P&gt;we have 6.5.2, so will give it a try, thanks for the reply.&lt;/P&gt;</description>
    <pubDate>Fri, 17 Mar 2017 19:03:12 GMT</pubDate>
    <dc:creator>salmanrc</dc:creator>
    <dc:date>2017-03-17T19:03:12Z</dc:date>
    <item>
      <title>How to do a time based search for router logs?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-do-a-time-based-search-for-router-logs/m-p/364639#M107567</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;
I am new to Splunk, so trying to get familiarize with it. I want to do a time based search for router logs, for example.&lt;/P&gt;

&lt;P&gt;I have a Syslog A and a syslog B. Trying to do a search such that the search should show results if Syslog B occurred within 60 mins of Syslog A.&lt;/P&gt;

&lt;P&gt;Any help is appreciated. thanks&lt;/P&gt;</description>
      <pubDate>Thu, 16 Mar 2017 14:37:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-do-a-time-based-search-for-router-logs/m-p/364639#M107567</guid>
      <dc:creator>salmanrc</dc:creator>
      <dc:date>2017-03-16T14:37:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to do a time based search for router logs?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-do-a-time-based-search-for-router-logs/m-p/364640#M107568</link>
      <description>&lt;P&gt;what version of Splunk are you on? 6.5 has a new option for &lt;CODE&gt;streamstats&lt;/CODE&gt; called &lt;CODE&gt;time_window&lt;/CODE&gt; that allows you to look at a window of time (in your case, 1 hour) and you can group events together that way.&lt;/P&gt;

&lt;P&gt;maybe something like (depending on your data): &lt;CODE&gt;|sort 0 _time|streamstats values(syslogA) as syslogA by syslogB time_window=60m&lt;/CODE&gt; &lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/6.5.2/SearchReference/Streamstats"&gt;https://docs.splunk.com/Documentation/Splunk/6.5.2/SearchReference/Streamstats&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Mar 2017 17:25:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-do-a-time-based-search-for-router-logs/m-p/364640#M107568</guid>
      <dc:creator>cmerriman</dc:creator>
      <dc:date>2017-03-16T17:25:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to do a time based search for router logs?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-do-a-time-based-search-for-router-logs/m-p/364641#M107569</link>
      <description>&lt;P&gt;we have 6.5.2, so will give it a try, thanks for the reply.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Mar 2017 19:03:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-do-a-time-based-search-for-router-logs/m-p/364641#M107569</guid>
      <dc:creator>salmanrc</dc:creator>
      <dc:date>2017-03-17T19:03:12Z</dc:date>
    </item>
  </channel>
</rss>

