Splunk® App for Infrastructure (Legacy)

Administer Splunk App for Infrastructure

Acrobat logo Download manual as PDF


This documentation does not apply to the most recent version of Splunk® App for Infrastructure (Legacy). For documentation on the most recent version, go to the latest release.
Acrobat logo Download topic as PDF

Windows perfmon inputs are not converting to metrics

The Splunk Add-on for Infrastructure and the Splunk Add-on for Microsoft Windows handle metrics differently. If you run these add-ons on the same indexers, there's a transforms.conf precedence issue that breaks metrics conversions from Windows Performance Monitor (perfmon) inputs.

If you're also running Splunk Enterprise Security, there's a conflict with Splunk_TA_ForIndexers.

To address the conf file precedence issue, move metric_name_for_perfmon_metrics_store in transforms.conf on every indexer that runs the Splunk Add-on for Infrastructure. Where you move the transform depends on whether you're running the Splunk Add-on for Microsoft Windows alone or are also running Splunk Enterprise Security on the same indexer as the Splunk Add-on for Infrastructure.

What you need to do

If you're running the Splunk Add-on for Microsoft Windows on the same indexers that run the Splunk Add-on for Infrastructure, create the metric_name_for_perfmon_metrics_store stanza in $SPLUNK_HOME/etc/apps/Splunk_TA_windows/local/transforms.conf. If the local directory doesn't exist, create it first.

If you're running Splunk_TA_ForIndexers for Splunk Enterprise Security on the same indexers that run the Splunk Add-on for Infrastructure in addition to the Splunk Add-on for Microsoft Windows, or if you're just running Splunk_TA_ForIndexers, create the metric_name_for_perfmon_metrics_store stanza in $SPLUNK_HOME/etc/apps/Splunk_TA_ForIndexers/local/transforms.conf. If the local directory doesn't exist, create it first.

The metric_name_for_perfmon_metrics_store stanza you need to create in the local directory looks like this:

[metric_name_for_perfmon_metrics_store]
REGEX =
object= \" ?([^ \"\r\n ]*[^ \"\s ]).*counter= \" ?([^ \"\r\n ]*[^ \"\s ]).*instance
FORMAT = metric_name::$1.$2
WRITE_META = true
Last modified on 03 September, 2019
PREVIOUS
The Splunk Add-on for Windows and Splunk App for Infrastructure are not compatible
  NEXT
Configure the HTTP Event Collector to receive metrics data for SAI

This documentation applies to the following versions of Splunk® App for Infrastructure (Legacy): 2.1.1 Cloud only


Was this documentation topic helpful?


You must be logged into splunk.com in order to post comments. Log in now.

Please try to keep this discussion focused on the content covered in this documentation topic. If you have a more general question about Splunk functionality or are experiencing a difficulty with Splunk, consider posting a question to Splunkbase Answers.

0 out of 1000 Characters