<?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: How to enable monitoring of SQL DB size in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-enable-monitoring-of-SQL-DB-size/m-p/113750#M23809</link>
    <description>&lt;P&gt;Go to Perfmon if you have logon access to the machine.&lt;/P&gt;

&lt;P&gt;Check all the instances for the databases object which you want to monitor rather that using *. If you don't see the database in the list splunk will not as well&lt;/P&gt;

&lt;P&gt;Moreover you can also monitor the size using sql script as well. Search for how to check database size using sql and trigger the same using sqlcmd in the bat file.&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
L&lt;/P&gt;</description>
    <pubDate>Sat, 21 Jun 2014 02:42:56 GMT</pubDate>
    <dc:creator>linu1988</dc:creator>
    <dc:date>2014-06-21T02:42:56Z</dc:date>
    <item>
      <title>How to enable monitoring of SQL DB size</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-enable-monitoring-of-SQL-DB-size/m-p/113747#M23806</link>
      <description>&lt;P&gt;I am trying to find the format for a perfmon input to collect the following from a universalforwarder but am not sure about the format of the stanza&lt;/P&gt;

&lt;P&gt;SQLServer:Databases&lt;BR /&gt;
Dara File(s) Size (KB)&lt;/P&gt;

&lt;P&gt;Also, do i need to enable that from within SQL or Perfmon itself?&lt;BR /&gt;
The weird thing is I have the stanza below enabled, but only get data from one of my 150+ servers that have the same exact config and cant figure out why only one works.&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;[perfmon://SQLServer_SQL_Statistics]&lt;BR /&gt;
object = MSSQL\$.*:SQL Statistics&lt;BR /&gt;
counters = *&lt;BR /&gt;
instances = *&lt;BR /&gt;
interval = 30&lt;BR /&gt;
disabled = 0&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jun 2014 17:42:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-enable-monitoring-of-SQL-DB-size/m-p/113747#M23806</guid>
      <dc:creator>cmahan</dc:creator>
      <dc:date>2014-06-20T17:42:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to enable monitoring of SQL DB size</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-enable-monitoring-of-SQL-DB-size/m-p/113748#M23807</link>
      <description>&lt;P&gt;Update -  I was able to get some additional data to come from the one server i was already getting data from.  I noticed that the data is regarding a different DB than the one i am interested in that the customer added to the box.  His other DB is in the default location, but the one i want  is on a different drive and path.  Could the location be affecting something?  Would I need to alter the regex?  This version below seems to work for me, just not for the right DB.&lt;/P&gt;

&lt;P&gt;[perfmon://SQLServer_Databases]&lt;BR /&gt;
object = MSSQL\$.*:Databases&lt;BR /&gt;
counters = *&lt;BR /&gt;
instances = *&lt;BR /&gt;
interval = 30&lt;BR /&gt;
disabled = 0&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jun 2014 21:48:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-enable-monitoring-of-SQL-DB-size/m-p/113748#M23807</guid>
      <dc:creator>cmahan</dc:creator>
      <dc:date>2014-06-20T21:48:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to enable monitoring of SQL DB size</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-enable-monitoring-of-SQL-DB-size/m-p/113749#M23808</link>
      <description>&lt;P&gt;BTW  I do have an asterisk after counters in both stanzas above, it just doesn't show right for some reason when i post it.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jun 2014 21:49:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-enable-monitoring-of-SQL-DB-size/m-p/113749#M23808</guid>
      <dc:creator>cmahan</dc:creator>
      <dc:date>2014-06-20T21:49:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to enable monitoring of SQL DB size</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-enable-monitoring-of-SQL-DB-size/m-p/113750#M23809</link>
      <description>&lt;P&gt;Go to Perfmon if you have logon access to the machine.&lt;/P&gt;

&lt;P&gt;Check all the instances for the databases object which you want to monitor rather that using *. If you don't see the database in the list splunk will not as well&lt;/P&gt;

&lt;P&gt;Moreover you can also monitor the size using sql script as well. Search for how to check database size using sql and trigger the same using sqlcmd in the bat file.&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
L&lt;/P&gt;</description>
      <pubDate>Sat, 21 Jun 2014 02:42:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-enable-monitoring-of-SQL-DB-size/m-p/113750#M23809</guid>
      <dc:creator>linu1988</dc:creator>
      <dc:date>2014-06-21T02:42:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to enable monitoring of SQL DB size</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-enable-monitoring-of-SQL-DB-size/m-p/113751#M23810</link>
      <description>&lt;P&gt;Finally corrected the issue.  It was a matter of correctly supplying the object name in the right format.&lt;/P&gt;

&lt;P&gt;like this&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;object = SQLServer:Databases&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;not&lt;/P&gt;

&lt;P&gt;&lt;EM&gt;object = MSSQL:Databases&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;Not sure why some are one way and others are the other, but this worked for me.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jun 2014 14:03:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-enable-monitoring-of-SQL-DB-size/m-p/113751#M23810</guid>
      <dc:creator>cmahan</dc:creator>
      <dc:date>2014-06-30T14:03:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to enable monitoring of SQL DB size</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-enable-monitoring-of-SQL-DB-size/m-p/113752#M23811</link>
      <description>&lt;P&gt;can you explain in detail how this is done for a beginner? i'm not sure what query i need to place in the search to get this result any help would be greatly appreciated &lt;/P&gt;</description>
      <pubDate>Tue, 12 May 2020 09:50:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-enable-monitoring-of-SQL-DB-size/m-p/113752#M23811</guid>
      <dc:creator>zanaown</dc:creator>
      <dc:date>2020-05-12T09:50:51Z</dc:date>
    </item>
  </channel>
</rss>

