<?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 Splunk Query help to find time difference in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Splunk-Query-help-to-find-time-difference/m-p/469276#M132061</link>
    <description>&lt;P&gt;For last 30 days(which i will select in time filter) I would like to get the count of field X only if it is older than 7days from current time.&lt;/P&gt;</description>
    <pubDate>Thu, 24 Oct 2019 16:53:32 GMT</pubDate>
    <dc:creator>NAVEEN_CTS</dc:creator>
    <dc:date>2019-10-24T16:53:32Z</dc:date>
    <item>
      <title>Splunk Query help to find time difference</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-Query-help-to-find-time-difference/m-p/469276#M132061</link>
      <description>&lt;P&gt;For last 30 days(which i will select in time filter) I would like to get the count of field X only if it is older than 7days from current time.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Oct 2019 16:53:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-Query-help-to-find-time-difference/m-p/469276#M132061</guid>
      <dc:creator>NAVEEN_CTS</dc:creator>
      <dc:date>2019-10-24T16:53:32Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Query help to find time difference</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-Query-help-to-find-time-difference/m-p/469277#M132062</link>
      <description>&lt;P&gt;Doesn't this work for you?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=&amp;lt;yourindex&amp;gt; earliest=-30d latest=-7d | stats count(X)
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 24 Oct 2019 18:25:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-Query-help-to-find-time-difference/m-p/469277#M132062</guid>
      <dc:creator>tiagofbmm</dc:creator>
      <dc:date>2019-10-24T18:25:53Z</dc:date>
    </item>
  </channel>
</rss>

