<?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: Splunk DB Connect - How to reset tail.rising state? in Monitoring Splunk</title>
    <link>https://community.splunk.com/t5/Monitoring-Splunk/Splunk-DB-Connect-How-to-reset-tail-rising-state/m-p/57331#M7091</link>
    <description>&lt;P&gt;FYI neither Splunk or DB connect restart is required for an updated state.xml to take effect with at least the combination of Splunk 6.2.3 and DB Connect 1.2.0 (tested).&lt;/P&gt;</description>
    <pubDate>Tue, 27 Oct 2015 12:21:15 GMT</pubDate>
    <dc:creator>Glenn</dc:creator>
    <dc:date>2015-10-27T12:21:15Z</dc:date>
    <item>
      <title>Splunk DB Connect - How to reset tail.rising state?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Splunk-DB-Connect-How-to-reset-tail-rising-state/m-p/57322#M7082</link>
      <description>&lt;P&gt;How to reset tail.rising state that go back and read everything from the beginning of my database table?&lt;/P&gt;</description>
      <pubDate>Fri, 07 Dec 2012 12:24:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Splunk-DB-Connect-How-to-reset-tail-rising-state/m-p/57322#M7082</guid>
      <dc:creator>mewtwo</dc:creator>
      <dc:date>2012-12-07T12:24:59Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect - How to reset tail.rising state?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Splunk-DB-Connect-How-to-reset-tail-rising-state/m-p/57323#M7083</link>
      <description>&lt;P&gt;The persistent state of database inputs is stored in &lt;CODE&gt;$SPLUNK_DB/persistentstorage/dbx&lt;/CODE&gt; (&lt;CODE&gt;$SPLUNK_DB&lt;/CODE&gt; is, if not specified otherwise: &lt;CODE&gt;$SPLUNK_HOME/var/lib/splunk&lt;/CODE&gt;). Each input has it's own directory, which is a hash of it's name (ie. a 32 character long hex string). This directory typically contains 2 files:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;manifest.properties: contains meta-information, such as the name of the input&lt;/LI&gt;
&lt;LI&gt;state.xml: contains the actual state in XML format&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;So you need to first identify the state directory and then you can modify (or delete) the XML file. &lt;/P&gt;

&lt;P&gt;For modifying it, this state file looks something like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;list&amp;gt;
  &amp;lt;value key="latest.record_update"&amp;gt;
    &amp;lt;value class="sql-timestamp"&amp;gt;2012-12-07 04:22:25.703&amp;lt;/value&amp;gt;
  &amp;lt;/value&amp;gt;
&amp;lt;/list&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The value may vary, depending on the datatype of the rising-column you chose.&lt;/P&gt;

