<?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: Stop sending in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Stop-sending/m-p/391330#M95185</link>
    <description>&lt;P&gt;the best way is to see when the last time you got the data into the index and see if that time is &amp;gt; 2 hours&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;|tstats latest(_time) as latest_event WHERE (index=* OR index=_*) by index
|eval timeDiff=now() - latest_event
| where timeDiff &amp;gt; 7200
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;it should show any index which has not recieved data in last 7200 secs (i.e 2hrs)&lt;/P&gt;</description>
    <pubDate>Sat, 25 May 2019 20:44:12 GMT</pubDate>
    <dc:creator>koshyk</dc:creator>
    <dc:date>2019-05-25T20:44:12Z</dc:date>
    <item>
      <title>Stop sending</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Stop-sending/m-p/391329#M95184</link>
      <description>&lt;P&gt;Hi Splunker;&lt;/P&gt;

&lt;P&gt;How to detected a index stop receiving logs from any technology last 2 hours, I need for indexes not sourcetype?&lt;/P&gt;

&lt;P&gt;Appreciate your support. &lt;/P&gt;

&lt;P&gt;Best Regards;&lt;/P&gt;</description>
      <pubDate>Sat, 25 May 2019 18:34:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Stop-sending/m-p/391329#M95184</guid>
      <dc:creator>aalhabbash1</dc:creator>
      <dc:date>2019-05-25T18:34:39Z</dc:date>
    </item>
    <item>
      <title>Re: Stop sending</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Stop-sending/m-p/391330#M95185</link>
      <description>&lt;P&gt;the best way is to see when the last time you got the data into the index and see if that time is &amp;gt; 2 hours&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;|tstats latest(_time) as latest_event WHERE (index=* OR index=_*) by index
|eval timeDiff=now() - latest_event
| where timeDiff &amp;gt; 7200
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;it should show any index which has not recieved data in last 7200 secs (i.e 2hrs)&lt;/P&gt;</description>
      <pubDate>Sat, 25 May 2019 20:44:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Stop-sending/m-p/391330#M95185</guid>
      <dc:creator>koshyk</dc:creator>
      <dc:date>2019-05-25T20:44:12Z</dc:date>
    </item>
    <item>
      <title>Re: Stop sending</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Stop-sending/m-p/391331#M95186</link>
      <description>&lt;P&gt;Mr.Koshyk &lt;/P&gt;

&lt;P&gt;Done; many thank you, this is which I want, appreciate that&lt;/P&gt;

&lt;P&gt;Best Regards; &lt;/P&gt;</description>
      <pubDate>Sun, 26 May 2019 07:49:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Stop-sending/m-p/391331#M95186</guid>
      <dc:creator>aalhabbash1</dc:creator>
      <dc:date>2019-05-26T07:49:15Z</dc:date>
    </item>
  </channel>
</rss>

