<?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 do I detect a gap in a sequence of items? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-detect-a-gap-in-a-sequence-of-items/m-p/89101#M182212</link>
    <description>&lt;P&gt;In the end I found that the following worked reasonably well:&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;sourcetype=XXX | sort id_field | delta id_field as id_diff &lt;BR /&gt;
| search id_diff&amp;gt;1 | table id_field, id_diff&lt;/CODE&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 26 Apr 2011 15:49:26 GMT</pubDate>
    <dc:creator>raoul</dc:creator>
    <dc:date>2011-04-26T15:49:26Z</dc:date>
    <item>
      <title>How do I detect a gap in a sequence of items?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-detect-a-gap-in-a-sequence-of-items/m-p/89099#M182210</link>
      <description>&lt;P&gt;I have a number of events reaching Splunk. Each event has an ID which is a simple sequential number. &lt;/P&gt;

&lt;P&gt;Is there a way (ideally a Splunk query) of detecting gaps in the sequence?&lt;/P&gt;</description>
      <pubDate>Tue, 26 Apr 2011 14:59:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-detect-a-gap-in-a-sequence-of-items/m-p/89099#M182210</guid>
      <dc:creator>raoul</dc:creator>
      <dc:date>2011-04-26T14:59:54Z</dc:date>
    </item>
    <item>
      <title>Re: How do I detect a gap in a sequence of items?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-detect-a-gap-in-a-sequence-of-items/m-p/89100#M182211</link>
      <description>&lt;P&gt;Splunk's &lt;A href="http://www.splunk.com/base/Documentation/latest/Admin/ITDataSigning"&gt;IT Data Signing&lt;/A&gt; feature allows you to find gaps in the data. IT data signing will:&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;...displays information as to whether&lt;BR /&gt;
the block of IT data has gaps, has&lt;BR /&gt;
been tampered with, or is valid (no&lt;BR /&gt;
gaps or tampering).&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Tue, 26 Apr 2011 15:44:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-detect-a-gap-in-a-sequence-of-items/m-p/89100#M182211</guid>
      <dc:creator>LukeMurphey</dc:creator>
      <dc:date>2011-04-26T15:44:59Z</dc:date>
    </item>
    <item>
      <title>Re: How do I detect a gap in a sequence of items?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-detect-a-gap-in-a-sequence-of-items/m-p/89101#M182212</link>
      <description>&lt;P&gt;In the end I found that the following worked reasonably well:&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;sourcetype=XXX | sort id_field | delta id_field as id_diff &lt;BR /&gt;
| search id_diff&amp;gt;1 | table id_field, id_diff&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Apr 2011 15:49:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-detect-a-gap-in-a-sequence-of-items/m-p/89101#M182212</guid>
      <dc:creator>raoul</dc:creator>
      <dc:date>2011-04-26T15:49:26Z</dc:date>
    </item>
    <item>
      <title>Re: How do I detect a gap in a sequence of items?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-detect-a-gap-in-a-sequence-of-items/m-p/89102#M182213</link>
      <description>&lt;P&gt;the 'gaps' as meant by the data signing stuff are pretty different -- there it means some data destined for the indexer never made it there, perhaps through malicious activities.  Raoul is just looking for gaps in a numeric sequence.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Apr 2011 17:14:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-detect-a-gap-in-a-sequence-of-items/m-p/89102#M182213</guid>
      <dc:creator>sideview</dc:creator>
      <dc:date>2011-04-26T17:14:33Z</dc:date>
    </item>
  </channel>
</rss>

