<?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 SPLUNK METRIC INDEXES props and transforms files in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/SPLUNK-METRIC-INDEXES-props-and-transforms-files/m-p/448420#M77962</link>
    <description>&lt;P&gt;So i have written a script that outputs current switch ram and CPU usage and I wanted to include it to Splunk App to dynamically write it to splunks metric index.&lt;/P&gt;

&lt;P&gt;Example output:&lt;BR /&gt;
"1532007403","cisco.usage.processorram","","s"&lt;BR /&gt;
"1532007409","cisco.usage.ram","","g"&lt;/P&gt;

&lt;P&gt;Here's my inputs.conf file:&lt;BR /&gt;
//path to script&lt;BR /&gt;
[script://$SPLUNK_HOME/etc/apps/Collector/bin/RAM_usage.sh]&lt;BR /&gt;
disabled = false&lt;BR /&gt;
index = snmp&lt;BR /&gt;
sourcetype = snmp&lt;BR /&gt;
interval = 1&lt;/P&gt;

&lt;P&gt;Unfortunately im getting this error in Splunk: Metric event data without metric name is invalid and would not be indexed. Ensure the input metric data is not malformed. &lt;/P&gt;

&lt;P&gt;My question is: if anybody faced same problem and how should i solve it. Step by step solution would be appreciated.&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 20:31:18 GMT</pubDate>
    <dc:creator>michaldygaz</dc:creator>
    <dc:date>2020-09-29T20:31:18Z</dc:date>
    <item>
      <title>SPLUNK METRIC INDEXES props and transforms files</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/SPLUNK-METRIC-INDEXES-props-and-transforms-files/m-p/448420#M77962</link>
      <description>&lt;P&gt;So i have written a script that outputs current switch ram and CPU usage and I wanted to include it to Splunk App to dynamically write it to splunks metric index.&lt;/P&gt;

&lt;P&gt;Example output:&lt;BR /&gt;
"1532007403","cisco.usage.processorram","","s"&lt;BR /&gt;
"1532007409","cisco.usage.ram","","g"&lt;/P&gt;

&lt;P&gt;Here's my inputs.conf file:&lt;BR /&gt;
//path to script&lt;BR /&gt;
[script://$SPLUNK_HOME/etc/apps/Collector/bin/RAM_usage.sh]&lt;BR /&gt;
disabled = false&lt;BR /&gt;
index = snmp&lt;BR /&gt;
sourcetype = snmp&lt;BR /&gt;
interval = 1&lt;/P&gt;

&lt;P&gt;Unfortunately im getting this error in Splunk: Metric event data without metric name is invalid and would not be indexed. Ensure the input metric data is not malformed. &lt;/P&gt;

&lt;P&gt;My question is: if anybody faced same problem and how should i solve it. Step by step solution would be appreciated.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 20:31:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/SPLUNK-METRIC-INDEXES-props-and-transforms-files/m-p/448420#M77962</guid>
      <dc:creator>michaldygaz</dc:creator>
      <dc:date>2020-09-29T20:31:18Z</dc:date>
    </item>
    <item>
      <title>Re: SPLUNK METRIC INDEXES props and transforms files</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/SPLUNK-METRIC-INDEXES-props-and-transforms-files/m-p/448421#M77963</link>
      <description>&lt;P&gt;Hello @michaldygaz,&lt;/P&gt;

&lt;P&gt;can you please share the sourcetype?&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jul 2018 17:56:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/SPLUNK-METRIC-INDEXES-props-and-transforms-files/m-p/448421#M77963</guid>
      <dc:creator>poete</dc:creator>
      <dc:date>2018-07-19T17:56:40Z</dc:date>
    </item>
  </channel>
</rss>

