<?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: File ingested generates another file with the same data which results in data duplication in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/File-ingested-generates-another-file-with-the-same-data-which/m-p/510119#M86733</link>
    <description>&lt;P&gt;What changed in the past week?&lt;/P&gt;&lt;P&gt;Consider modifying the inputs.conf file to reduce duplication.&amp;nbsp; Either this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[monitor:///opt/splunk/CompanyX/DAILY/*.txt]
disabled = false
index=gpw_daily
sourcetype=gpw_csv
crcSalt=&amp;lt;SOURCE&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;or this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[monitor:///opt/splunk/CompanyX/DAILY/*]
disabled = false
index=gpw_daily
sourcetype=gpw_csv
crcSalt=&amp;lt;SOURCE&amp;gt;
whitelist = *.txt&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 20 Jul 2020 21:00:50 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2020-07-20T21:00:50Z</dc:date>
    <item>
      <title>File ingested generates another file with the same data which results in data duplication</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/File-ingested-generates-another-file-with-the-same-data-which/m-p/510101#M86732</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi Splunk Experts I have this kind of problem which confuses me. The file being ingested generates another file which has a different filename format but contains the same data. Please see the examples of the data being generated below. &lt;STRONG&gt;(I dont want to use dedup function as well as the scheduled query with piping delete function because it doesnt resolve the root cause problem)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;/opt/splunk/CompanyX/DAILY/JUL-20_GPW_DAILY_2020_AS_OF_07212020.txt &lt;STRONG&gt;(original)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;/opt/splunk/CompanyX/DAILY/.JUL-20_GPW_DAILY_2020_AS_OF_07212020.txt.tokUbm &lt;STRONG&gt;(generated)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;/opt/splunk/CompanyX/DAILY/JUL-19_GPW_DAILY_2020_AS_OF_07202020.txt&amp;nbsp;&lt;STRONG&gt;(original)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;/opt/splunk/CompanyX/DAILY/.JUL-19_GPW_DAILY_2020_AS_OF_07202020.txt.MjSIIF&lt;STRONG&gt;(generated)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;/opt/splunk/CompanyX/DAILY/JUL-18_GPW_DAILY_2020_AS_OF_07192020.txt&amp;nbsp;&lt;STRONG&gt;(original)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;/opt/splunk/CompanyX/DAILY/.JUL-18_GPW_DAILY_2020_AS_OF_07192020.txt.nO9Y5C&lt;STRONG&gt;(generated)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The extraction happens on midnight and goes to a certain directory in which the script replicates into the splunk indexer instance.&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;My configuration on&amp;nbsp; inputs.conf:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;[monitor:///opt/splunk/CompanyX/DAILY/*]&lt;/P&gt;&lt;P&gt;disabled = false&lt;/P&gt;&lt;P&gt;index=gpw_daily&lt;/P&gt;&lt;P&gt;sourcetype=gpw_csv&lt;/P&gt;&lt;P&gt;crcSalt=&amp;lt;SOURCE&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The configuration is working properly for the past year and this incident only happens this past week.&amp;nbsp; So if anyone has encountered this problem please help me to resolve it. Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jul 2020 19:13:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/File-ingested-generates-another-file-with-the-same-data-which/m-p/510101#M86732</guid>
      <dc:creator>ejmin</dc:creator>
      <dc:date>2020-07-20T19:13:48Z</dc:date>
    </item>
    <item>
      <title>Re: File ingested generates another file with the same data which results in data duplication</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/File-ingested-generates-another-file-with-the-same-data-which/m-p/510119#M86733</link>
      <description>&lt;P&gt;What changed in the past week?&lt;/P&gt;&lt;P&gt;Consider modifying the inputs.conf file to reduce duplication.&amp;nbsp; Either this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[monitor:///opt/splunk/CompanyX/DAILY/*.txt]
disabled = false
index=gpw_daily
sourcetype=gpw_csv
crcSalt=&amp;lt;SOURCE&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;or this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[monitor:///opt/splunk/CompanyX/DAILY/*]
disabled = false
index=gpw_daily
sourcetype=gpw_csv
crcSalt=&amp;lt;SOURCE&amp;gt;
whitelist = *.txt&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jul 2020 21:00:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/File-ingested-generates-another-file-with-the-same-data-which/m-p/510119#M86733</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-07-20T21:00:50Z</dc:date>
    </item>
    <item>
      <title>Re: File ingested generates another file with the same data which results in data duplication</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/File-ingested-generates-another-file-with-the-same-data-which/m-p/510253#M86744</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/213957"&gt;@richgalloway&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Thanks for the reply, The duplication happened this past week. It starts generating some .txt.(random) letters but for this past year seems fine. I wonder how it happen because when I searched in the _internal and found its _indextime the ingestion happens within a second interval and produces different bytes according to logs.&lt;/P&gt;&lt;P&gt;But anyway if I dont find the root cause for this problem Ill consider to use your whitelist key-value settings. Thanks Ill consider it as a temporary solution but not the root cause solution.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jul 2020 15:55:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/File-ingested-generates-another-file-with-the-same-data-which/m-p/510253#M86744</guid>
      <dc:creator>ejmin</dc:creator>
      <dc:date>2020-07-21T15:55:11Z</dc:date>
    </item>
  </channel>
</rss>

