<?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: Why is the Splunk DB Connect 2.0.5 Health dashboard not populating data? in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Why-is-the-Splunk-DB-Connect-2-0-5-Health-dashboard-not/m-p/280184#M33103</link>
    <description>&lt;P&gt;Thanks you for this!  Just ran into the same problem.  Purged records from the py_health.log file and dashboard began to populate.  Anyone know if Splunk intended to fix this bug?&lt;/P&gt;</description>
    <pubDate>Fri, 20 Oct 2017 17:18:15 GMT</pubDate>
    <dc:creator>HMTODD</dc:creator>
    <dc:date>2017-10-20T17:18:15Z</dc:date>
    <item>
      <title>Why is the Splunk DB Connect 2.0.5 Health dashboard not populating data?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Why-is-the-Splunk-DB-Connect-2-0-5-Health-dashboard-not/m-p/280170#M33089</link>
      <description>&lt;P&gt;Splunk DB Connect is not populating data on the Health screen.  Anyone know the cause of this or how to fix / look into it?&lt;/P&gt;</description>
      <pubDate>Wed, 14 Oct 2015 14:47:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Why-is-the-Splunk-DB-Connect-2-0-5-Health-dashboard-not/m-p/280170#M33089</guid>
      <dc:creator>bworrellZP</dc:creator>
      <dc:date>2015-10-14T14:47:53Z</dc:date>
    </item>
    <item>
      <title>Re: Why is the Splunk DB Connect 2.0.5 Health dashboard not populating data?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Why-is-the-Splunk-DB-Connect-2-0-5-Health-dashboard-not/m-p/280171#M33090</link>
      <description>&lt;P&gt;Do you have a valid connection to your DB? what do you see in $SPLUNK_HOME/var/log/splunk/dbx2.log ? &lt;/P&gt;</description>
      <pubDate>Wed, 14 Oct 2015 14:57:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Why-is-the-Splunk-DB-Connect-2-0-5-Health-dashboard-not/m-p/280171#M33090</guid>
      <dc:creator>rphillips_splk</dc:creator>
      <dc:date>2015-10-14T14:57:39Z</dc:date>
    </item>
    <item>
      <title>Re: Why is the Splunk DB Connect 2.0.5 Health dashboard not populating data?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Why-is-the-Splunk-DB-Connect-2-0-5-Health-dashboard-not/m-p/280172#M33091</link>
      <description>&lt;P&gt;Have a connection, pulling in data from multiple servers just fine.   Log file is populating, just not as much as I would expect for the data I am pulling in.&lt;/P&gt;

