Getting Data In

Monitoring NServiceBus Critical Time perfmon not working

markgomez00
Explorer

Hi,

I'm trying to setup monitoring the perfmon of nservicebus critical time on some services, but still no luck, no data is being forwarded

currently i have added the ff in inputs.conf on the UF

[perfmon://Critical Time]
interval = 5
object = NServiceBus
counter = Critical Time
instance= [myservice]
disabled = 0
index = main

I am doing it wrong? Any help would be appreciated
Thanks in advance guys

0 Karma

aluetjen
Explorer

I used WMI inputs to query performance counters (including the NSB ones) successfully.

Example from http://blogs.splunk.com/2008/04/29/wmi-comes-to-splunk/

[WMI:LocalAllProcesses]
namespace = \.\root\cimv2
interval = 30
wql = select * from Win32_PerfFormattedData_PerfProc_Process
disabled = 0

I used the following steps:

  1. Discover the appropriate counter using 'CIM Studio'

http://www.microsoft.com/en-us/download/details.aspx?id=24045

  1. Test in a PowerShell prompt

Get-WmiObject -Query "select * from Win32_PerfFormattedData_PerfProc_Process"

  1. Take exactly that query into your WMI input in Splunk.

Sorry, I don't have the NSB specific example handy.

Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Cisco Data Fabric from Architecture to Investigation, Better SOC Visibility, and More ...

Splunk Lantern is Splunk’s customer success center that provides practical guidance from Splunk experts on key ...

The Trust Gap: Why a Data Foundation is Fundamental to an Agentic Enterprise

The Trust Gap: Why a data foundation is fundamental to an  Agentic Enterprise.   Agentic AI is transforming ...

Data Management Digest – September 2026

    Welcome to the September 2026 edition of Data Management Digest! September brought a fresh wave of ...