<?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: Event Count keeps increasing when monitoring CSV file in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Event-Count-keeps-increasing-when-monitoring-CSV-file/m-p/324692#M60409</link>
    <description>&lt;P&gt;Please share the inputs.conf stanza for that file.&lt;/P&gt;</description>
    <pubDate>Wed, 06 Sep 2017 14:02:04 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2017-09-06T14:02:04Z</dc:date>
    <item>
      <title>Event Count keeps increasing when monitoring CSV file</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Event-Count-keeps-increasing-when-monitoring-CSV-file/m-p/324691#M60408</link>
      <description>&lt;P&gt;I have configured a CSV file path using Monitor files and directories option in the Add Data feature. That CSV file having 1,20,742 records(events). But when doing search in splunk, this event count is keep on increasing. I have inserted 6 records into that csv file. those records have been displayed in the splunk search. But the problem is event count. Now it shows 8,45,934 events. How is it possible since the source file having only 1,20,748 records and why the event count is keep on increasing. &lt;/P&gt;

&lt;P&gt;Even after removing all the pipes(|) from the query, its showing the 8,45,934 only. How to avoid this problem?&lt;/P&gt;</description>
      <pubDate>Wed, 06 Sep 2017 13:33:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Event-Count-keeps-increasing-when-monitoring-CSV-file/m-p/324691#M60408</guid>
      <dc:creator>tskarthic</dc:creator>
      <dc:date>2017-09-06T13:33:31Z</dc:date>
    </item>
    <item>
      <title>Re: Event Count keeps increasing when monitoring CSV file</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Event-Count-keeps-increasing-when-monitoring-CSV-file/m-p/324692#M60409</link>
      <description>&lt;P&gt;Please share the inputs.conf stanza for that file.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Sep 2017 14:02:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Event-Count-keeps-increasing-when-monitoring-CSV-file/m-p/324692#M60409</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2017-09-06T14:02:04Z</dc:date>
    </item>
    <item>
      <title>Re: Event Count keeps increasing when monitoring CSV file</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Event-Count-keeps-increasing-when-monitoring-CSV-file/m-p/324693#M60410</link>
      <description>&lt;P&gt;inputs.conf file below:&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;[tcp://443]&lt;BR /&gt;
connection_host = dns&lt;BR /&gt;
index = main&lt;BR /&gt;
sourcetype = syslog&lt;BR /&gt;
[WinHostMon://MyMachine]&lt;BR /&gt;
index = main&lt;BR /&gt;
interval = 1800&lt;BR /&gt;
type = Roles;NetworkAdapter;Service;OperatingSystem;Driver;Processor;Disk;Computer;Process&lt;BR /&gt;
[monitor://C:...\Documents\Talend\APM\OSH_Data\out-apmts_aug31st.csv]&lt;BR /&gt;
disabled = false&lt;BR /&gt;
index = mnd_osh&lt;BR /&gt;
sourcetype = osh_ts_csv&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;FYI: i have not updated this file when configure monitoring file. I just used the UI option to configure these settings and opted the "Continously Monitor" option. &lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 15:39:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Event-Count-keeps-increasing-when-monitoring-CSV-file/m-p/324693#M60410</guid>
      <dc:creator>tskarthic</dc:creator>
      <dc:date>2020-09-29T15:39:35Z</dc:date>
    </item>
    <item>
      <title>Re: Event Count keeps increasing when monitoring CSV file</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Event-Count-keeps-increasing-when-monitoring-CSV-file/m-p/324694#M60411</link>
      <description>&lt;P&gt;Please provide a sample of the csv data and your props.conf as well.  I believe your line breaking is off.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Sep 2017 15:06:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Event-Count-keeps-increasing-when-monitoring-CSV-file/m-p/324694#M60411</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2017-09-06T15:06:11Z</dc:date>
    </item>
    <item>
      <title>Re: Event Count keeps increasing when monitoring CSV file</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Event-Count-keeps-increasing-when-monitoring-CSV-file/m-p/324695#M60412</link>
      <description>&lt;P&gt;pls find below the sample records in the csv file:&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;123456.ABC,2017-09-01T00:00:00.000Z,1,2&lt;BR /&gt;
123457.ABC,2017-09-05T00:00:00.000Z,2,2&lt;BR /&gt;
123458.ABC,2017-08-01T00:00:00.000Z,0,3&lt;BR /&gt;
123459.ABC,2017-08-01T00:05:00.000Z,0,3&lt;BR /&gt;
123460.ABC,2017-08-01T00:10:00.000Z,0,3&lt;BR /&gt;
123461.ABC,2017-08-01T00:15:00.000Z,0,3&lt;BR /&gt;
123462.ABC,2017-08-01T00:20:00.000Z,0,3&lt;BR /&gt;
123463.ABC,2017-08-01T00:25:00.000Z,0,3&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;props.conf file:&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;[osh_ts_csv]&lt;BR /&gt;
DATETIME_CONFIG = &lt;BR /&gt;
INDEXED_EXTRACTIONS = csv&lt;BR /&gt;
KV_MODE = none&lt;BR /&gt;
NO_BINARY_CHECK = true&lt;BR /&gt;
SHOULD_LINEMERGE = false&lt;BR /&gt;
category = Structured&lt;BR /&gt;
description = Comma-separated value format. Set header and other settings in "Delimited Settings"&lt;BR /&gt;
disabled = false&lt;BR /&gt;
pulldown_type = true&lt;BR /&gt;
FIELD_NAMES = resource_tag, timestamp, value, quality&lt;BR /&gt;
TIMESTAMP_FIELDS = timestamp&lt;BR /&gt;
TIME_FORMAT = %Y-%m-%dT%H:%M:%S.%3N&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 15:39:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Event-Count-keeps-increasing-when-monitoring-CSV-file/m-p/324695#M60412</guid>
      <dc:creator>tskarthic</dc:creator>
      <dc:date>2020-09-29T15:39:41Z</dc:date>
    </item>
    <item>
      <title>Re: Event Count keeps increasing when monitoring CSV file</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Event-Count-keeps-increasing-when-monitoring-CSV-file/m-p/324696#M60413</link>
      <description>&lt;P&gt;TIME_FORMAT should be &lt;CODE&gt;%Y-%m-%dT%H:%M:%S.%3N%Z&lt;/CODE&gt;&lt;BR /&gt;
The other settings look OK to me.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Sep 2017 17:12:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Event-Count-keeps-increasing-when-monitoring-CSV-file/m-p/324696#M60413</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2017-09-06T17:12:13Z</dc:date>
    </item>
    <item>
      <title>Re: Event Count keeps increasing when monitoring CSV file</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Event-Count-keeps-increasing-when-monitoring-CSV-file/m-p/324697#M60414</link>
      <description>&lt;P&gt;TIME_FORMAT given as you mentioned %Y-%m-%dT%H:%M:%S.%3N%Z.&lt;BR /&gt;
Able to do search and getting results. the only problem is EventCount is keep on increasing. &lt;BR /&gt;
EventCount should always equal to the records/lines in the source file. But it increased 7 times.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Sep 2017 17:45:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Event-Count-keeps-increasing-when-monitoring-CSV-file/m-p/324697#M60414</guid>
      <dc:creator>tskarthic</dc:creator>
      <dc:date>2017-09-06T17:45:04Z</dc:date>
    </item>
    <item>
      <title>Re: Event Count keeps increasing when monitoring CSV file</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Event-Count-keeps-increasing-when-monitoring-CSV-file/m-p/324698#M60415</link>
      <description>&lt;P&gt;My suspicion is that you are replacing the entire file, not adding to it with something like &lt;CODE&gt;echo "This is a test" &amp;gt;&amp;gt; MyLogFile&lt;/CODE&gt;.  Try a &lt;EM&gt;proper&lt;/EM&gt; test using something that actually adds to the bottom of the file instead of something that replaces the entire file with the same stuff plus some other stuff.  It is your test methodology that is broken, not the file or Splunk.&lt;/P&gt;</description>
      <pubDate>Sun, 10 Sep 2017 05:18:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Event-Count-keeps-increasing-when-monitoring-CSV-file/m-p/324698#M60415</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2017-09-10T05:18:51Z</dc:date>
    </item>
  </channel>
</rss>

