<?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: Can I build a dashboard using data pulled from DB2 using DB Connect? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Can-I-build-a-dashboard-using-data-pulled-from-DB2-using-DB/m-p/396478#M25947</link>
    <description>&lt;P&gt;@ScottMacD82 - if your question has been answered, please click the "accept" button so that folks will know it is resolved. &lt;/P&gt;</description>
    <pubDate>Thu, 09 Aug 2018 19:22:57 GMT</pubDate>
    <dc:creator>DalJeanis</dc:creator>
    <dc:date>2018-08-09T19:22:57Z</dc:date>
    <item>
      <title>Can I build a dashboard using data pulled from DB2 using DB Connect?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Can-I-build-a-dashboard-using-data-pulled-from-DB2-using-DB/m-p/396476#M25945</link>
      <description>&lt;P&gt;I am potentially working on building on a Splunk dashboard. It is meant to take data every day that is in a DB2 database, and put it into a dashboard. I've watched some DB Connect videos but it just shows the data as a report. If I need the data to show as data from today, yesterday, and possibly going back for a data range, would I be able to do that with Splunk/DB Connect pulling that information from DB2?&lt;/P&gt;</description>
      <pubDate>Wed, 08 Aug 2018 20:58:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Can-I-build-a-dashboard-using-data-pulled-from-DB2-using-DB/m-p/396476#M25945</guid>
      <dc:creator>ScottMacD82</dc:creator>
      <dc:date>2018-08-08T20:58:21Z</dc:date>
    </item>
    <item>
      <title>Re: Can I build a dashboard using data pulled from DB2 using DB Connect?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Can-I-build-a-dashboard-using-data-pulled-from-DB2-using-DB/m-p/396477#M25946</link>
      <description>&lt;P&gt;Yes. &lt;/P&gt;

&lt;P&gt;Basically, DBConnect gives you access to a data generating command called dbxquery, which can pull data from the database.  &lt;/P&gt;

&lt;P&gt;You do that with a search, that produces the data for a report. &lt;/P&gt;

&lt;P&gt;That same search can be used to power a dashboard.&lt;/P&gt;

&lt;P&gt;Literally any dashboard you use is running searches under the covers, sometimes many different searches.  There might be a search just to populate a dropdown, another (called a base search) that sits behind the dash and provides pre-chewed data, and then little filtering searches that takes the base search and filters or aggregates it different ways for presentation.&lt;/P&gt;

&lt;P&gt;So, first &lt;/P&gt;

&lt;P&gt;1) Get DBConnect working to pull a small amount of data data using a fixed, simple, standard SQL query in the connect string.&lt;/P&gt;

&lt;P&gt;2) Get it working to send that same fixed query from a dash and show the results.&lt;/P&gt;

&lt;P&gt;3) Create a fixed token in the dash using the &lt;CODE&gt;&amp;lt;set&amp;gt;&lt;/CODE&gt; command, add the  token to the query  and get the query working. &lt;/P&gt;

&lt;P&gt;Once you've done all the above, using a simple no-nonsense query that has very little in the way of moving parts, such as... &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;`SELECT UserID, UserName from MyDatabase.User WHERE Userid='ABC123'`
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;...then you should be able to go from there to develop any dash you'd like by progressively adding features. &lt;/P&gt;

&lt;P&gt;If you need help working it through, then get onto the Splunk Slack channel, in either the #dbconnect or #dashboard subchannel,  depending on the question, and we will help you get through it.  &lt;/P&gt;</description>
      <pubDate>Wed, 08 Aug 2018 22:02:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Can-I-build-a-dashboard-using-data-pulled-from-DB2-using-DB/m-p/396477#M25946</guid>
      <dc:creator>DalJeanis</dc:creator>
      <dc:date>2018-08-08T22:02:18Z</dc:date>
    </item>
    <item>
      <title>Re: Can I build a dashboard using data pulled from DB2 using DB Connect?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Can-I-build-a-dashboard-using-data-pulled-from-DB2-using-DB/m-p/396478#M25947</link>
      <description>&lt;P&gt;@ScottMacD82 - if your question has been answered, please click the "accept" button so that folks will know it is resolved. &lt;/P&gt;</description>
      <pubDate>Thu, 09 Aug 2018 19:22:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Can-I-build-a-dashboard-using-data-pulled-from-DB2-using-DB/m-p/396478#M25947</guid>
      <dc:creator>DalJeanis</dc:creator>
      <dc:date>2018-08-09T19:22:57Z</dc:date>
    </item>
  </channel>
</rss>