&lt;P&gt;Before I recall an error in the dashboard about health.py, but that does not happen anymore (did update from 2.04 to 2.05), now the dashboard drop downs have no data.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Oct 2015 15:39:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Why-is-the-Splunk-DB-Connect-2-0-5-Health-dashboard-not/m-p/280172#M33091</guid>
      <dc:creator>bworrellZP</dc:creator>
      <dc:date>2015-10-14T15:39:03Z</dc:date>
    </item>
    <item>
      <title>Re: Why is the Splunk DB Connect 2.0.5 Health dashboard not populating data?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Why-is-the-Splunk-DB-Connect-2-0-5-Health-dashboard-not/m-p/280173#M33092</link>
      <description>&lt;P&gt;Do you get any results when you run this search? &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| tstats dc(All_Records.CONNECTION) from datamodel=DB_Health groupby "All_Records.CONNECTION" | `rename_all`
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 14 Oct 2015 15:52:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Why-is-the-Splunk-DB-Connect-2-0-5-Health-dashboard-not/m-p/280173#M33092</guid>
      <dc:creator>rphillips_splk</dc:creator>
      <dc:date>2015-10-14T15:52:24Z</dc:date>
    </item>
    <item>
      <title>Re: Why is the Splunk DB Connect 2.0.5 Health dashboard not populating data?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Why-is-the-Splunk-DB-Connect-2-0-5-Health-dashboard-not/m-p/280174#M33093</link>
      <description>&lt;P&gt;I get Error in 'TsidxStats': Could not find datamodel: DB_Health &lt;/P&gt;</description>
      <pubDate>Wed, 14 Oct 2015 16:03:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Why-is-the-Splunk-DB-Connect-2-0-5-Health-dashboard-not/m-p/280174#M33093</guid>
      <dc:creator>bworrellZP</dc:creator>
      <dc:date>2015-10-14T16:03:43Z</dc:date>
    </item>
    <item>
      <title>Re: Why is the Splunk DB Connect 2.0.5 Health dashboard not populating data?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Why-is-the-Splunk-DB-Connect-2-0-5-Health-dashboard-not/m-p/280175#M33094</link>
      <description>&lt;P&gt;Click the "RPC Service: Up" icon from the menu, which will launch a search for errors in RPC, dbx2 and dbx_health. Make sure you have values for dbx_health.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 07:37:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Why-is-the-Splunk-DB-Connect-2-0-5-Health-dashboard-not/m-p/280175#M33094</guid>
      <dc:creator>stmyers7941</dc:creator>
      <dc:date>2020-09-29T07:37:57Z</dc:date>
    </item>
    <item>
      <title>Re: Why is the Splunk DB Connect 2.0.5 Health dashboard not populating data?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Why-is-the-Splunk-DB-Connect-2-0-5-Health-dashboard-not/m-p/280176#M33095</link>
      <description>&lt;P&gt;Have data for all three source types.   &lt;/P&gt;

&lt;P&gt;In the Health tab, I selected the Connections and opened the query in a search window.  Comes up with the below.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| tstats values(All_Records.CONNECTION) as CONNECTION values(All_Records.DB_USER) as DB_USER values(All_Records.FUNCTION) as FUNCTION values(All_Records.STATE) as STATE from datamodel=DB_Health groupby "All_Records.TRANS_OBJECT_ID" | rename All_Records.* as * | eval FUNCTION=mvfilter(match(FUNCTION, "py_*"))  | `health_transaction_filter(*, *, *)`| stats count as Total count(eval(mvfind(STATE,"error"))) as Failed by CONNECTION | eval "% Failed" = (Failed*100/Total) | eval Successful=(Total-Failed) | table CONNECTION Total Failed Successful "% Failed"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;That tells me there are 3000 events, but no results found.&lt;/P&gt;

&lt;P&gt;Pairing it down to this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| tstats values(All_Records.CONNECTION) as CONNECTION values(All_Records.DB_USER) as DB_USER values(All_Records.FUNCTION) as FUNCTION values(All_Records.STATE) as STATE from datamodel=DB_Health groupby "All_Records.TRANS_OBJECT_ID" | rename All_Records.* as * | eval FUNCTION=mvfilter(match(FUNCTION, "py_*"))
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;gets me at lease some stats, though not much.  Still 3000 events, but no results.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Oct 2015 16:16:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Why-is-the-Splunk-DB-Connect-2-0-5-Health-dashboard-not/m-p/280176#M33095</guid>
      <dc:creator>bworrellZP</dc:creator>
      <dc:date>2015-10-14T16:16:53Z</dc:date>
    </item>
    <item>
      <title>Re: Why is the Splunk DB Connect 2.0.5 Health dashboard not populating data?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Why-is-the-Splunk-DB-Connect-2-0-5-Health-dashboard-not/m-p/280177#M33096</link>
      <description>&lt;P&gt;Is this a distributed environment? Is DBConnect running on your search head? &lt;/P&gt;</description>
      <pubDate>Wed, 14 Oct 2015 17:22:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Why-is-the-Splunk-DB-Connect-2-0-5-Health-dashboard-not/m-p/280177#M33096</guid>
      <dc:creator>stmyers7941</dc:creator>
      <dc:date>2015-10-14T17:22:55Z</dc:date>
    </item>
    <item>
      <title>Re: Why is the Splunk DB Connect 2.0.5 Health dashboard not populating data?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Why-is-the-Splunk-DB-Connect-2-0-5-Health-dashboard-not/m-p/280178#M33097</link>
      <description>&lt;P&gt;No DB Connect is not running on my search head.  I was on the Windows Indexer I have, and it was on this indexer that I went into the health tab in the DB Connect App.   This was working in 2.03.&lt;/P&gt;

