All Apps and Add-ons

Possible [perfmon://sqlserver:memory_manager] stanza typos

jwiedow
Communicator

It appears there is a typo in inputs.conf for the [perfmon://sqlserver:memory_manager] stanza in the counters line.

We are not receiving any data in Splunk for the Total Server Memory(KB) counter.

The following search will return zero results:

index=main collection="sqlserver:memory_manager" counter="Total Server Memory(KB)"

The following search will also return zero results:

index=main collection="sqlserver:memory_manager" counter="Target Server Memory(KB)"

where this will return results

index=main collection="sqlserver:memory_manager" counter="Target Server Memory (KB)"

0 Karma
1 Solution

jwiedow
Communicator

The issue is in the inputs.conf of the Splunk Add-on for Microsoft SQL Server.

The following stanza is missing a space between Memory and (KB) and has a duplicate counter value for Target Server Memory(KB).

Bad Stanza


[perfmon://sqlserver:memory_manager]
object = (SQLServer|MSSQL[^:]*):Memory Manager
counters = Total Server Memory(KB);Target Server Memory(KB);Granted Workspace Memory (KB);Maximum Workspace Memory (KB);Memory Grants Outstanding;Memory Grants Pending;Target Server Memory (KB)
interval = 60
showZeroValue = 1
disabled = 1

Corrected Stanza


[perfmon://sqlserver:memory_manager]
object = (SQLServer|MSSQL[^:]*):Memory Manager
counters = Total Server Memory (KB);Granted Workspace Memory (KB);Maximum Workspace Memory (KB);Memory Grants Outstanding;Memory Grants Pending;Target Server Memory (KB)
interval = 60
showZeroValue = 1
disabled = 1

View solution in original post

0 Karma

jwiedow
Communicator

The issue is in the inputs.conf of the Splunk Add-on for Microsoft SQL Server.

The following stanza is missing a space between Memory and (KB) and has a duplicate counter value for Target Server Memory(KB).

Bad Stanza


[perfmon://sqlserver:memory_manager]
object = (SQLServer|MSSQL[^:]*):Memory Manager
counters = Total Server Memory(KB);Target Server Memory(KB);Granted Workspace Memory (KB);Maximum Workspace Memory (KB);Memory Grants Outstanding;Memory Grants Pending;Target Server Memory (KB)
interval = 60
showZeroValue = 1
disabled = 1

Corrected Stanza


[perfmon://sqlserver:memory_manager]
object = (SQLServer|MSSQL[^:]*):Memory Manager
counters = Total Server Memory (KB);Granted Workspace Memory (KB);Maximum Workspace Memory (KB);Memory Grants Outstanding;Memory Grants Pending;Target Server Memory (KB)
interval = 60
showZeroValue = 1
disabled = 1

0 Karma
Get Updates on the Splunk Community!

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...