<?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: Add a DBConnect Input to Dashboard in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Add-a-DBConnect-Input-to-Dashboard/m-p/660565#M54359</link>
    <description>&lt;P&gt;I've done exactly as you said, but it's still not working.&amp;nbsp; What kind of visualization type should I select to get a multi line graph?&amp;nbsp; I'm running on a clustered environment using SQL Server 2016 and using DBConnect.&amp;nbsp; My field in the dashboard still says it is waiting for input.&amp;nbsp; I updated the Indexes.conf files and did the Rolling Restart on the Index Clustering Manager node.&lt;/P&gt;</description>
    <pubDate>Thu, 12 Oct 2023 17:05:29 GMT</pubDate>
    <dc:creator>dgwann</dc:creator>
    <dc:date>2023-10-12T17:05:29Z</dc:date>
    <item>
      <title>Add a DBConnect Input to Dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Add-a-DBConnect-Input-to-Dashboard/m-p/660000#M54328</link>
      <description>&lt;P&gt;I have a DBConnect Input defined that produces the following output:&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;Date&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;Group_Name&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;Number_of_Submissions&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%" height="40px"&gt;&lt;P&gt;2023-10-02&lt;/P&gt;&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="40px"&gt;Apple&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="40px"&gt;780&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;2023-10-03&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;Apple&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;1116&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;2023-10-04&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;Apple&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;1154&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;2023-10-05&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;Apple&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;786&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;2023-10-06&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;Apple&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;699&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%" height="40px"&gt;&lt;P&gt;2023-10-02&lt;/P&gt;&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="40px"&gt;Banana&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="40px"&gt;358&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;2023-10-03&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;Banana&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;760&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;2023-10-04&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;Banana&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;254&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;2023-10-05&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;Banana&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;1009&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;2023-10-06&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;Banana&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;876&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%" height="40px"&gt;&lt;P&gt;2023-10-02&lt;/P&gt;&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="40px"&gt;Others&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="40px"&gt;1265&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;2023-10-03&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;Others&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;1400&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;2023-10-04&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;Others&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;257&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;2023-10-05&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;Others&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;109&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;2023-10-06&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;Others&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;1709&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to have this data displayed on a Dashboard as a multi-line chart, x-axis is the Date, y-axis is the Number of submissions, and there should be different color lines representing the different groups.&amp;nbsp; I am new to Splunk.&amp;nbsp; Very new.&amp;nbsp; I need succinct instructions pls.&amp;nbsp; Thanks!!!&lt;/P&gt;</description>
      <pubDate>Fri, 06 Oct 2023 15:19:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Add-a-DBConnect-Input-to-Dashboard/m-p/660000#M54328</guid>
      <dc:creator>dgwann</dc:creator>
      <dc:date>2023-10-06T15:19:43Z</dc:date>
    </item>
    <item>
      <title>Re: Add a DBConnect Input to Dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Add-a-DBConnect-Input-to-Dashboard/m-p/660001#M54329</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/260762"&gt;@dgwann&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;let me understand: do you want to use DB-Connect to extract data from a DB saving them in an index and then search on the index or directly execute the query run-time on the DB and display results?&lt;/P&gt;&lt;P&gt;the second option doesn't consume license but surely will have very low performces because Splunk DB-Connect was created to extract data from a DB wexecuting query, not to execute runtime queries.&lt;/P&gt;&lt;P&gt;When you'll have the data in an index you can create your search using SPL, something like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=your_index
