<?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 how to avoid duplicate events only differ in timestamp in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/how-to-avoid-duplicate-events-only-differ-in-timestamp/m-p/25344#M4096</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I want to filter the duplicate events from dashboard which only differ in timestamp how its possible.&lt;BR /&gt;
My log file events are like this.The datas are same but differ by timestamp.How to pick only one event and can show it in dashboard.&lt;/P&gt;

&lt;P&gt;[2012-08-02 06:00:58,723] abcdefgggggg&lt;BR /&gt;
[2012-08-02 06:00:58,724] abcdefgggggg&lt;/P&gt;</description>
    <pubDate>Fri, 03 Aug 2012 14:56:46 GMT</pubDate>
    <dc:creator>john</dc:creator>
    <dc:date>2012-08-03T14:56:46Z</dc:date>
    <item>
      <title>how to avoid duplicate events only differ in timestamp</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/how-to-avoid-duplicate-events-only-differ-in-timestamp/m-p/25344#M4096</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I want to filter the duplicate events from dashboard which only differ in timestamp how its possible.&lt;BR /&gt;
My log file events are like this.The datas are same but differ by timestamp.How to pick only one event and can show it in dashboard.&lt;/P&gt;

&lt;P&gt;[2012-08-02 06:00:58,723] abcdefgggggg&lt;BR /&gt;
[2012-08-02 06:00:58,724] abcdefgggggg&lt;/P&gt;</description>
      <pubDate>Fri, 03 Aug 2012 14:56:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/how-to-avoid-duplicate-events-only-differ-in-timestamp/m-p/25344#M4096</guid>
      <dc:creator>john</dc:creator>
      <dc:date>2012-08-03T14:56:46Z</dc:date>
    </item>
    <item>
      <title>Re: how to avoid duplicate events only differ in timestamp</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/how-to-avoid-duplicate-events-only-differ-in-timestamp/m-p/25345#M4097</link>
      <description>&lt;P&gt;At search time, extract the event body from the timestamp, and use dedup on the field.&lt;/P&gt;

&lt;P&gt;example to test:&lt;BR /&gt;
&lt;PRE&gt;&lt;BR /&gt;
mysearch | rex "\[\d+-\d+-\d+ \d+:\d+\d+,\d+\](?&lt;EVENT&gt;.*)" | dedup event&lt;BR /&gt;
&lt;/EVENT&gt;&lt;/PRE&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Aug 2012 15:02:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/how-to-avoid-duplicate-events-only-differ-in-timestamp/m-p/25345#M4097</guid>
      <dc:creator>yannK</dc:creator>
      <dc:date>2012-08-03T15:02:31Z</dc:date>
    </item>
    <item>
      <title>Re: how to avoid duplicate events only differ in timestamp</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/how-to-avoid-duplicate-events-only-differ-in-timestamp/m-p/25346#M4098</link>
      <description>&lt;P&gt;John, did it worked for you ?&lt;/P&gt;</description>
      <pubDate>Mon, 03 Sep 2012 07:09:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/how-to-avoid-duplicate-events-only-differ-in-timestamp/m-p/25346#M4098</guid>
      <dc:creator>yannK</dc:creator>
      <dc:date>2012-09-03T07:09:57Z</dc:date>
    </item>
  </channel>
</rss>

