<?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: Procedure for database monitoring through Microsoft Sql Server APP in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Procedure-for-database-monitoring-through-Microsoft-Sql-Server/m-p/117301#M8808</link>
    <description>&lt;P&gt;I figured this one out, finally.  Here's what I did:&lt;BR /&gt;
Windows Server 2008 R2 and Windows 2012 R2 - Open Powershell as Administrator&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;PS C:\&amp;gt;Get-Execution Policy
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If it's Restricted, then do the following:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;PS C:\&amp;gt;Set-Execution Policy Bypass
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Say Yes to the Execution Policy Change.&lt;/P&gt;

&lt;P&gt;Then run Get-ExecutionPolicy and see that it changed to Bypass:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;PS C:\&amp;gt; Get-ExecutionPolicy
Bypass
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Once you have that done, now you'll need to make one more change.  &lt;/P&gt;

&lt;P&gt;Open your SQL Server Management Studio and log in as sysadmin (sa). Go to Security -&amp;gt;Logins -&amp;gt; NT AUTHORITY\SYSTEM (Properties) and grant the user &lt;STRONG&gt;sysadmin&lt;/STRONG&gt; Server Role.   Apply the change and restart your Splunk service.  (Thanks Adrian:  &lt;A href="http://answers.splunk.com/answers/108974/problem-with-powershell-and-splunk_for_sqlserver-app" target="_blank"&gt;http://answers.splunk.com/answers/108974/problem-with-powershell-and-splunk_for_sqlserver-app&lt;/A&gt;)  &lt;/P&gt;

&lt;P&gt;Once you have all these steps done, then go into the app and run the Lookup Table Rebuilder (Searches &amp;amp; Reports-&amp;gt;Lookup Table Rebuilder)&lt;/P&gt;

&lt;P&gt;Lastly, you can run the search: &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=mssql | stats count, values(sourcetype) by host 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;You should see the following source types show up:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;MSSQL:Database:Health
MSSQL:Host:Memory
MSSQL:Instance:Service
MSSQL:Instance:User
Powershell:ScriptExecutionSummary
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Mon, 28 Sep 2020 17:14:05 GMT</pubDate>
    <dc:creator>amiracle</dc:creator>
    <dc:date>2020-09-28T17:14:05Z</dc:date>
    <item>
      <title>Procedure for database monitoring through Microsoft Sql Server APP</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Procedure-for-database-monitoring-through-Microsoft-Sql-Server/m-p/117297#M8804</link>
      <description>&lt;P&gt;I have Splunk enterprise installed on one of the machine and universal forwarders installed on  other machine  which consists of MSSQL Server 2012 and (Windows 2008 server R2)&lt;BR /&gt;
I want to monitor database metrics like Concurrency, Transactions, Top Executed Queries etc.  from this machine.&lt;/P&gt;

&lt;P&gt;I have even installed the Microsoft sql server app which is a plugin to support MSSQL database monitoring but I am not able to see any type of output from it and monitoring metrics with it. It is showing "No results found".&lt;BR /&gt;
And it is throwing an error called Failed load deployment server tenant default&lt;/P&gt;

&lt;P&gt;Can you please do the needful help on how to configure the Microsoft SQl server APP  to see my database performance metrics&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jan 2014 17:21:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Procedure-for-database-monitoring-through-Microsoft-Sql-Server/m-p/117297#M8804</guid>
      <dc:creator>nagadeepthi</dc:creator>
      <dc:date>2014-01-16T17:21:57Z</dc:date>
    </item>
    <item>
      <title>Re: Procedure for database monitoring through Microsoft Sql Server APP</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Procedure-for-database-monitoring-through-Microsoft-Sql-Server/m-p/117298#M8805</link>
      <description>&lt;P&gt;did you install the MS SQL Server App, or did you install the DB Connect app? &lt;A href="http://apps.splunk.com/app/958/"&gt;http://apps.splunk.com/app/958/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jan 2014 19:54:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Procedure-for-database-monitoring-through-Microsoft-Sql-Server/m-p/117298#M8805</guid>
      <dc:creator>piebob</dc:creator>
      <dc:date>2014-01-16T19:54:00Z</dc:date>
    </item>
    <item>
      <title>Re: Procedure for database monitoring through Microsoft Sql Server APP</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Procedure-for-database-monitoring-through-Microsoft-Sql-Server/m-p/117299#M8806</link>
      <description>&lt;P&gt;i have installed MS SQL server App on my main splunk instance and have completed te required steps to configure it but still it is unable to fetch me the metrics of the database should i do anyhting more to get this information like configuring lookup or etc.,,,, please let me know&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jan 2014 20:15:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Procedure-for-database-monitoring-through-Microsoft-Sql-Server/m-p/117299#M8806</guid>
      <dc:creator>nagadeepthi</dc:creator>
      <dc:date>2014-01-16T20:15:08Z</dc:date>
    </item>
    <item>
      <title>Re: Procedure for database monitoring through Microsoft Sql Server APP</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Procedure-for-database-monitoring-through-Microsoft-Sql-Server/m-p/117300#M8807</link>
      <description>&lt;P&gt;You can check the installed add-ons on the SQL Server (Splunk Technology Add-on for Windows, Splunk Add-on for PowerShell, Splunk Technology Add-on for SQL Server).&lt;BR /&gt;
Check splunkd.log for Powershell related errors. Did you install the prerequisites for running Powershell on SQL Server?&lt;/P&gt;</description>
      <pubDate>Fri, 31 Jan 2014 17:55:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Procedure-for-database-monitoring-through-Microsoft-Sql-Server/m-p/117300#M8807</guid>
      <dc:creator>Smile172</dc:creator>
      <dc:date>2014-01-31T17:55:50Z</dc:date>
    </item>
    <item>
      <title>Re: Procedure for database monitoring through Microsoft Sql Server APP</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Procedure-for-database-monitoring-through-Microsoft-Sql-Server/m-p/117301#M8808</link>
      <description>&lt;P&gt;I figured this one out, finally.  Here's what I did:&lt;BR /&gt;
Windows Server 2008 R2 and Windows 2012 R2 - Open Powershell as Administrator&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;PS C:\&amp;gt;Get-Execution Policy
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If it's Restricted, then do the following:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;PS C:\&amp;gt;Set-Execution Policy Bypass
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Say Yes to the Execution Policy Change.&lt;/P&gt;

&lt;P&gt;Then run Get-ExecutionPolicy and see that it changed to Bypass:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;PS C:\&amp;gt; Get-ExecutionPolicy
Bypass
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Once you have that done, now you'll need to make one more change.  &lt;/P&gt;

&lt;P&gt;Open your SQL Server Management Studio and log in as sysadmin (sa). Go to Security -&amp;gt;Logins -&amp;gt; NT AUTHORITY\SYSTEM (Properties) and grant the user &lt;STRONG&gt;sysadmin&lt;/STRONG&gt; Server Role.   Apply the change and restart your Splunk service.  (Thanks Adrian:  &lt;A href="http://answers.splunk.com/answers/108974/problem-with-powershell-and-splunk_for_sqlserver-app" target="_blank"&gt;http://answers.splunk.com/answers/108974/problem-with-powershell-and-splunk_for_sqlserver-app&lt;/A&gt;)  &lt;/P&gt;

&lt;P&gt;Once you have all these steps done, then go into the app and run the Lookup Table Rebuilder (Searches &amp;amp; Reports-&amp;gt;Lookup Table Rebuilder)&lt;/P&gt;

&lt;P&gt;Lastly, you can run the search: &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=mssql | stats count, values(sourcetype) by host 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;You should see the following source types show up:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;MSSQL:Database:Health
MSSQL:Host:Memory
MSSQL:Instance:Service
MSSQL:Instance:User
Powershell:ScriptExecutionSummary
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 28 Sep 2020 17:14:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Procedure-for-database-monitoring-through-Microsoft-Sql-Server/m-p/117301#M8808</guid>
      <dc:creator>amiracle</dc:creator>
      <dc:date>2020-09-28T17:14:05Z</dc:date>
    </item>
    <item>
      <title>Re: Procedure for database monitoring through Microsoft Sql Server APP</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Procedure-for-database-monitoring-through-Microsoft-Sql-Server/m-p/117302#M8809</link>
      <description>&lt;P&gt;Hi, When I run command line that, I also only see :&lt;BR /&gt;
MSSQL:Database:Health&lt;BR /&gt;
MSSQL:Database:Information&lt;BR /&gt;
MSSQL:Host:Memory&lt;BR /&gt;
MSSQL:Index:MissingStats&lt;BR /&gt;
MSSQL:Index:Stats&lt;BR /&gt;
MSSQL:Instance:Service&lt;BR /&gt;
MSSQL:Instance:User&lt;BR /&gt;
Powershell:ScriptExecutionErrorRecord&lt;BR /&gt;
Powershell:ScriptExecutionSummary&lt;BR /&gt;
I can't show&lt;BR /&gt;
MSSQL:Instance:Information&lt;BR /&gt;
Please help me about the issue&lt;/P&gt;</description>
      <pubDate>Sun, 25 Jun 2017 04:40:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Procedure-for-database-monitoring-through-Microsoft-Sql-Server/m-p/117302#M8809</guid>
      <dc:creator>phuonguit</dc:creator>
      <dc:date>2017-06-25T04:40:34Z</dc:date>
    </item>
    <item>
      <title>Re: Procedure for database monitoring through Microsoft Sql Server APP</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Procedure-for-database-monitoring-through-Microsoft-Sql-Server/m-p/117303#M8810</link>
      <description>&lt;P&gt;Hi Phuonguit,  hey we have a  requirement to monitor SQL error log and data base monitoring using the splunk. I had  downloaded the MS-SQL Add-on 1.3 and DB-Connect 3.1. We have 5 indexer instance, 5 Heavy Forwarder instances, three cluster search heads, deployment instances and Deployer instances  all are running with Splunk 6.6.1 version. &lt;/P&gt;

&lt;P&gt;We have downloaded the SQL Add-on app from splunk base to monitor the  Error log file.&lt;BR /&gt;
Default monitoring stanza provide in MS SQL Add-on&lt;/P&gt;

&lt;P&gt;Inputs.conf &lt;BR /&gt;
ERROR Log for SQL Server 2014&lt;BR /&gt;
[monitor://C:\Program Files\Microsoft SQL Server\MSSQL11\MSSQL\Log\ERRORLOG*]&lt;BR /&gt;
sourcetype = mssql:errorlog&lt;BR /&gt;
disabled = 1&lt;/P&gt;

&lt;P&gt;My Question : How to configure inputs.conf to monitor the Error Log file placed under different paths on the remote node.&lt;/P&gt;

&lt;P&gt;Example : Test01 Test02 Test03&lt;/P&gt;

&lt;P&gt;Node=test01 &lt;BR /&gt;
SQL Version: Microsoft SQL Server 2014 - 12.0.2000.8 (X64)&lt;BR /&gt;
File Monitoring:D:\Data\MSSQL12.MSSQLSERVER\MSSQL\Log\ERRORLOG&lt;/P&gt;

&lt;P&gt;Node=test02&lt;BR /&gt;
SQL Version: Microsoft SQL Server 2014 - 12.0.4100.1 (X64) &lt;BR /&gt;
File Monitoring:C:\Program Files\Microsoft SQL Server\MSSQL12.MSSQLSERVER\MSSQL\Log\ERRORLOG&lt;BR /&gt;
Node=test03&lt;/P&gt;

&lt;P&gt;SQL Version: Microsoft SQL Server 2014 - 12.0.2000.8 (X64) &lt;BR /&gt;
File Monitoring: &lt;span class="lia-unicode-emoji" title=":anguished_face:"&gt;😧&lt;/span&gt; \Program Files\Microsoft SQLServer\MSSQL12.SCOM2012RS\MSSQL\Log\ERRORLOG&lt;/P&gt;

&lt;P&gt;Kindly guide me on how to setup an inputs.conf to monitor Error.log file placed under different paths on different nodes from remote nodes.&lt;BR /&gt;
thanks in advance. &lt;/P&gt;</description>
      <pubDate>Mon, 20 Nov 2017 06:10:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Procedure-for-database-monitoring-through-Microsoft-Sql-Server/m-p/117303#M8810</guid>
      <dc:creator>Hemnaath</dc:creator>
      <dc:date>2017-11-20T06:10:10Z</dc:date>
    </item>
    <item>
      <title>Re: Procedure for database monitoring through Microsoft Sql Server APP</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Procedure-for-database-monitoring-through-Microsoft-Sql-Server/m-p/117304#M8811</link>
      <description>&lt;P&gt;Hi Nagadeepthi, hey we have a requirement to monitor SQL error log and data base monitoring using the splunk. I had downloaded the MS-SQL Add-on 1.3 and DB-Connect 3.1. We have 5 indexer instance, 5 Heavy Forwarder instances, three cluster search heads, deployment instances and Deployer instances all are running with Splunk 6.6.1 version.&lt;/P&gt;

&lt;P&gt;We have downloaded the SQL Add-on app from splunk base to monitor the Error log file.&lt;BR /&gt;
Default monitoring stanza provide in MS SQL Add-on&lt;/P&gt;

&lt;P&gt;Inputs.conf &lt;BR /&gt;
ERROR Log for SQL Server 2014&lt;BR /&gt;
[monitor://C:\Program Files\Microsoft SQL Server\MSSQL11\MSSQL\Log\ERRORLOG*]&lt;BR /&gt;
sourcetype = mssql:errorlog&lt;BR /&gt;
disabled = 1&lt;/P&gt;

&lt;P&gt;My Question : How to configure inputs.conf to monitor the Error Log file placed under different paths on the remote node.&lt;/P&gt;

&lt;P&gt;Example : Test01 Test02 Test03&lt;/P&gt;

&lt;P&gt;Node=test01 &lt;BR /&gt;
SQL Version: Microsoft SQL Server 2014 - 12.0.2000.8 (X64)&lt;BR /&gt;
File Monitoring:D:\Data\MSSQL12.MSSQLSERVER\MSSQL\Log\ERRORLOG&lt;/P&gt;

&lt;P&gt;Node=test02&lt;BR /&gt;
SQL Version: Microsoft SQL Server 2014 - 12.0.4100.1 (X64) &lt;BR /&gt;
File Monitoring:C:\Program Files\Microsoft SQL Server\MSSQL12.MSSQLSERVER\MSSQL\Log\ERRORLOG&lt;BR /&gt;
Node=test03&lt;/P&gt;

&lt;P&gt;SQL Version: Microsoft SQL Server 2014 - 12.0.2000.8 (X64) &lt;BR /&gt;
File Monitoring: &lt;span class="lia-unicode-emoji" title=":anguished_face:"&gt;😧&lt;/span&gt; \Program Files\Microsoft SQLServer\MSSQL12.SCOM2012RS\MSSQL\Log\ERRORLOG&lt;/P&gt;

&lt;P&gt;Kindly guide me on how to setup an inputs.conf to monitor Error.log file placed under different paths on different nodes from remote nodes.&lt;BR /&gt;
thanks in advance.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Nov 2017 06:10:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Procedure-for-database-monitoring-through-Microsoft-Sql-Server/m-p/117304#M8811</guid>
      <dc:creator>Hemnaath</dc:creator>
      <dc:date>2017-11-20T06:10:54Z</dc:date>
    </item>
    <item>
      <title>Re: Procedure for database monitoring through Microsoft Sql Server APP</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Procedure-for-database-monitoring-through-Microsoft-Sql-Server/m-p/117305#M8812</link>
      <description>&lt;P&gt;Thanks Hemnaath,&lt;/P&gt;

&lt;P&gt;I will try&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jun 2018 03:34:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Procedure-for-database-monitoring-through-Microsoft-Sql-Server/m-p/117305#M8812</guid>
      <dc:creator>phuonguit</dc:creator>
      <dc:date>2018-06-14T03:34:06Z</dc:date>
    </item>
  </channel>
</rss>

