<?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: Duplicate data (_raw) in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-seeing-Duplicate-data-raw/m-p/654612#M110951</link>
    <description>&lt;P&gt;Other duplications can come from how your logs are managed at source, e.g.&amp;nbsp; are they replicated across multiple servers, or are they renamed and picked up multiple times. Try these to find these sorts of occurrences.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index="indexname"
| stats values(source) AS source count by _raw
| where count&amp;gt;1&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;index="indexname"
| stats values(host) AS host count by _raw
| where count&amp;gt;1&lt;/LI-CODE&gt;</description>
    <pubDate>Thu, 17 Aug 2023 07:12:52 GMT</pubDate>
    <dc:creator>ITWhisperer</dc:creator>
    <dc:date>2023-08-17T07:12:52Z</dc:date>
    <item>
      <title>Why am I seeing Duplicate data (_raw)?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-seeing-Duplicate-data-raw/m-p/654595#M110946</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I could see duplicate data in splunk by using below query&lt;/P&gt;
&lt;P&gt;index="indexname"&lt;BR /&gt;| stats count by _raw&lt;BR /&gt;| where count &amp;gt;1&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I checked 10 different indexes out of which 8 indexes are having duplicate logs&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Aug 2023 18:01:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-seeing-Duplicate-data-raw/m-p/654595#M110946</guid>
      <dc:creator>VijaySrrie</dc:creator>
      <dc:date>2023-08-17T18:01:30Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate data (_raw)</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-seeing-Duplicate-data-raw/m-p/654600#M110947</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/164779"&gt;@VijaySrrie&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;you have to analyze your data sources: some of them aren't correctly configurated.&lt;/P&gt;&lt;P&gt;The most common misconfigurations are the following:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;installed forwarders in an active/active cluster,&lt;/LI&gt;&lt;LI&gt;receiving syslog using two syslog servers but without a Load Balancer,&lt;/LI&gt;&lt;LI&gt;use the crcSal = &amp;lt;SOURCE&amp;gt; with logs that rotate or tar the old files.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;the first job should be, using the following search, undertanding of what are the duplicated data source:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index="indexname"
| stats values(sourcetype) AS sourcetype count by _raw
| where count&amp;gt;1&lt;/LI-CODE&gt;&lt;P&gt;in this way you have the list of duplicated sourcetypes and you can focus your analyis on those sourcetypes.&lt;/P&gt;&lt;P&gt;Then, if the duplicated sourcetypes come from a cluster or syslogs, you should analize your architecture to understand eventual duplications.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Thu, 17 Aug 2023 06:44:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-seeing-Duplicate-data-raw/m-p/654600#M110947</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2023-08-17T06:44:42Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate data (_raw)</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-seeing-Duplicate-data-raw/m-p/654612#M110951</link>
      <description>&lt;P&gt;Other duplications can come from how your logs are managed at source, e.g.&amp;nbsp; are they replicated across multiple servers, or are they renamed and picked up multiple times. Try these to find these sorts of occurrences.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index="indexname"
| stats values(source) AS source count by _raw
| where count&amp;gt;1&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;index="indexname"
| stats values(host) AS host count by _raw
| where count&amp;gt;1&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 17 Aug 2023 07:12:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-seeing-Duplicate-data-raw/m-p/654612#M110951</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2023-08-17T07:12:52Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate data (_raw)</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-seeing-Duplicate-data-raw/m-p/654665#M110966</link>
      <description>&lt;P&gt;Apart from the issues already covered by &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225168"&gt;@ITWhisperer&lt;/a&gt; and &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt; there is also the possibility of duplication caused by useACK parameter, communication problems and retrasnsmission. Check your _internal log for "possible duplication".&lt;/P&gt;</description>
      <pubDate>Thu, 17 Aug 2023 11:51:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-seeing-Duplicate-data-raw/m-p/654665#M110966</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2023-08-17T11:51:57Z</dc:date>
    </item>
  </channel>
</rss>

