<?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: automatic retry for missed query in db connect in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Is-it-possible-to-automatic-retry-for-missed-query-in-db-connect/m-p/632368#M78604</link>
    <description>&lt;P&gt;Splunk inputs do not retry when they encounter an error.&amp;nbsp; The only way I can think of to do that would be to use a scripted or modular input to read the database.&amp;nbsp; The script could be written to retry on connection failure (or any other error).&amp;nbsp; Be aware that this means you would lose the Rising Column feature of DB Connect so your script would have to replicate the feature somehow.&lt;/P&gt;</description>
    <pubDate>Mon, 27 Feb 2023 13:51:52 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2023-02-27T13:51:52Z</dc:date>
    <item>
      <title>Is it possible to automatic retry for missed query in db connect?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Is-it-possible-to-automatic-retry-for-missed-query-in-db-connect/m-p/632360#M78603</link>
      <description>&lt;P&gt;Hi all.&lt;/P&gt;
&lt;P&gt;I'm using splunk 9.0.2 and db connect 3.11.1.&lt;/P&gt;
&lt;P&gt;Sometimes my connection from db connect to my database fails. so I'm wondering if is it possible to automatic retry the missed query or not?&lt;/P&gt;
&lt;P&gt;My query is depend on time to retrive last 5 min entry rows. so the missed query caused data loss.&lt;/P&gt;
&lt;P&gt;My query:&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;SELECT&lt;/SPAN&gt; * &lt;SPAN class=""&gt;FROM&lt;/SPAN&gt; &lt;SPAN class=""&gt;DB.MY_TABLE1&lt;/SPAN&gt; &lt;SPAN class=""&gt;WHERE&lt;/SPAN&gt; &lt;SPAN class=""&gt;insert_date&lt;/SPAN&gt; &amp;gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt; &lt;SPAN class=""&gt;SYSDATE&lt;/SPAN&gt; &lt;SPAN class=""&gt;-&lt;/SPAN&gt; &lt;SPAN class=""&gt;INTERVAL&lt;/SPAN&gt; &lt;SPAN class=""&gt;5&lt;/SPAN&gt; &lt;SPAN class=""&gt;MINUTE&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Feb 2023 14:45:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Is-it-possible-to-automatic-retry-for-missed-query-in-db-connect/m-p/632360#M78603</guid>
      <dc:creator>hoseineagle</dc:creator>
      <dc:date>2023-02-27T14:45:35Z</dc:date>
    </item>
    <item>
      <title>Re: automatic retry for missed query in db connect</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Is-it-possible-to-automatic-retry-for-missed-query-in-db-connect/m-p/632368#M78604</link>
      <description>&lt;P&gt;Splunk inputs do not retry when they encounter an error.&amp;nbsp; The only way I can think of to do that would be to use a scripted or modular input to read the database.&amp;nbsp; The script could be written to retry on connection failure (or any other error).&amp;nbsp; Be aware that this means you would lose the Rising Column feature of DB Connect so your script would have to replicate the feature somehow.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Feb 2023 13:51:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Is-it-possible-to-automatic-retry-for-missed-query-in-db-connect/m-p/632368#M78604</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2023-02-27T13:51:52Z</dc:date>
    </item>
  </channel>
</rss>