| stats sum(Number_of_Submissions) AS Number_of_Submissions BY Date Group_name&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if instead you want to run on line queries (I not hint this because it will be more than slowest!), you should try something like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| dbxquery query="&amp;lt;your_query&amp;gt;" connection="&amp;lt;mySQL&amp;lt;" 
| stats sum(Number_of_Submissions) AS Number_of_Submissions BY Date Group_name&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;for more details see at &lt;A href="https://docs.splunk.com/Documentation/DBX/3.14.1/DeployDBX/Commands" target="_blank"&gt;https://docs.splunk.com/Documentation/DBX/3.14.1/DeployDBX/Commands&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Fri, 06 Oct 2023 15:28:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Add-a-DBConnect-Input-to-Dashboard/m-p/660001#M54329</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2023-10-06T15:28:57Z</dc:date>
    </item>
    <item>
      <title>Re: Add a DBConnect Input to Dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Add-a-DBConnect-Input-to-Dashboard/m-p/660006#M54330</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;&amp;nbsp;Where do I put those blocks of code you sent?&amp;nbsp; Do I put them somewhere in the dashboard builder, or in the DBConnect for the Input?&amp;nbsp; Like I said, I'm very new to this.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Oct 2023 16:08:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Add-a-DBConnect-Input-to-Dashboard/m-p/660006#M54330</guid>
      <dc:creator>dgwann</dc:creator>
      <dc:date>2023-10-06T16:08:18Z</dc:date>
    </item>
    <item>
      <title>Re: Add a DBConnect Input to Dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Add-a-DBConnect-Input-to-Dashboard/m-p/660009#M54331</link>
      <description>&lt;P&gt;I want a dashboard panel to display the line chart, the query should be run in the background every 30 minutes to an hour and update the display.&amp;nbsp; So I assume I mean that I want to directly execute the query on the DB and display results.&amp;nbsp; I've created the Input.&amp;nbsp; Do I need to create an Output?&amp;nbsp; I don't want to update the database at all, just read it.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Oct 2023 16:17:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Add-a-DBConnect-Input-to-Dashboard/m-p/660009#M54331</guid>
      <dc:creator>dgwann</dc:creator>
      <dc:date>2023-10-06T16:17:24Z</dc:date>
    </item>
    <item>
      <title>Re: Add a DBConnect Input to Dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Add-a-DBConnect-Input-to-Dashboard/m-p/660059#M54335</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/260762"&gt;@dgwann&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;in the dashboard,&lt;/P&gt;&lt;P&gt;as I said, you should create an input in DB-Connect, indexing results in Splunk and using my first solution in dashboards.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Sat, 07 Oct 2023 05:47:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Add-a-DBConnect-Input-to-Dashboard/m-p/660059#M54335</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2023-10-07T05:47:51Z</dc:date>
    </item>
    <item>
      <title>Re: Add a DBConnect Input to Dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Add-a-DBConnect-Input-to-Dashboard/m-p/660565#M54359</link>
      <description>&lt;P&gt;I've done exactly as you said, but it's still not working.&amp;nbsp; What kind of visualization type should I select to get a multi line graph?&amp;nbsp; I'm running on a clustered environment using SQL Server 2016 and using DBConnect.&amp;nbsp; My field in the dashboard still says it is waiting for input.&amp;nbsp; I updated the Indexes.conf files and did the Rolling Restart on the Index Clustering Manager node.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Oct 2023 17:05:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Add-a-DBConnect-Input-to-Dashboard/m-p/660565#M54359</guid>
      <dc:creator>dgwann</dc:creator>
      <dc:date>2023-10-12T17:05:29Z</dc:date>
    </item>
    <item>
      <title>Re: Add a DBConnect Input to Dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Add-a-DBConnect-Input-to-Dashboard/m-p/660618#M54361</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/260762"&gt;@dgwann&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;if you run a search using dbquery, you should have as result a table that you can display as you like, as every other kind of Splunk panel.&lt;/P&gt;&lt;P&gt;it isn't relevant (for the display) where the data come from.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Fri, 13 Oct 2023 06:29:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Add-a-DBConnect-Input-to-Dashboard/m-p/660618#M54361</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2023-10-13T06:29:15Z</dc:date>
    </item>
    <item>
      <title>Re: Add a DBConnect Input to Dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Add-a-DBConnect-Input-to-Dashboard/m-p/661104#M54411</link>
      <description>&lt;P&gt;Okay, I'm getting closer.&amp;nbsp; I get a line chart to show up now.&amp;nbsp; However, I need 3 different lines representing the 3 different customers and the Number of submissions for each day.&amp;nbsp; I just need to get the SPL right.&amp;nbsp; Thanks for your assistance and patience!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Oct 2023 19:55:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Add-a-DBConnect-Input-to-Dashboard/m-p/661104#M54411</guid>
      <dc:creator>dgwann</dc:creator>
      <dc:date>2023-10-17T19:55:40Z</dc:date>
    </item>
    <item>
      <title>Re: Add a DBConnect Input to Dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Add-a-DBConnect-Input-to-Dashboard/m-p/661136#M54417</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/260762"&gt;@dgwann&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;what re the results executing your searches?&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Wed, 18 Oct 2023 06:30:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Add-a-DBConnect-Input-to-Dashboard/m-p/661136#M54417</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2023-10-18T06:30:15Z</dc:date>
    </item>
    <item>
      <title>Re: Add a DBConnect Input to Dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Add-a-DBConnect-Input-to-Dashboard/m-p/661187#M54419</link>
      <description>&lt;P&gt;I ended up using the chart command instead of stats and got it to come out correctly.&amp;nbsp; Thanks again!!&lt;/P&gt;</description>
      <pubDate>Wed, 18 Oct 2023 12:51:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Add-a-DBConnect-Input-to-Dashboard/m-p/661187#M54419</guid>
      <dc:creator>dgwann</dc:creator>
      <dc:date>2023-10-18T12:51:21Z</dc:date>
    </item>
  </channel>
</rss>

