<?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: Splunk_TA_Windows 6.0.0 Metrics index? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-TA-Windows-6-0-0-Metrics-index/m-p/419414#M73918</link>
    <description>&lt;P&gt;All, &lt;/P&gt;

&lt;P&gt;Built out a lab and got it working. Looks like if you don't want to break your sourcetyping you can stay at 4.8/5.x and just break out your perfmon into metrics if you feel the urge. &lt;/P&gt;

&lt;P&gt;1) So yes you need a separate index from the legacy perfmon index that came with older apps. In my example I called it index=metrics but please come up with something smarter&lt;BR /&gt;
2) then you need to ensure the mode=single and multikv. &lt;/P&gt;

&lt;P&gt;You need to add two configurations stanza's  to your inputs.conf on your existing Splunk_TA_windows &lt;/P&gt;

&lt;H1&gt;inputs.conf&lt;/H1&gt;

&lt;PRE&gt;&lt;CODE&gt;mode = single
index=metrics
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Worked after restart with no additional tweaks! &lt;/P&gt;

&lt;P&gt;My next challenge is figuring out how to calculate my licensing usage on metric data points. &lt;/P&gt;</description>
    <pubDate>Wed, 30 Sep 2020 00:51:15 GMT</pubDate>
    <dc:creator>daniel333</dc:creator>
    <dc:date>2020-09-30T00:51:15Z</dc:date>
    <item>
      <title>Splunk_TA_Windows 6.0.0 Metrics index?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-TA-Windows-6-0-0-Metrics-index/m-p/419413#M73917</link>
      <description>&lt;P&gt;All, &lt;/P&gt;

&lt;P&gt;I am currently a Splunk_TA_windows 4.8x customer and source="Perfmon:Process" is just destroying my disk space and license. I've been told metrics is the way to go for these values. &lt;/P&gt;

&lt;P&gt;I am looking at upgrading to Splunk_TA_Windows 6.0.0 to take advantage of metrics.  When reviewing the configs I am not sure where the metrics are actually stored. I feel like I should be able to trace this down inputs &amp;gt; props &amp;gt; transforms. But I missing something. &lt;/P&gt;

&lt;H1&gt;inputs.conf&lt;/H1&gt;

&lt;PRE&gt;&lt;CODE&gt;## Process
[perfmon://Process]
counters = % Processor Time; % User Time; % Privileged Time; Virtual Bytes Peak; Virtual Bytes; Page Faults/sec; Working Set Peak; Working Set; Page File Bytes Peak; Page File Bytes; Private Bytes; Thread Count; Priority Base; Elapsed Time; ID Process; Creating Process ID; Pool Paged Bytes; Pool Nonpaged Bytes; Handle Count; IO Read Operations/sec; IO Write Operations/sec; IO Data Operations/sec; IO Other Operations/sec; IO Read Bytes/sec; IO Write Bytes/sec; IO Data Bytes/sec; IO Other Bytes/sec; Working Set - Private
disabled = 1
instances = *
interval = 10
mode = multikv
object = Process
useEnglishOnly=true
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;H1&gt;props.conf&lt;/H1&gt;

&lt;PRE&gt;&lt;CODE&gt;###### Process ######
[Perfmon:Process]
EVAL-process_name = if(instance!="_Total" AND instance!="Idle",instance,null())
EVAL-process_cpu_used_percent = if(instance!="_Total" AND instance!="Idle" AND counter=="% Processor Time", Value, null())
EVAL-process_mem_used = if(instance!="_Total" AND instance!="Idle" AND counter=="Working Set - Private", Value, null())

FIELDALIAS-dest_for_perfmon = host AS dest
FIELDALIAS-src_for_perfmon = host AS src

TRANSFORMS-_value_for_perfmon_metrics_store = value_for_perfmon_metrics_store
TRANSFORMS-metric_name_for_perfmon_metrics_store = metric_name_for_perfmon_metrics_store
TRANSFORMS-object_for_perfmon_metrics_store = object_for_perfmon_metrics_store
TRANSFORMS-instance_for_perfmon_metrics_store = instance_for_perfmon_metrics_store
TRANSFORMS-collection_for_perfmon_metrics_store = collection_for_perfmon_metrics_store
EVAL-metric_type = "gauge"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;H1&gt;transforms.conf&lt;/H1&gt;

&lt;PRE&gt;&lt;CODE&gt;[value_for_perfmon_metrics_store]
REGEX = Value=\"?([^\"\r\n]*[^\"\s])
FORMAT = _value::$1
WRITE_META = true
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;As a Splunk for Windows 4.8 user I already have my perfmon data going into a standard index called index=perfmon. If I were to upgrade I THINK I am going to have to provision a new index called index=perfmon_metrics as a  metrics index type then configure that on inputs.conf local copy?&lt;/P&gt;

&lt;P&gt;How will my licensing be billed? Just for the metric points or the entire perfmon log? &lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 00:53:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-TA-Windows-6-0-0-Metrics-index/m-p/419413#M73917</guid>
      <dc:creator>daniel333</dc:creator>
      <dc:date>2020-09-30T00:53:10Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk_TA_Windows 6.0.0 Metrics index?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-TA-Windows-6-0-0-Metrics-index/m-p/419414#M73918</link>
      <description>&lt;P&gt;All, &lt;/P&gt;

&lt;P&gt;Built out a lab and got it working. Looks like if you don't want to break your sourcetyping you can stay at 4.8/5.x and just break out your perfmon into metrics if you feel the urge. &lt;/P&gt;

&lt;P&gt;1) So yes you need a separate index from the legacy perfmon index that came with older apps. In my example I called it index=metrics but please come up with something smarter&lt;BR /&gt;
2) then you need to ensure the mode=single and multikv. &lt;/P&gt;

&lt;P&gt;You need to add two configurations stanza's  to your inputs.conf on your existing Splunk_TA_windows &lt;/P&gt;

&lt;H1&gt;inputs.conf&lt;/H1&gt;

&lt;PRE&gt;&lt;CODE&gt;mode = single
index=metrics
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Worked after restart with no additional tweaks! &lt;/P&gt;

&lt;P&gt;My next challenge is figuring out how to calculate my licensing usage on metric data points. &lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 00:51:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-TA-Windows-6-0-0-Metrics-index/m-p/419414#M73918</guid>
      <dc:creator>daniel333</dc:creator>
      <dc:date>2020-09-30T00:51:15Z</dc:date>
    </item>
  </channel>
</rss>

