<?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: Splunk Time difference search in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Splunk-Time-difference-search/m-p/562731#M196079</link>
    <description>&lt;LI-CODE lang="markup"&gt;| stats latest(_time) as lastreport by server
| where now()-lastreport &amp;gt; 12*60*60&lt;/LI-CODE&gt;</description>
    <pubDate>Tue, 10 Aug 2021 12:05:09 GMT</pubDate>
    <dc:creator>ITWhisperer</dc:creator>
    <dc:date>2021-08-10T12:05:09Z</dc:date>
    <item>
      <title>Splunk Time difference search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-Time-difference-search/m-p/562722#M196075</link>
      <description>&lt;P&gt;I have two results of servers list as per last 30 days and last 12 hrs. I want to compare and find out which servers are not reporting in 12 hrs list. What can be the query for it.&lt;BR /&gt;Little new in Splunk.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Aug 2021 10:55:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-Time-difference-search/m-p/562722#M196075</guid>
      <dc:creator>Sirius27</dc:creator>
      <dc:date>2021-08-10T10:55:26Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Time difference search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-Time-difference-search/m-p/562731#M196079</link>
      <description>&lt;LI-CODE lang="markup"&gt;| stats latest(_time) as lastreport by server
| where now()-lastreport &amp;gt; 12*60*60&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 10 Aug 2021 12:05:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-Time-difference-search/m-p/562731#M196079</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-08-10T12:05:09Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Time difference search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-Time-difference-search/m-p/563146#M196211</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;That worked wonderfully, but I'm not getting what type of output is coming lastreport as&amp;nbsp; some 10 numbers of digit is coming in it.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Aug 2021 06:37:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-Time-difference-search/m-p/563146#M196211</guid>
      <dc:creator>Sirius_27</dc:creator>
      <dc:date>2021-08-13T06:37:48Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Time difference search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-Time-difference-search/m-p/563147#M196212</link>
      <description>&lt;P&gt;lastreport will be an epoch time i.e. the number of seconds since the beginning of 1970. Use strftime to format how it is displayed&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| fieldformat lastreport=strftime(lastreport,"%Y/%m/%d %H:%M:%S")&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Aug 2021 06:42:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-Time-difference-search/m-p/563147#M196212</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-08-13T06:42:23Z</dc:date>
    </item>
  </channel>
</rss>