&lt;P&gt;I can install DB Connect on my search head, but do not recall that being a requirement from the install doc.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Oct 2015 17:30:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Why-is-the-Splunk-DB-Connect-2-0-5-Health-dashboard-not/m-p/280178#M33097</guid>
      <dc:creator>bworrellZP</dc:creator>
      <dc:date>2015-10-14T17:30:49Z</dc:date>
    </item>
    <item>
      <title>Re: Why is the Splunk DB Connect 2.0.5 Health dashboard not populating data?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Why-is-the-Splunk-DB-Connect-2-0-5-Health-dashboard-not/m-p/280179#M33098</link>
      <description>&lt;P&gt;you need the data model to use the health page.&lt;/P&gt;

&lt;P&gt;The docs could be clearer... &lt;A href="http://docs.splunk.com/Documentation/DBX/2.0.6/DeployDBX/Architectureandperformanceconsiderations"&gt;http://docs.splunk.com/Documentation/DBX/2.0.6/DeployDBX/Architectureandperformanceconsiderations&lt;/A&gt; &lt;/P&gt;

&lt;P&gt;There's four ways to use DB Connect.&lt;BR /&gt;
A) ingest data from an RDBMS into a Splunk index. A heavy forwarder is ideal, but technically it could work on search heads or indexers.&lt;BR /&gt;
B) ingest data from an RDBMS into a Splunk lookup.  A search head is ideal, because your users doing searching are the ones using it.&lt;BR /&gt;
C) export data from Splunk into an RDBMS (e.g. making a table of churn predictions or security risk values).  A heavy forwarder is ideal, but technically it could work on search heads or indexers.&lt;BR /&gt;
D) Use Splunk as an interactive SQL reporting tool.  A search head is ideal, but technically it could work on indexers or heavy forwarders.&lt;/P&gt;</description>
      <pubDate>Sat, 17 Oct 2015 20:52:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Why-is-the-Splunk-DB-Connect-2-0-5-Health-dashboard-not/m-p/280179#M33098</guid>
      <dc:creator>jcoates_splunk</dc:creator>
      <dc:date>2015-10-17T20:52:18Z</dc:date>
    </item>
    <item>
      <title>Re: Why is the Splunk DB Connect 2.0.5 Health dashboard not populating data?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Why-is-the-Splunk-DB-Connect-2-0-5-Health-dashboard-not/m-p/280180#M33099</link>
      <description>&lt;P&gt;meta... converted a couple of the clarification request comments into answers to clear the un-answered flag.&lt;/P&gt;</description>
      <pubDate>Sat, 17 Oct 2015 20:54:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Why-is-the-Splunk-DB-Connect-2-0-5-Health-dashboard-not/m-p/280180#M33099</guid>
      <dc:creator>jcoates_splunk</dc:creator>
      <dc:date>2015-10-17T20:54:40Z</dc:date>
    </item>
    <item>
      <title>Re: Why is the Splunk DB Connect 2.0.5 Health dashboard not populating data?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Why-is-the-Splunk-DB-Connect-2-0-5-Health-dashboard-not/m-p/280181#M33100</link>
      <description>&lt;P&gt;Jcoates,&lt;/P&gt;

&lt;P&gt;When I did the original install, there was a note that IF you where pushing out the app via a deployment server, that it had to be on the search head.  That said, even in this document, once it is installed all the work is done by the indexer, as I have it.&lt;/P&gt;

