<?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 Forwarder - timestamp switched!!! in Deployment Architecture</title>
    <link>https://community.splunk.com/t5/Deployment-Architecture/Splunk-Forwarder-timestamp-switched/m-p/478599#M24435</link>
    <description>&lt;P&gt;Ok, thanks.&lt;/P&gt;

&lt;P&gt;Is right the &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;TIME_FORMAT = %m/%d/%Y %H:%M:%S
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;you wrote up?&lt;/P&gt;

&lt;P&gt;Shouldn't be&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;TIME_FORMAT = %d/%m/%Y %H:%M:%S
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;date +'%d/%m/%Y %H:%M:%S'
05/11/2019 13:10:24
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Right?&lt;/P&gt;</description>
    <pubDate>Tue, 05 Nov 2019 12:11:08 GMT</pubDate>
    <dc:creator>verbal_666</dc:creator>
    <dc:date>2019-11-05T12:11:08Z</dc:date>
    <item>
      <title>Splunk Forwarder - timestamp switched!!!</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Splunk-Forwarder-timestamp-switched/m-p/478595#M24431</link>
      <description>&lt;P&gt;Splunk Forwarder 7.0.2 (Windows 64 bit)&lt;BR /&gt;
Splunk Enterprise 7.0.0 (Linux)&lt;/P&gt;

&lt;P&gt;The strange problem:&lt;BR /&gt;
until 31/10, Europe TZ, logs are correctly indexed with this format (no Indexer props configured, set by default)&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[31/10/2019 23:59:55] [URL] [HTTP_RC]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;From 1/11, Splunk starts switching %m &amp;amp; %d in USA_TZ, so&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[01/11/2019 00:00:00] [URL] [HTTP_RC]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;become with timestamp (Europe) == 11/01/2019 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! And also today, i have 11/05/2019, but logs are&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[05/11/2019 00:00:00] [URL] [HTTP_RC]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Why??????????????????? I know i should &lt;STRONG&gt;force&lt;/STRONG&gt; the props in Indexers, such as,&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;CHARSET = UTF-8
TIME_FORMAT = %d/%m/%Y %T
SHOULD_LINEMERGE = false
NO_BINARY_CHECK = true
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;But why until 31/10 i have NO DATE PARSING problem at all?&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;Suggestions? Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Nov 2019 10:03:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Splunk-Forwarder-timestamp-switched/m-p/478595#M24431</guid>
      <dc:creator>verbal_666</dc:creator>
      <dc:date>2019-11-05T10:03:32Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Forwarder - timestamp switched!!!</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Splunk-Forwarder-timestamp-switched/m-p/478596#M24432</link>
      <description>&lt;P&gt;Hi verbal_666,&lt;BR /&gt;
Splunk by default use the american date format mm/dd/yyyy, so if you want to use an european format you have to forma time format in props.conf.&lt;BR /&gt;
so in sourcetype stanza of props.conf on Indexers you have to insert:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[my_sourcetype]
TIME_FORMAT = %m/%d/%Y %H:%M:%S
TIMEPREFIX = ^\[
....
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;For more details see &lt;A href="https://docs.splunk.com/Documentation/Splunk/8.0.0/Admin/Propsconf"&gt;https://docs.splunk.com/Documentation/Splunk/8.0.0/Admin/Propsconf&lt;/A&gt; .&lt;/P&gt;

&lt;P&gt;Ciao.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 05 Nov 2019 10:14:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Splunk-Forwarder-timestamp-switched/m-p/478596#M24432</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2019-11-05T10:14:30Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Forwarder - timestamp switched!!!</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Splunk-Forwarder-timestamp-switched/m-p/478597#M24433</link>
      <description>&lt;P&gt;Thanks.&lt;BR /&gt;
As i wrote in main post, i'll (eventually) write the correct props in Indexer(s) asap.&lt;/P&gt;

&lt;P&gt;The question now is: why i have many others logs, from other forwarders, logging like&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;2019/05/11
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;without their sourcetype stanza in props, and are still logging Europe since 01/11?&lt;/P&gt;

&lt;P&gt;Also, on same host, same forwarder, others logs are logged randomly 05/11 and 11/05, today.&lt;BR /&gt;
Example, 3 events are 05/11, other 3 are 11/05! Strange behaviour.....&lt;/P&gt;

&lt;P&gt;Thanks, anyway.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Nov 2019 11:16:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Splunk-Forwarder-timestamp-switched/m-p/478597#M24433</guid>
      <dc:creator>verbal_666</dc:creator>
      <dc:date>2019-11-05T11:16:08Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Forwarder - timestamp switched!!!</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Splunk-Forwarder-timestamp-switched/m-p/478598#M24434</link>
      <description>&lt;P&gt;Hi verbal_666,&lt;BR /&gt;
Because the problem there's only when there could be a mistake between american and european date format, if you have yyyy-mm-dd as date format there isn't any mistake.&lt;BR /&gt;
The problem is born because Splunk is american and Europe has a different date format.&lt;BR /&gt;
For this reason it's always a best practice to format date in props.conf when there could be this mistake.&lt;/P&gt;

&lt;P&gt;Ciao.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 05 Nov 2019 11:55:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Splunk-Forwarder-timestamp-switched/m-p/478598#M24434</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2019-11-05T11:55:42Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Forwarder - timestamp switched!!!</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Splunk-Forwarder-timestamp-switched/m-p/478599#M24435</link>
      <description>&lt;P&gt;Ok, thanks.&lt;/P&gt;

&lt;P&gt;Is right the &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;TIME_FORMAT = %m/%d/%Y %H:%M:%S
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;you wrote up?&lt;/P&gt;

&lt;P&gt;Shouldn't be&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;TIME_FORMAT = %d/%m/%Y %H:%M:%S
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;date +'%d/%m/%Y %H:%M:%S'
05/11/2019 13:10:24
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Right?&lt;/P&gt;</description>
      <pubDate>Tue, 05 Nov 2019 12:11:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Splunk-Forwarder-timestamp-switched/m-p/478599#M24435</guid>
      <dc:creator>verbal_666</dc:creator>
      <dc:date>2019-11-05T12:11:08Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Forwarder - timestamp switched!!!</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Splunk-Forwarder-timestamp-switched/m-p/478600#M24436</link>
      <description>&lt;P&gt;Anyway, yes, this props did it,&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;TIME_FORMAT=[%d/%m/%Y %T]
SHOULD_LINEMERGE=false
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 05 Nov 2019 12:19:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Splunk-Forwarder-timestamp-switched/m-p/478600#M24436</guid>
      <dc:creator>verbal_666</dc:creator>
      <dc:date>2019-11-05T12:19:52Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Forwarder - timestamp switched!!!</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Splunk-Forwarder-timestamp-switched/m-p/478601#M24437</link>
      <description>&lt;P&gt;Yes sorry, it's correct&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;TIME_FORMAT = %d/%m/%Y %H:%M:%S 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;otherwise it's unnecessary.&lt;/P&gt;

&lt;P&gt;Ciao.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 05 Nov 2019 13:24:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Splunk-Forwarder-timestamp-switched/m-p/478601#M24437</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2019-11-05T13:24:30Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Forwarder - timestamp switched!!!</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Splunk-Forwarder-timestamp-switched/m-p/478602#M24438</link>
      <description>&lt;P&gt;Thanks again.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Nov 2019 14:25:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Splunk-Forwarder-timestamp-switched/m-p/478602#M24438</guid>
      <dc:creator>verbal_666</dc:creator>
      <dc:date>2019-11-05T14:25:14Z</dc:date>
    </item>
  </channel>
</rss>

