<?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: Index forwarder and time_format settings in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Index-forwarder-and-time-format-settings/m-p/88694#M18387</link>
    <description>&lt;P&gt;Normally when using a HF (with or without local indexing) it will send 'cooked' data, i.e. it has no need of further parsing. However if you are sending the data as e.g. syslog routing, it is not in Splunk format, and should be parsed again... but this sounds weird. Did you go out of your way to set up the forwarding, or did you use 'standard' methods?&lt;/P&gt;</description>
    <pubDate>Tue, 08 Oct 2013 21:09:54 GMT</pubDate>
    <dc:creator>kristian_kolb</dc:creator>
    <dc:date>2013-10-08T21:09:54Z</dc:date>
    <item>
      <title>Index forwarder and time_format settings</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Index-forwarder-and-time-format-settings/m-p/88686#M18379</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I have index forwarders forwarding information to a centralized splunk server.  However, the timestamps are being parsed incorrectly.  Does the C:\Program Files\Splunk\etc\system\local\props.conf file have to be updated on the source systems or the server hosting the splunk searches?&lt;/P&gt;

&lt;P&gt;My date format is 2012/07/26:07:44:35.696 PDT&lt;BR /&gt;
and it's recognizing incorrectly with timestamp format %Y/%m/%d:%H:%M:%S&lt;/P&gt;

&lt;P&gt;Not sure why with the following line:&lt;BR /&gt;
Date/Time Started:  2012/08/02:05:53:30.486 CST Type/Server/Application/Database:   Essbase/stnsvpessdb/SLS_TD/TONS Business Rule Name: BR189   By HBR user:    HypBatch    By Essbase user:    admin   Values entered for run-time prompts:    [Variable]  rtp_Product:"All_Products"&lt;/P&gt;

&lt;P&gt;It does not parse the time correctly with the following settings:&lt;BR /&gt;
# your settings&lt;BR /&gt;
MAX_TIMESTAMP_LOOKAHEAD=23&lt;BR /&gt;
NO_BINARY_CHECK=1&lt;BR /&gt;
SHOULD_LINEMERGE=false&lt;BR /&gt;
TIME_FORMAT=%Y/%m/%d:%H:%M:%S&lt;BR /&gt;
TIME_PREFIX=^Date/Time Started:\t|^Date/Time Ended:\t&lt;/P&gt;

&lt;P&gt;Splunk is recognizing the above time as 2 AM instead of 5 AM.  Not sure why it's using the 2 digit twice.&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
Ryan&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 14:55:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Index-forwarder-and-time-format-settings/m-p/88686#M18379</guid>
      <dc:creator>rchan11</dc:creator>
      <dc:date>2020-09-28T14:55:27Z</dc:date>
    </item>
    <item>
      <title>Re: Index forwarder and time_format settings</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Index-forwarder-and-time-format-settings/m-p/88687#M18380</link>
      <description>&lt;P&gt;TIME_FORMAT is a valid props.conf configuration attribute that is applied in the Parsing Phase. Depending on your setup that can be on a Heavy Forwarder or an Indexer. It does not matter from where the searches are being made. See below:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://wiki.splunk.com/Where_do_I_configure_my_Splunk_settings"&gt;http://wiki.splunk.com/Where_do_I_configure_my_Splunk_settings&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;/K&lt;/P&gt;</description>
      <pubDate>Tue, 08 Oct 2013 19:48:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Index-forwarder-and-time-format-settings/m-p/88687#M18380</guid>
      <dc:creator>kristian_kolb</dc:creator>
      <dc:date>2013-10-08T19:48:16Z</dc:date>
    </item>
    <item>
      <title>Re: Index forwarder and time_format settings</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Index-forwarder-and-time-format-settings/m-p/88688#M18381</link>
      <description>&lt;P&gt;Thanks K, I found out that I can do the settings on the input file however I can't get Splunk to recognize my formatting correctly now.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Oct 2013 20:12:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Index-forwarder-and-time-format-settings/m-p/88688#M18381</guid>
      <dc:creator>rchan11</dc:creator>
      <dc:date>2013-10-08T20:12:13Z</dc:date>
    </item>
    <item>
      <title>Re: Index forwarder and time_format settings</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Index-forwarder-and-time-format-settings/m-p/88689#M18382</link>
      <description>&lt;P&gt;Hi. The TIME_FORMAT might require a little bit of tweaking, I'd suggest the following;&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;TIME_FORMAT = %Y/%m/%d:%H:%M:%S.%3N %Z&lt;BR /&gt;
