<?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: Time stamp issue with collectd? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Time-stamp-issue-with-collectd/m-p/435049#M99345</link>
    <description>&lt;P&gt;What does the data look like?&lt;/P&gt;

&lt;P&gt;You can either use: &lt;CODE&gt;DATETIME_CONFIG = CURRENT&lt;/CODE&gt; to ignore timestamps in the data and use the current time (not ideal when possible) or use a combination of these to properly parse the timestamp: &lt;CODE&gt;MAX_TIMESTAMP_LOOKAHEAD = &amp;lt;integer&amp;gt;&lt;/CODE&gt;, &lt;CODE&gt;TIME_PREFIX = &amp;lt;regular expression&amp;gt;&lt;/CODE&gt;, &lt;CODE&gt;TIME_FORMAT = &amp;lt;strptime-style format&amp;gt;&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;If you &lt;EM&gt;really&lt;/EM&gt; have an event from 8 years ago, you need to increase &lt;CODE&gt;MAX_DAYS_AGO = &amp;lt;integer&amp;gt;&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Admin/PropsConf"&gt;https://docs.splunk.com/Documentation/Splunk/latest/Admin/PropsConf&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 07 Aug 2019 21:42:04 GMT</pubDate>
    <dc:creator>jacobpevans</dc:creator>
    <dc:date>2019-08-07T21:42:04Z</dc:date>
    <item>
      <title>Time stamp issue with collectd?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Time-stamp-issue-with-collectd/m-p/435048#M99344</link>
      <description>&lt;P&gt;All, &lt;/P&gt;

&lt;P&gt;I am receiving the following error in Splunk. &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;08-07-2019 17:56:59.597 +0000 WARN  DateParserVerbose - A possible timestamp match (Fri Feb 11 02:54:04 2011) is outside of the acceptable time window. If this timestamp is correct, consider adjusting MAX_DAYS_AGO and MAX_DAYS_HENCE. Context: source=http:collectd|host=myhost.mydomain.com|linux:collectd:http:metrics|
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Here is my config:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;#collectd.conf
LoadPlugin write_http
&amp;lt;Plugin write_http&amp;gt;
  &amp;lt;Node "node-http-1"&amp;gt;
    URL "https://localhost:8088/services/collector/raw?channel=AAAAAAA-abcd-abcd-AAAAAAAAAAAAAAAAA"
    Header "Authorization: Splunk AAAAAAAA-abcd-abcd-abcd-AAAAAAAAAAAAAAAAA"
    Format "JSON"
    Metrics true
    StoreRates true
    VerifyPeer false
  &amp;lt;/Node&amp;gt;
&amp;lt;/Plugin&amp;gt;

&amp;lt;Plugin cpu&amp;gt;
   ReportByCpu true
   ReportByState true
   ValuesPercentage true
&amp;lt;/Plugin&amp;gt;

&amp;lt;Plugin memory&amp;gt;
        ValuesAbsolute true
        ValuesPercentage true
&amp;lt;/Plugin&amp;gt;

&amp;lt;Plugin swap&amp;gt;
        ReportByDevice true
        ReportBytes true
        ValuesAbsolute true
        ValuesPercentage true
&amp;lt;/Plugin&amp;gt;

&amp;lt;Plugin vmem&amp;gt;
        Verbose false
&amp;lt;/Plugin&amp;gt;

&amp;lt;Plugin df&amp;gt;
#       Device "/dev/hda1"
#       Device "192.168.0.2:/mnt/nfs"
#       MountPoint "/home"
#       FSType "ext3"
        ReportByDevice true
#       ReportInodes false
#       ValuesAbsolute true
        ValuesPercentage true
&amp;lt;/Plugin&amp;gt;


&amp;lt;Plugin load&amp;gt;
        ReportRelative true
&amp;lt;/Plugin&amp;gt;


&amp;lt;Plugin processes&amp;gt;
         ProcessMatch "all" "(.*)"
&amp;lt;/Plugin&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Here is my inputs.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[http://collectd]
  disabled = 0
  index = collectd
  indexes = collectd
  sourcetype = linux:collectd:http:metrics
  token = AAAAAAAA-abcd-abcd-abcd-AAAAAAAAAAAAAAAAA
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;and here is my props.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;# props.conf
[linux:collectd:http:metrics]
  METRICS_PROTOCOL = COLLECTD_HTTP
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Any ideas?&lt;/P&gt;</description>
      <pubDate>Wed, 07 Aug 2019 20:23:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Time-stamp-issue-with-collectd/m-p/435048#M99344</guid>
      <dc:creator>daniel333</dc:creator>
      <dc:date>2019-08-07T20:23:09Z</dc:date>
    </item>
    <item>
      <title>Re: Time stamp issue with collectd?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Time-stamp-issue-with-collectd/m-p/435049#M99345</link>
      <description>&lt;P&gt;What does the data look like?&lt;/P&gt;

&lt;P&gt;You can either use: &lt;CODE&gt;DATETIME_CONFIG = CURRENT&lt;/CODE&gt; to ignore timestamps in the data and use the current time (not ideal when possible) or use a combination of these to properly parse the timestamp: &lt;CODE&gt;MAX_TIMESTAMP_LOOKAHEAD = &amp;lt;integer&amp;gt;&lt;/CODE&gt;, &lt;CODE&gt;TIME_PREFIX = &amp;lt;regular expression&amp;gt;&lt;/CODE&gt;, &lt;CODE&gt;TIME_FORMAT = &amp;lt;strptime-style format&amp;gt;&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;If you &lt;EM&gt;really&lt;/EM&gt; have an event from 8 years ago, you need to increase &lt;CODE&gt;MAX_DAYS_AGO = &amp;lt;integer&amp;gt;&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Admin/PropsConf"&gt;https://docs.splunk.com/Documentation/Splunk/latest/Admin/PropsConf&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Aug 2019 21:42:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Time-stamp-issue-with-collectd/m-p/435049#M99345</guid>
      <dc:creator>jacobpevans</dc:creator>
      <dc:date>2019-08-07T21:42:04Z</dc:date>
    </item>
    <item>
      <title>Re: Time stamp issue with collectd?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Time-stamp-issue-with-collectd/m-p/435050#M99346</link>
      <description>&lt;P&gt;How can I see the raw structure of the collectd metric to populate these fields? &lt;/P&gt;</description>
      <pubDate>Wed, 07 Aug 2019 23:28:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Time-stamp-issue-with-collectd/m-p/435050#M99346</guid>
      <dc:creator>daniel333</dc:creator>
      <dc:date>2019-08-07T23:28:39Z</dc:date>
    </item>
  </channel>
</rss>

