<?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: set year to timestamp in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/set-year-to-timestamp/m-p/480760#M82425</link>
    <description>&lt;P&gt;Hello @sarit_s ,&lt;/P&gt;

&lt;P&gt;actually 12/31/20 looks like a date (31 Dec 2020),  just wrong one. I'd try to solve it on the log source side if possible.&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;Can you check the date on the source machine?&lt;/LI&gt;
&lt;LI&gt;Is the date 12/31/20 completely wrong or the year only?&lt;/LI&gt;
&lt;LI&gt;Have you patched your splunk against the timestamp issue?: &lt;A href="https://docs.splunk.com/Documentation/Splunk/8.0.3/ReleaseNotes/FixDatetimexml2020"&gt;https://docs.splunk.com/Documentation/Splunk/8.0.3/ReleaseNotes/FixDatetimexml2020&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;Can you show your current TIME_FORMAT?&lt;/LI&gt;
&lt;/UL&gt;</description>
    <pubDate>Mon, 20 Apr 2020 10:43:06 GMT</pubDate>
    <dc:creator>PavelP</dc:creator>
    <dc:date>2020-04-20T10:43:06Z</dc:date>
    <item>
      <title>set year to timestamp</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/set-year-to-timestamp/m-p/480759#M82424</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;

&lt;P&gt;I'm getting logs from my customer and the timestamp there is day and month without year.&lt;BR /&gt;
that case causes splunk to index  the events with future dates&lt;BR /&gt;
example:&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;12/31/20 11:59:59.000 PM   Dec 31 23:59:59 csm kerne&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;how can i modify the date before indexing so i will see the correct timestamp ?&lt;/P&gt;

&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Mon, 20 Apr 2020 10:23:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/set-year-to-timestamp/m-p/480759#M82424</guid>
      <dc:creator>sarit_s</dc:creator>
      <dc:date>2020-04-20T10:23:10Z</dc:date>
    </item>
    <item>
      <title>Re: set year to timestamp</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/set-year-to-timestamp/m-p/480760#M82425</link>
      <description>&lt;P&gt;Hello @sarit_s ,&lt;/P&gt;

&lt;P&gt;actually 12/31/20 looks like a date (31 Dec 2020),  just wrong one. I'd try to solve it on the log source side if possible.&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;Can you check the date on the source machine?&lt;/LI&gt;
&lt;LI&gt;Is the date 12/31/20 completely wrong or the year only?&lt;/LI&gt;
&lt;LI&gt;Have you patched your splunk against the timestamp issue?: &lt;A href="https://docs.splunk.com/Documentation/Splunk/8.0.3/ReleaseNotes/FixDatetimexml2020"&gt;https://docs.splunk.com/Documentation/Splunk/8.0.3/ReleaseNotes/FixDatetimexml2020&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;Can you show your current TIME_FORMAT?&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Mon, 20 Apr 2020 10:43:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/set-year-to-timestamp/m-p/480760#M82425</guid>
      <dc:creator>PavelP</dc:creator>
      <dc:date>2020-04-20T10:43:06Z</dc:date>
    </item>
    <item>
      <title>Re: set year to timestamp</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/set-year-to-timestamp/m-p/480761#M82426</link>
      <description>&lt;P&gt;Hey&lt;BR /&gt;
thanks for your answer&lt;/P&gt;

&lt;P&gt;i cannot do anything with the source since it is third party costumer and he will not do any changes in the logs..&lt;/P&gt;

&lt;P&gt;the year is the only wrong part&lt;/P&gt;

&lt;P&gt;the link you sent me is not relevant since i don't have any part of the year and there it is pointing of situations with two digits of the year&lt;/P&gt;

&lt;P&gt;there is no timestamp configuration in the sourcetype so i guess it is the default &lt;/P&gt;

&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Mon, 20 Apr 2020 11:09:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/set-year-to-timestamp/m-p/480761#M82426</guid>
      <dc:creator>sarit_s</dc:creator>
      <dc:date>2020-04-20T11:09:26Z</dc:date>
    </item>
    <item>
      <title>Re: set year to timestamp</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/set-year-to-timestamp/m-p/480762#M82427</link>
      <description>&lt;P&gt;&lt;CODE&gt;DATETIME_CONFIG = none&lt;/CODE&gt; at props.conf, and &lt;CODE&gt;EXTRACT&lt;/CODE&gt; timestamp field  and &lt;CODE&gt;TRANSFORMS&lt;/CODE&gt;&lt;BR /&gt;
make appropriate timestamp by &lt;CODE&gt;INGEST_EVAL&lt;/CODE&gt; &lt;/P&gt;</description>
      <pubDate>Mon, 20 Apr 2020 11:30:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/set-year-to-timestamp/m-p/480762#M82427</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2020-04-20T11:30:27Z</dc:date>
    </item>
  </channel>
</rss>

