<?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 Checkpointing scripts for subsequent invocations in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Checkpointing-scripts-for-subsequent-invocations/m-p/76188#M15548</link>
    <description>&lt;P&gt;I'm writing an Add-on script for the universal forwarder that will read several log files containing complex data and reformat the data so that Splunk can more easily parse it. &lt;/P&gt;

&lt;P&gt;Does my script need to implement it's own logic for "where it left off last time it was invoked" or does Splunk help with that somehow?  &lt;/P&gt;

&lt;P&gt;In other words, is it possible to have 'monitor' functionality, but with my own custom script?&lt;/P&gt;

&lt;P&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Thu, 07 Apr 2011 05:28:37 GMT</pubDate>
    <dc:creator>dveith</dc:creator>
    <dc:date>2011-04-07T05:28:37Z</dc:date>
    <item>
      <title>Checkpointing scripts for subsequent invocations</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Checkpointing-scripts-for-subsequent-invocations/m-p/76188#M15548</link>
      <description>&lt;P&gt;I'm writing an Add-on script for the universal forwarder that will read several log files containing complex data and reformat the data so that Splunk can more easily parse it. &lt;/P&gt;

&lt;P&gt;Does my script need to implement it's own logic for "where it left off last time it was invoked" or does Splunk help with that somehow?  &lt;/P&gt;

&lt;P&gt;In other words, is it possible to have 'monitor' functionality, but with my own custom script?&lt;/P&gt;

&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Apr 2011 05:28:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Checkpointing-scripts-for-subsequent-invocations/m-p/76188#M15548</guid>
      <dc:creator>dveith</dc:creator>
      <dc:date>2011-04-07T05:28:37Z</dc:date>
    </item>
    <item>
      <title>Re: Checkpointing scripts for subsequent invocations</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Checkpointing-scripts-for-subsequent-invocations/m-p/76189#M15549</link>
      <description>&lt;P&gt;If you script is being run as a scripted input, then you will need to maintain last-run state for yourself.  Some of Splunk's own scripted inputs (like in the *nix app) do this as well - by keeping a file with an epoch time stored in it.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Apr 2011 04:14:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Checkpointing-scripts-for-subsequent-invocations/m-p/76189#M15549</guid>
      <dc:creator>dwaddle</dc:creator>
      <dc:date>2011-04-08T04:14:52Z</dc:date>
    </item>
  </channel>
</rss>

