<?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 Monitoring Cumulative Dumps in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Monitoring-Cumulative-Dumps/m-p/20492#M3000</link>
    <description>&lt;P&gt;When monitoring an EMC Clarion, the CLI tool to dump the logs simply dumps all logs from the device, including any previously exported logs from the previous run.  We intend to run the tool every hour and have the tool dump the logs to the same file.  So each hour, the file will be overwritten with it's current data, plus any new logs.  For instance:&lt;/P&gt;

&lt;P&gt;Hour 1 (/test/log.txt):
    event1
Hour 2 (overwritten /test/log.txt):
    event1
    event2
Hour 3 (overwritten /test/log.txt):
    event1
    event2
    event3&lt;/P&gt;

&lt;P&gt;What is the recommended way to index this file?&lt;/P&gt;</description>
    <pubDate>Tue, 27 Jul 2010 01:23:44 GMT</pubDate>
    <dc:creator>Ron_Naken</dc:creator>
    <dc:date>2010-07-27T01:23:44Z</dc:date>
    <item>
      <title>Monitoring Cumulative Dumps</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Monitoring-Cumulative-Dumps/m-p/20492#M3000</link>
      <description>&lt;P&gt;When monitoring an EMC Clarion, the CLI tool to dump the logs simply dumps all logs from the device, including any previously exported logs from the previous run.  We intend to run the tool every hour and have the tool dump the logs to the same file.  So each hour, the file will be overwritten with it's current data, plus any new logs.  For instance:&lt;/P&gt;

&lt;P&gt;Hour 1 (/test/log.txt):
    event1
Hour 2 (overwritten /test/log.txt):
    event1
    event2
Hour 3 (overwritten /test/log.txt):
    event1
    event2
    event3&lt;/P&gt;

&lt;P&gt;What is the recommended way to index this file?&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jul 2010 01:23:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Monitoring-Cumulative-Dumps/m-p/20492#M3000</guid>
      <dc:creator>Ron_Naken</dc:creator>
      <dc:date>2010-07-27T01:23:44Z</dc:date>
    </item>
    <item>
      <title>Re: Monitoring Cumulative Dumps</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Monitoring-Cumulative-Dumps/m-p/20493#M3001</link>
      <description>&lt;P&gt;Splunk creates CRC hashes of the first and last 256 bytes of any file it monitors. Do your cumulative dumps change the beginning of the file, or is that data always the same? If it stays the same, setting up a simple &lt;A href="http://www.splunk.com/base/Documentation/latest/Admin/Monitorfilesanddirectories" rel="nofollow"&gt;monitor stanza&lt;/A&gt; will be enough to index only the new events added to the file by your dumps.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jul 2010 03:23:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Monitoring-Cumulative-Dumps/m-p/20493#M3001</guid>
      <dc:creator>ftk</dc:creator>
      <dc:date>2010-07-27T03:23:31Z</dc:date>
    </item>
  </channel>
</rss>