MAX_TIMESTAMP_LOOKAHEAD = 50&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;You probably do not need any TIME_PREFIX, but if you think you do, just try with;&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;TIME_PREFIX = :\s+&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.0/SearchReference/Commontimeformatvariables"&gt;http://docs.splunk.com/Documentation/Splunk/6.0/SearchReference/Commontimeformatvariables&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;EDIT:typo&lt;/P&gt;

&lt;P&gt;/K&lt;/P&gt;</description>
      <pubDate>Tue, 08 Oct 2013 20:22:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Index-forwarder-and-time-format-settings/m-p/88689#M18382</guid>
      <dc:creator>kristian_kolb</dc:creator>
      <dc:date>2013-10-08T20:22:31Z</dc:date>
    </item>
    <item>
      <title>Re: Index forwarder and time_format settings</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Index-forwarder-and-time-format-settings/m-p/88690#M18383</link>
      <description>&lt;P&gt;Looks like different time zones. See TIME_FORMAT in answer below. &lt;/P&gt;

&lt;P&gt;PDT=Pacific Daylight Saving Time??&lt;BR /&gt;
CST=Central Standard Time??&lt;/P&gt;

&lt;P&gt;Could that be the case?&lt;/P&gt;</description>
      <pubDate>Tue, 08 Oct 2013 20:40:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Index-forwarder-and-time-format-settings/m-p/88690#M18383</guid>
      <dc:creator>kristian_kolb</dc:creator>
      <dc:date>2013-10-08T20:40:18Z</dc:date>
    </item>
    <item>
      <title>Re: Index forwarder and time_format settings</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Index-forwarder-and-time-format-settings/m-p/88691#M18384</link>
      <description>&lt;P&gt;Nope I looked and that wasn't it.  I changed the formatting according to your suggestion above and the preview worked.  The formatting worked on the forwarding server preview of the document, but the central splunk server still sees it incorrectly.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Oct 2013 20:43:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Index-forwarder-and-time-format-settings/m-p/88691#M18384</guid>
      <dc:creator>rchan11</dc:creator>
      <dc:date>2013-10-08T20:43:42Z</dc:date>
    </item>
    <item>
      <title>Re: Index forwarder and time_format settings</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Index-forwarder-and-time-format-settings/m-p/88692#M18385</link>
      <description>&lt;P&gt;Not sure I follow your topology. Do you have &lt;CODE&gt;UF -&amp;gt; Indexer -&amp;gt; Indexer&lt;/CODE&gt;, i.e. and index-and-forward scenario?&lt;/P&gt;

&lt;P&gt;In that case, the config should be on the first indexer.&lt;/P&gt;

&lt;P&gt;If you have a Heavy Forwarder, like &lt;CODE&gt;HF -&amp;gt; Indexer&lt;/CODE&gt;, or &lt;CODE&gt;UF -&amp;gt; HF -&amp;gt; Indexer&lt;/CODE&gt;, the config should be on the HF.&lt;/P&gt;

&lt;P&gt;And of course, the setting will only apply to new events coming in.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Oct 2013 20:50:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Index-forwarder-and-time-format-settings/m-p/88692#M18385</guid>
      <dc:creator>kristian_kolb</dc:creator>
      <dc:date>2013-10-08T20:50:09Z</dc:date>
    </item>
    <item>
      <title>Re: Index forwarder and time_format settings</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Index-forwarder-and-time-format-settings/m-p/88693#M18386</link>
      <description>&lt;P&gt;I believe I have the Heavy Forwarder that does the indexing and forwards it to the central search-enabled splunk server (using the same index name).  &lt;/P&gt;

