<?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: Splunk Database Connect: How do we use the dbxquery command to find a Stored Procedure (SP) from a specific database? in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Database-Connect-How-do-we-use-the-dbxquery-command-to/m-p/388586#M47407</link>
    <description>&lt;P&gt;@tkomatsubara sorry for the delay, I was on leave. I set up the appropriate identity and connection database. | dbxquery connection="CONNECTION_DATABASE" procedure="{call DATABASE.dbo.GetData}" works on our Stored Procedures that do NOT use temp tables. The SQL is incredibly long and consists of multiple temp tables which is why we went the Stored Procedures route, thinking that it may work. We had first tried the dbxquery="" query"" method which does not allow temp tables either.&lt;/P&gt;</description>
    <pubDate>Tue, 23 Oct 2018 15:04:31 GMT</pubDate>
    <dc:creator>sochsenbein</dc:creator>
    <dc:date>2018-10-23T15:04:31Z</dc:date>
    <item>
      <title>Splunk Database Connect: How do we use the dbxquery command to find a Stored Procedure (SP) from a specific database?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Database-Connect-How-do-we-use-the-dbxquery-command-to/m-p/388584#M47405</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;

&lt;P&gt;I just created an SP in one of our databases and on our server. We have hundreds of databases, so I am not sure how to tell Splunk to look specifically for this one (or how else would Splunk know which database to look in?). &lt;/P&gt;

&lt;P&gt;If I run the following in Splunk, it says it cannot find the SP:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| dbxquery connection="SERVER_NAME" procedure="{call dbo.GetData}"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I have also tried:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| dbxquery connection="SERVER_NAME" procedure="{call DATABASE.dbo.GetData}"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;and &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| dbxquery connection="SERVER_NAME" procedure="{call DATABASE..dbo.GetData}"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 21 Sep 2018 21:45:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Database-Connect-How-do-we-use-the-dbxquery-command-to/m-p/388584#M47405</guid>
      <dc:creator>sochsenbein</dc:creator>
      <dc:date>2018-09-21T21:45:50Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Database Connect: How do we use the dbxquery command to find a Stored Procedure (SP) from a specific database?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Database-Connect-How-do-we-use-the-dbxquery-command-to/m-p/388585#M47406</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;
Did you check this web page? &lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/DBX/3.1.3/DeployDBX/Commands"&gt;http://docs.splunk.com/Documentation/DBX/3.1.3/DeployDBX/Commands&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Also, did you specify the actual serever name to the "connection" parameter? If so, it's completely wrong usage.&lt;BR /&gt;
Please follow&lt;BR /&gt;
 &lt;A href="http://docs.splunk.com/Documentation/DBX/3.1.3/DeployDBX/Createandmanageidentities"&gt;http://docs.splunk.com/Documentation/DBX/3.1.3/DeployDBX/Createandmanageidentities&lt;/A&gt;&lt;BR /&gt;
 &lt;A href="http://docs.splunk.com/Documentation/DBX/3.1.3/DeployDBX/Createandmanagedatabaseconnections"&gt;http://docs.splunk.com/Documentation/DBX/3.1.3/DeployDBX/Createandmanagedatabaseconnections&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 22 Sep 2018 06:55:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Database-Connect-How-do-we-use-the-dbxquery-command-to/m-p/388585#M47406</guid>
      <dc:creator>tkomatsubara_sp</dc:creator>
      <dc:date>2018-09-22T06:55:12Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Database Connect: How do we use the dbxquery command to find a Stored Procedure (SP) from a specific database?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Database-Connect-How-do-we-use-the-dbxquery-command-to/m-p/388586#M47407</link>
      <description>&lt;P&gt;@tkomatsubara sorry for the delay, I was on leave. I set up the appropriate identity and connection database. | dbxquery connection="CONNECTION_DATABASE" procedure="{call DATABASE.dbo.GetData}" works on our Stored Procedures that do NOT use temp tables. The SQL is incredibly long and consists of multiple temp tables which is why we went the Stored Procedures route, thinking that it may work. We had first tried the dbxquery="" query"" method which does not allow temp tables either.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Oct 2018 15:04:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Database-Connect-How-do-we-use-the-dbxquery-command-to/m-p/388586#M47407</guid>
      <dc:creator>sochsenbein</dc:creator>
      <dc:date>2018-10-23T15:04:31Z</dc:date>
    </item>
  </channel>
</rss>