&lt;P&gt;Also, prior to the update to 2.04, the health tab worked fine.&lt;/P&gt;

&lt;P&gt;So I have installed the app on the search head now.  Still NOT using the deployment app portion, as there does not appear to be a need based on the document.  I only have one server doing database pulls.   Data pulls in fine (one issue but unrelated to the app).  &lt;/P&gt;

&lt;P&gt;Now with that said, any thoughts as to why neither show the Health tab or where to look to find the errors?&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 19 Oct 2015 12:28:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Why-is-the-Splunk-DB-Connect-2-0-5-Health-dashboard-not/m-p/280181#M33100</guid>
      <dc:creator>bworrellZP</dc:creator>
      <dc:date>2015-10-19T12:28:38Z</dc:date>
    </item>
    <item>
      <title>Re: Why is the Splunk DB Connect 2.0.5 Health dashboard not populating data?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Why-is-the-Splunk-DB-Connect-2-0-5-Health-dashboard-not/m-p/280182#M33101</link>
      <description>&lt;P&gt;So, issue is not resolved, comments did not offer any suggestions.&lt;/P&gt;

&lt;P&gt;Looking elsewhere, found the log path.  Seems that the py_health.log file hasn't had any updates in almost two months.  Since I updated to 2.0.4.&lt;/P&gt;

&lt;P&gt;Seems the health dashboard needs that log to update.&lt;/P&gt;

&lt;P&gt;Anyone else have this issue?&lt;/P&gt;</description>
      <pubDate>Wed, 28 Oct 2015 14:00:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Why-is-the-Splunk-DB-Connect-2-0-5-Health-dashboard-not/m-p/280182#M33101</guid>
      <dc:creator>bworrellZP</dc:creator>
      <dc:date>2015-10-28T14:00:47Z</dc:date>
    </item>
    <item>
      <title>Re: Why is the Splunk DB Connect 2.0.5 Health dashboard not populating data?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Why-is-the-Splunk-DB-Connect-2-0-5-Health-dashboard-not/m-p/280183#M33102</link>
      <description>&lt;P&gt;Answer is - Seems there is a Bug in the DB Connect client since 2.0.5.  When the py_health.log hits 10,000 kb, the file locks, it does not rollover or purge as it should.  That causes errors in the splunkd.log about mi_input.py being in use by another process.&lt;/P&gt;

&lt;P&gt;Once I purged part of the file, the health data showed up.&lt;/P&gt;

&lt;P&gt;Had nothing to do with the suggestion by jcoates (hence why I was able to get Health stats prior to 2.0.5.)&lt;/P&gt;

&lt;P&gt;Just a bug in the DB Connect client.  Will watch the log and clean it out until issue is fixed.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 07:43:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Why-is-the-Splunk-DB-Connect-2-0-5-Health-dashboard-not/m-p/280183#M33102</guid>
      <dc:creator>bworrellZP</dc:creator>
      <dc:date>2020-09-29T07:43:45Z</dc:date>
    </item>
    <item>
      <title>Re: Why is the Splunk DB Connect 2.0.5 Health dashboard not populating data?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Why-is-the-Splunk-DB-Connect-2-0-5-Health-dashboard-not/m-p/280184#M33103</link>
      <description>&lt;P&gt;Thanks you for this!  Just ran into the same problem.  Purged records from the py_health.log file and dashboard began to populate.  Anyone know if Splunk intended to fix this bug?&lt;/P&gt;</description>
      <pubDate>Fri, 20 Oct 2017 17:18:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Why-is-the-Splunk-DB-Connect-2-0-5-Health-dashboard-not/m-p/280184#M33103</guid>
      <dc:creator>HMTODD</dc:creator>
      <dc:date>2017-10-20T17:18:15Z</dc:date>
    </item>
  </channel>
</rss>