&lt;P&gt;I made my formatting adjustments on the Heavy Forwarding (first indexer) server but the centralized server still sees incorrect timestamps.  I'm assuming the first indexer handles the formatting and forwards the data correctly to the central splunk server which handles the searching.  New events have happened and there is no difference between the old and new timestamp recognition despite changing it on the first indexer.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Oct 2013 20:58:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Index-forwarder-and-time-format-settings/m-p/88693#M18386</guid>
      <dc:creator>rchan11</dc:creator>
      <dc:date>2013-10-08T20:58:35Z</dc:date>
    </item>
    <item>
      <title>Re: Index forwarder and time_format settings</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Index-forwarder-and-time-format-settings/m-p/88694#M18387</link>
      <description>&lt;P&gt;Normally when using a HF (with or without local indexing) it will send 'cooked' data, i.e. it has no need of further parsing. However if you are sending the data as e.g. syslog routing, it is not in Splunk format, and should be parsed again... but this sounds weird. Did you go out of your way to set up the forwarding, or did you use 'standard' methods?&lt;/P&gt;</description>
      <pubDate>Tue, 08 Oct 2013 21:09:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Index-forwarder-and-time-format-settings/m-p/88694#M18387</guid>
      <dc:creator>kristian_kolb</dc:creator>
      <dc:date>2013-10-08T21:09:54Z</dc:date>
    </item>
    <item>
      <title>Re: Index forwarder and time_format settings</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Index-forwarder-and-time-format-settings/m-p/88695#M18388</link>
      <description>&lt;P&gt;I used HF with local indexing and have the receiving search server with the same index.  It's set to forward updates to the logs as updates are being done to the log.  I used the out-of-the-box method to set up forwarding.  There is no customizations being done to the forwarding of the data.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Oct 2013 21:19:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Index-forwarder-and-time-format-settings/m-p/88695#M18388</guid>
      <dc:creator>rchan11</dc:creator>
      <dc:date>2013-10-08T21:19:32Z</dc:date>
    </item>
    <item>
      <title>Re: Index forwarder and time_format settings</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Index-forwarder-and-time-format-settings/m-p/88696#M18389</link>
      <description>&lt;P&gt;did you restart the HF? I see that you say 'worked in preview'. This type of operation is probably going to need a restart, or that you go to &lt;/P&gt;

&lt;P&gt;&lt;A href="http://your_hf/en-US/debug/refresh"&gt;http://your_hf/en-US/debug/refresh&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;which &lt;EM&gt;may&lt;/EM&gt; be enough to read the new config.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Oct 2013 21:29:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Index-forwarder-and-time-format-settings/m-p/88696#M18389</guid>
      <dc:creator>kristian_kolb</dc:creator>
      <dc:date>2013-10-08T21:29:43Z</dc:date>
    </item>
    <item>
      <title>Re: Index forwarder and time_format settings</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Index-forwarder-and-time-format-settings/m-p/88697#M18390</link>
      <description>&lt;P&gt;Ah, I have not restarted the server yet.  Restarting....Appreciate the tips, Kristian!&lt;/P&gt;</description>
      <pubDate>Tue, 08 Oct 2013 21:32:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Index-forwarder-and-time-format-settings/m-p/88697#M18390</guid>
      <dc:creator>rchan11</dc:creator>
      <dc:date>2013-10-08T21:32:31Z</dc:date>
    </item>
    <item>
      <title>Re: Index forwarder and time_format settings</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Index-forwarder-and-time-format-settings/m-p/88698#M18391</link>
      <description>&lt;P&gt;you're welcome. did it work?&lt;/P&gt;</description>
      <pubDate>Tue, 08 Oct 2013 21:42:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Index-forwarder-and-time-format-settings/m-p/88698#M18391</guid>
      <dc:creator>kristian_kolb</dc:creator>
      <dc:date>2013-10-08T21:42:03Z</dc:date>
    </item>
    <item>
      <title>Re: Index forwarder and time_format settings</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Index-forwarder-and-time-format-settings/m-p/88699#M18392</link>
      <description>&lt;P&gt;Just checked it out and nope.  Unfortunately that did not work.  The search server does see the new sourceType I assigned to the updates with the corrected time format, however the search server still reports all today's transactions as occurring at 8am instead of on Oct 8th in the afternoon.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Oct 2013 21:44:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Index-forwarder-and-time-format-settings/m-p/88699#M18392</guid>
      <dc:creator>rchan11</dc:creator>
      <dc:date>2013-10-08T21:44:45Z</dc:date>
    </item>
    <item>
      <title>Re: Index forwarder and time_format settings</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Index-forwarder-and-time-format-settings/m-p/88700#M18393</link>
      <description>&lt;P&gt;and if you search for them on the HF, they look alright?&lt;/P&gt;</description>
      <pubDate>Tue, 08 Oct 2013 21:48:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Index-forwarder-and-time-format-settings/m-p/88700#M18393</guid>
      <dc:creator>kristian_kolb</dc:creator>
      <dc:date>2013-10-08T21:48:51Z</dc:date>
    </item>
    <item>
      <title>Re: Index forwarder and time_format settings</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Index-forwarder-and-time-format-settings/m-p/88701#M18394</link>
      <description>&lt;P&gt;Finally got it working!  I upgraded to version 6.  I guess the receiving server didn't recognize the new sourcetype with the new time format.&lt;/P&gt;

&lt;P&gt;Thanks for your help Kristian!&lt;/P&gt;</description>
      <pubDate>Wed, 09 Oct 2013 16:49:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Index-forwarder-and-time-format-settings/m-p/88701#M18394</guid>
      <dc:creator>rchan11</dc:creator>
      <dc:date>2013-10-09T16:49:22Z</dc:date>
    </item>
  </channel>
</rss>