&lt;P&gt;A Splunk restart might be necessary in order for DB Connect to recognize the changes.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Dec 2012 15:51:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Splunk-DB-Connect-How-to-reset-tail-rising-state/m-p/57323#M7083</guid>
      <dc:creator>ziegfried</dc:creator>
      <dc:date>2012-12-07T15:51:18Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect - How to reset tail.rising state?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Splunk-DB-Connect-How-to-reset-tail-rising-state/m-p/57324#M7084</link>
      <description>&lt;P&gt;Danke, das ist sehr toll Applikation!&lt;/P&gt;</description>
      <pubDate>Mon, 10 Dec 2012 08:07:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Splunk-DB-Connect-How-to-reset-tail-rising-state/m-p/57324#M7084</guid>
      <dc:creator>mewtwo</dc:creator>
      <dc:date>2012-12-10T08:07:55Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect - How to reset tail.rising state?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Splunk-DB-Connect-How-to-reset-tail-rising-state/m-p/57325#M7085</link>
      <description>&lt;P&gt;Suggestions if the files are locked? I have stopped splunkd and I am unable to modify the files.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Dec 2012 22:19:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Splunk-DB-Connect-How-to-reset-tail-rising-state/m-p/57325#M7085</guid>
      <dc:creator>bigtyma</dc:creator>
      <dc:date>2012-12-28T22:19:05Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect - How to reset tail.rising state?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Splunk-DB-Connect-How-to-reset-tail-rising-state/m-p/57326#M7086</link>
      <description>&lt;P&gt;ziggy, let's work on getting a procedure for the main use case (reading in only the most recent entries) into the docs.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Jan 2013 21:33:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Splunk-DB-Connect-How-to-reset-tail-rising-state/m-p/57326#M7086</guid>
      <dc:creator>piebob</dc:creator>
      <dc:date>2013-01-04T21:33:50Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect - How to reset tail.rising state?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Splunk-DB-Connect-How-to-reset-tail-rising-state/m-p/57327#M7087</link>
      <description>&lt;P&gt;Note that deleting the database input &lt;EM&gt;does not&lt;/EM&gt; remove or reset the persistent state.  If you want to start over, you need to delete the input, then delete the persistent state directory, then create the input again.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jan 2013 00:49:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Splunk-DB-Connect-How-to-reset-tail-rising-state/m-p/57327#M7087</guid>
      <dc:creator>rettops</dc:creator>
      <dc:date>2013-01-18T00:49:34Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect - How to reset tail.rising state?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Splunk-DB-Connect-How-to-reset-tail-rising-state/m-p/57328#M7088</link>
      <description>&lt;P&gt;I need to install &lt;A href="http://www.howtogeek.com/howto/windows-vista/add-take-ownership-to-explorer-right-click-menu-in-vista/"&gt;http://www.howtogeek.com/howto/windows-vista/add-take-ownership-to-explorer-right-click-menu-in-vista/&lt;/A&gt; so I could edit/delete these files.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Mar 2013 05:50:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Splunk-DB-Connect-How-to-reset-tail-rising-state/m-p/57328#M7088</guid>
      <dc:creator>baerrach</dc:creator>
      <dc:date>2013-03-08T05:50:53Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect - How to reset tail.rising state?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Splunk-DB-Connect-How-to-reset-tail-rising-state/m-p/57329#M7089</link>
      <description>&lt;P&gt;which process is locking the state.xml and manifest file. It appears to be sporadic as well. I have the same issue. Unable to delete or modify the file to reset the state.  I ended up cloning the db input and disable the old one. Appreciate your help.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jan 2014 00:07:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Splunk-DB-Connect-How-to-reset-tail-rising-state/m-p/57329#M7089</guid>
      <dc:creator>Sriram</dc:creator>
      <dc:date>2014-01-09T00:07:08Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect - How to reset tail.rising state?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Splunk-DB-Connect-How-to-reset-tail-rising-state/m-p/57330#M7090</link>
      <description>&lt;P&gt;Hi guys, I'm facing problems with dbx my Java Bridge is not starting so by reading few answers i got to know it might be the case that the state.xml be corrupted,when i checked the state.xml file its empty.So what I'm i supposed to include in the state.xml&lt;/P&gt;</description>
      <pubDate>Wed, 16 Apr 2014 11:32:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Splunk-DB-Connect-How-to-reset-tail-rising-state/m-p/57330#M7090</guid>
      <dc:creator>harshavrath</dc:creator>
      <dc:date>2014-04-16T11:32:40Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect - How to reset tail.rising state?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Splunk-DB-Connect-How-to-reset-tail-rising-state/m-p/57331#M7091</link>
      <description>&lt;P&gt;FYI neither Splunk or DB connect restart is required for an updated state.xml to take effect with at least the combination of Splunk 6.2.3 and DB Connect 1.2.0 (tested).&lt;/P&gt;</description>
      <pubDate>Tue, 27 Oct 2015 12:21:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Splunk-DB-Connect-How-to-reset-tail-rising-state/m-p/57331#M7091</guid>
      <dc:creator>Glenn</dc:creator>
      <dc:date>2015-10-27T12:21:15Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect - How to reset tail.rising state?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Splunk-DB-Connect-How-to-reset-tail-rising-state/m-p/57332#M7092</link>
      <description>&lt;P&gt;I second that for splunk 6.3.3 with DB Connect 1.1.7.&lt;BR /&gt;
Disable the input; change the file; enable the input. Works fine.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jun 2016 07:54:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Splunk-DB-Connect-How-to-reset-tail-rising-state/m-p/57332#M7092</guid>
      <dc:creator>usd0872</dc:creator>
      <dc:date>2016-06-14T07:54:58Z</dc:date>
    </item>
  </channel>
</rss>

