<?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 Dedup within a time range in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Dedup-within-a-time-range/m-p/399892#M115900</link>
    <description>&lt;P&gt;I need to chart the sum of the values of a field by the value of another field over time (e.g. the sum of values of field A for all events that share the same value for field B). However, there is also a third field (field C), and if two events have same value for field C, I don't want them both included in the sum.&lt;/P&gt;

&lt;P&gt;Generally, events with the same value for field C will be logged in Splunk at 2 minute intervals, but creating a timechart with a span of 2 minutes doesn't work perfectly because the time can be slightly more or less than 2 minutes. Is there a way to dedup events with the same field C within a certain time range? Or any other way to achieve this?&lt;/P&gt;</description>
    <pubDate>Fri, 22 Jun 2018 00:07:46 GMT</pubDate>
    <dc:creator>eolg</dc:creator>
    <dc:date>2018-06-22T00:07:46Z</dc:date>
    <item>
      <title>Dedup within a time range</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Dedup-within-a-time-range/m-p/399892#M115900</link>
      <description>&lt;P&gt;I need to chart the sum of the values of a field by the value of another field over time (e.g. the sum of values of field A for all events that share the same value for field B). However, there is also a third field (field C), and if two events have same value for field C, I don't want them both included in the sum.&lt;/P&gt;

&lt;P&gt;Generally, events with the same value for field C will be logged in Splunk at 2 minute intervals, but creating a timechart with a span of 2 minutes doesn't work perfectly because the time can be slightly more or less than 2 minutes. Is there a way to dedup events with the same field C within a certain time range? Or any other way to achieve this?&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jun 2018 00:07:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Dedup-within-a-time-range/m-p/399892#M115900</guid>
      <dc:creator>eolg</dc:creator>
      <dc:date>2018-06-22T00:07:46Z</dc:date>
    </item>
    <item>
      <title>Re: Dedup within a time range</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Dedup-within-a-time-range/m-p/399893#M115901</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;(your search)|bin span=2m _time|dedup _time,field_C
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Can you do it?&lt;BR /&gt;
 I think that the condition is missing. Please present sample log.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jun 2018 01:49:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Dedup-within-a-time-range/m-p/399893#M115901</guid>
      <dc:creator>HiroshiSatoh</dc:creator>
      <dc:date>2018-06-22T01:49:44Z</dc:date>
    </item>
    <item>
      <title>Re: Dedup within a time range</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Dedup-within-a-time-range/m-p/399894#M115902</link>
      <description>&lt;P&gt;This worked perfectly! Thank you!&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jun 2018 17:05:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Dedup-within-a-time-range/m-p/399894#M115902</guid>
      <dc:creator>eolg</dc:creator>
      <dc:date>2018-06-25T17:05:08Z</dc:date>
    </item>
    <item>
      <title>Re: Dedup within a time range</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Dedup-within-a-time-range/m-p/399895#M115903</link>
      <description>&lt;P&gt;@eolg, &lt;BR /&gt;
if it solved your questin, kindly accept the answer so other will know this solution worked for you&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jun 2018 23:38:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Dedup-within-a-time-range/m-p/399895#M115903</guid>
      <dc:creator>adonio</dc:creator>
      <dc:date>2018-06-25T23:38:57Z</dc:date>
    </item>
    <item>
      <title>Re: Dedup within a time range</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Dedup-within-a-time-range/m-p/399896#M115904</link>
      <description>&lt;P&gt;what does field_C supposed to do??&lt;/P&gt;</description>
      <pubDate>Tue, 30 Oct 2018 19:46:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Dedup-within-a-time-range/m-p/399896#M115904</guid>
      <dc:creator>tegamax</dc:creator>
      <dc:date>2018-10-30T19:46:27Z</dc:date>
    </item>
  </channel>
</rss>

