<?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: 2 files same data indexed in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/2-files-same-data-indexed/m-p/186440#M37352</link>
    <description>&lt;P&gt;You will want to use a whitelist in &lt;CODE&gt;inputs.conf&lt;/CODE&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor:///your/path/to/monitor]
whitelist = \.log$
sourcetype = your_sourcetype
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This will exclude anything that doesn't end in .log.&lt;/P&gt;</description>
    <pubDate>Tue, 03 Jun 2014 11:58:22 GMT</pubDate>
    <dc:creator>alacercogitatus</dc:creator>
    <dc:date>2014-06-03T11:58:22Z</dc:date>
    <item>
      <title>2 files same data indexed</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/2-files-same-data-indexed/m-p/186438#M37350</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I have 2 files with 1.log and 1.log.gz but they have exact same data. I see that indexer indexes both somehow. &lt;/P&gt;

&lt;P&gt;firstTime   lastTime    recentTime      source          totalCount        type&lt;BR /&gt;
1392760800   1392847199  1392847202  /20140219.log           9795685     sources&lt;BR /&gt;
1392760800   1392847199  1393110875  /20140219.log.gz    9795685     sources&lt;/P&gt;

&lt;P&gt;any idea to have only index 1 of the double data with different file names.!&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jun 2014 07:57:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/2-files-same-data-indexed/m-p/186438#M37350</guid>
      <dc:creator>safe_splunk</dc:creator>
      <dc:date>2014-06-03T07:57:23Z</dc:date>
    </item>
    <item>
      <title>Re: 2 files same data indexed</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/2-files-same-data-indexed/m-p/186439#M37351</link>
      <description>&lt;P&gt;What does the monitor section for this input in your inputs.conf contain?&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jun 2014 09:21:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/2-files-same-data-indexed/m-p/186439#M37351</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2014-06-03T09:21:20Z</dc:date>
    </item>
    <item>
      <title>Re: 2 files same data indexed</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/2-files-same-data-indexed/m-p/186440#M37352</link>
      <description>&lt;P&gt;You will want to use a whitelist in &lt;CODE&gt;inputs.conf&lt;/CODE&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor:///your/path/to/monitor]
whitelist = \.log$
sourcetype = your_sourcetype
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This will exclude anything that doesn't end in .log.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jun 2014 11:58:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/2-files-same-data-indexed/m-p/186440#M37352</guid>
      <dc:creator>alacercogitatus</dc:creator>
      <dc:date>2014-06-03T11:58:22Z</dc:date>
    </item>
  </channel>
</rss>

