<?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 dbquery not work  in dashboard in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/dbquery-not-work-in-dashboard/m-p/117919#M6827</link>
    <description>&lt;P&gt;hello, here is my query string: | dbquery dbcenter  "select (1 - (phy.value / (cur.value + con.value))) *100 \"HIT RATIO\" from v$sysstat cur， v$sysstat con， v$sysstat phy where cur.name = 'db block gets' and con.name = 'consistent gets' and phy.name = 'physical reads'" ,It's worked in the search app,but I cannot see results when use dbquery in dashboard, here is my xml&lt;BR /&gt;
&lt;DASHBOARD&gt;&lt;BR /&gt;
  &lt;LABEL&gt;database center&lt;/LABEL&gt;&lt;BR /&gt;
  &lt;DESCRIPTION&gt;&lt;/DESCRIPTION&gt;&lt;BR /&gt;
  &lt;ROW&gt;&lt;BR /&gt;
    &lt;CHART&gt;&lt;BR /&gt;
      &lt;TITLE&gt;data buffer&lt;/TITLE&gt;&lt;BR /&gt;
      &lt;SEARCHSTRING&gt;| dbquery dbcenter  "select (1 - (phy.value / (cur.value + con.value))) *100 \"HIT RATIO\" from v$sysstat cur， v$sysstat con， v$sysstat phy where cur.name = 'db block gets' and con.name = 'consistent gets' and phy.name = 'physical reads'"&lt;/SEARCHSTRING&gt;&lt;BR /&gt;
      &lt;EARLIESTTIME&gt;0&lt;/EARLIESTTIME&gt;&lt;BR /&gt;
      &lt;LATESTTIME&gt;now&lt;/LATESTTIME&gt;&lt;BR /&gt;
      true&lt;BR /&gt;
      false&lt;BR /&gt;
      none&lt;BR /&gt;
      row&lt;BR /&gt;
      10&lt;BR /&gt;
      visible&lt;BR /&gt;
      visible&lt;BR /&gt;
      linear&lt;BR /&gt;
      linear&lt;BR /&gt;
      radialGauge&lt;BR /&gt;
      gaps&lt;BR /&gt;
      0.01&lt;BR /&gt;
      default&lt;BR /&gt;
      shiny&lt;BR /&gt;
      all&lt;BR /&gt;
      0&lt;BR /&gt;
      ellipsisMiddle&lt;BR /&gt;
      right&lt;BR /&gt;
    &lt;/CHART&gt;&lt;BR /&gt;
  &lt;/ROW&gt;&lt;BR /&gt;
&lt;/DASHBOARD&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 17 Jan 2014 07:16:06 GMT</pubDate>
    <dc:creator>coope84</dc:creator>
    <dc:date>2014-01-17T07:16:06Z</dc:date>
    <item>
      <title>dbquery not work  in dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/dbquery-not-work-in-dashboard/m-p/117919#M6827</link>
      <description>&lt;P&gt;hello, here is my query string: | dbquery dbcenter  "select (1 - (phy.value / (cur.value + con.value))) *100 \"HIT RATIO\" from v$sysstat cur， v$sysstat con， v$sysstat phy where cur.name = 'db block gets' and con.name = 'consistent gets' and phy.name = 'physical reads'" ,It's worked in the search app,but I cannot see results when use dbquery in dashboard, here is my xml&lt;BR /&gt;
&lt;DASHBOARD&gt;&lt;BR /&gt;
  &lt;LABEL&gt;database center&lt;/LABEL&gt;&lt;BR /&gt;
  &lt;DESCRIPTION&gt;&lt;/DESCRIPTION&gt;&lt;BR /&gt;
  &lt;ROW&gt;&lt;BR /&gt;
    &lt;CHART&gt;&lt;BR /&gt;
      &lt;TITLE&gt;data buffer&lt;/TITLE&gt;&lt;BR /&gt;
      &lt;SEARCHSTRING&gt;| dbquery dbcenter  "select (1 - (phy.value / (cur.value + con.value))) *100 \"HIT RATIO\" from v$sysstat cur， v$sysstat con， v$sysstat phy where cur.name = 'db block gets' and con.name = 'consistent gets' and phy.name = 'physical reads'"&lt;/SEARCHSTRING&gt;&lt;BR /&gt;
      &lt;EARLIESTTIME&gt;0&lt;/EARLIESTTIME&gt;&lt;BR /&gt;
      &lt;LATESTTIME&gt;now&lt;/LATESTTIME&gt;&lt;BR /&gt;
      true&lt;BR /&gt;
      false&lt;BR /&gt;
      none&lt;BR /&gt;
      row&lt;BR /&gt;
      10&lt;BR /&gt;
      visible&lt;BR /&gt;
      visible&lt;BR /&gt;
      linear&lt;BR /&gt;
      linear&lt;BR /&gt;
      radialGauge&lt;BR /&gt;
      gaps&lt;BR /&gt;
      0.01&lt;BR /&gt;
      default&lt;BR /&gt;
      shiny&lt;BR /&gt;
      all&lt;BR /&gt;
      0&lt;BR /&gt;
      ellipsisMiddle&lt;BR /&gt;
      right&lt;BR /&gt;
    &lt;/CHART&gt;&lt;BR /&gt;
  &lt;/ROW&gt;&lt;BR /&gt;
&lt;/DASHBOARD&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jan 2014 07:16:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/dbquery-not-work-in-dashboard/m-p/117919#M6827</guid>
      <dc:creator>coope84</dc:creator>
      <dc:date>2014-01-17T07:16:06Z</dc:date>
    </item>
    <item>
      <title>Re: dbquery not work  in dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/dbquery-not-work-in-dashboard/m-p/117920#M6828</link>
      <description>&lt;P&gt;Without grasping the entirety of your post due to bad formatting, I see single dollar signs in your query. Escape those with another dollar sign to get $$, to avoid Splunk trying to replace $foo$ tokens.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jan 2014 08:19:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/dbquery-not-work-in-dashboard/m-p/117920#M6828</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2014-01-17T08:19:28Z</dc:date>
    </item>
  </channel>
</rss>

