<?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 Perfmon:CPU timestamp in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Perfmon-CPU-timestamp/m-p/492238#M84143</link>
    <description>&lt;P&gt;Hello!&lt;/P&gt;

&lt;P&gt;I'm trying to change the timestamp (_time) from Perfmon:CPU before index, to use my Splunk Heavy Forwarder date instead of the original event timestamp.&lt;/P&gt;

&lt;P&gt;The Perfmon:CPU _raw is:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;05/07/2020 15:46:37.269 -0300
collection=CPU
object=Processor
counter="% Processor Time"
instance=_Total
Value=1.887035386881708
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;My Splunk architecture is: Universal Forwarder -&amp;gt; Heavy Forwarder -&amp;gt; Indexer&lt;/P&gt;

&lt;P&gt;I have tried the following configurations on my Heavy Forwarder (props.conf):&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[source::Perfmon...]
DATETIME_CONFIG = CURRENT
MAX_TIMESTAMP_LOOKAHEAD = 1

[Perfmon:CPU]
DATETIME_CONFIG = CURRENT
MAX_TIMESTAMP_LOOKAHEAD = 1

[source::Perfmon:CPU]
DATETIME_CONFIG = CURRENT
MAX_TIMESTAMP_LOOKAHEAD = 1
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;None of this configurations worked and the _time of Perfmon:CPU events already is the original timestamp (first line of _raw).&lt;/P&gt;

&lt;P&gt;I also configured a transform to remove the first line of _raw event. Even if the first line is removed,  the _time field don't respect DATETIME_CONFIG = CURRENT configuration.&lt;/P&gt;

&lt;P&gt;Can anyone help me?&lt;/P&gt;</description>
    <pubDate>Wed, 30 Sep 2020 05:19:48 GMT</pubDate>
    <dc:creator>douglasmsouza</dc:creator>
    <dc:date>2020-09-30T05:19:48Z</dc:date>
    <item>
      <title>Perfmon:CPU timestamp</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Perfmon-CPU-timestamp/m-p/492238#M84143</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;

&lt;P&gt;I'm trying to change the timestamp (_time) from Perfmon:CPU before index, to use my Splunk Heavy Forwarder date instead of the original event timestamp.&lt;/P&gt;

&lt;P&gt;The Perfmon:CPU _raw is:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;05/07/2020 15:46:37.269 -0300
collection=CPU
object=Processor
counter="% Processor Time"
instance=_Total
Value=1.887035386881708
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;My Splunk architecture is: Universal Forwarder -&amp;gt; Heavy Forwarder -&amp;gt; Indexer&lt;/P&gt;

&lt;P&gt;I have tried the following configurations on my Heavy Forwarder (props.conf):&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[source::Perfmon...]
DATETIME_CONFIG = CURRENT
MAX_TIMESTAMP_LOOKAHEAD = 1

[Perfmon:CPU]
DATETIME_CONFIG = CURRENT
MAX_TIMESTAMP_LOOKAHEAD = 1

[source::Perfmon:CPU]
DATETIME_CONFIG = CURRENT
MAX_TIMESTAMP_LOOKAHEAD = 1
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;None of this configurations worked and the _time of Perfmon:CPU events already is the original timestamp (first line of _raw).&lt;/P&gt;

&lt;P&gt;I also configured a transform to remove the first line of _raw event. Even if the first line is removed,  the _time field don't respect DATETIME_CONFIG = CURRENT configuration.&lt;/P&gt;

&lt;P&gt;Can anyone help me?&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 05:19:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Perfmon-CPU-timestamp/m-p/492238#M84143</guid>
      <dc:creator>douglasmsouza</dc:creator>
      <dc:date>2020-09-30T05:19:48Z</dc:date>
    </item>
  </channel>
</rss>

