<?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: How do I correct my configurations for proper Splunk timestamp recognition? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-correct-my-configurations-for-proper-Splunk-timestamp/m-p/239237#M46494</link>
    <description>&lt;P&gt;The props.conf file to modify is the one for the app that will process the events.  If it's the Search &amp;amp; Reporting app then SPLUNK_HOME/etc/apps/search/local/props.conf is the correct file.  You should not need TIME_PREFIX.  It should be enough to set &lt;CODE&gt;TIME_FORMAT=%d%a%Y %H:%M:%S&lt;/CODE&gt;.  Note that you must restart Splunk for the change to take effect and the change only applies to new data (nothing can be done about events that are already in Splunk).&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 08:28:29 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2020-09-29T08:28:29Z</dc:date>
    <item>
      <title>How do I correct my configurations for proper Splunk timestamp recognition?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-correct-my-configurations-for-proper-Splunk-timestamp/m-p/239236#M46493</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I have a problem with the Splunk timestamp.&lt;/P&gt;

&lt;P&gt;I know that when you have a problem with timestamp, you can modify this 2 ways:&lt;BR /&gt;
1. Add data and modify the timestamp during the steps of adding manually data on Splunk.&lt;/P&gt;

&lt;H2&gt;2. Modify the props.conf&lt;/H2&gt;

&lt;P&gt;&lt;STRONG&gt;The problem :&lt;/STRONG&gt;&lt;BR /&gt;
&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/976i68DE391BC66A0A5C/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;H2&gt;As we can see, on my log, the real timestamp is not the same compared to the timestamp recognized by Splunk.&lt;/H2&gt;

&lt;P&gt;&lt;STRONG&gt;For the First Way:&lt;/STRONG&gt; &lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;1.1 Adding Data manually and modify the timestamp steps by steps :
&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/977i72DF48E67CF0C25B/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;As we can see, Splunk recognizes the time, but not the date correctly, so I will modify the timestamp with the parameter on the left ( prefix and format)&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;1.2 So I will add the correct parameter:
&lt;IMG src="http://hpics.li/198f145" alt="alt text" /&gt;&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;--&amp;gt;  I add the format and prefix, Splunk seem to recognize this correctly &lt;BR /&gt;
(but the prefix is strange because it works also when I write &lt;CODE&gt;d{2};&lt;/CODE&gt; or &lt;CODE&gt;d{1};&lt;/CODE&gt; or &lt;CODE&gt;d*;&lt;/CODE&gt; ... )&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt; At the final step, when I apply this ... nothing works after when I want to search something or when i just want to look the logs event. Nothing happens and I see the message that Splunk is waiting for queued job to start.&lt;/LI&gt;
&lt;/UL&gt;

&lt;HR /&gt;

&lt;P&gt;&lt;STRONG&gt;For the Second Way&lt;/STRONG&gt; &lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;&lt;P&gt;edit props.conf &lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;There is so many props.conf, so to be sure, which one do I have to modify?
I guess this one: Splunk/etc/apps/search/local ?&lt;/LI&gt;
&lt;LI&gt;And what do I have to add exactly?
I guess it is &lt;CODE&gt;TIME_PREFIX =&lt;/CODE&gt; ... and &lt;CODE&gt;TIME_FORMAT=&lt;/CODE&gt;...&lt;/LI&gt;
&lt;/UL&gt;&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;Then after adding these parameters with the values, is there something else to modify to complete the configuration? Because even with this way, nothing happens and that doesn't work for me.&lt;/P&gt;

&lt;HR /&gt;

&lt;P&gt;I missed something maybe, but I don't know what...&lt;/P&gt;

&lt;P&gt;Kind Regards&lt;/P&gt;

&lt;P&gt;Steve&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jan 2016 12:31:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-correct-my-configurations-for-proper-Splunk-timestamp/m-p/239236#M46493</guid>
      <dc:creator>geantvert007</dc:creator>
      <dc:date>2016-01-20T12:31:57Z</dc:date>
    </item>
    <item>
      <title>Re: How do I correct my configurations for proper Splunk timestamp recognition?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-correct-my-configurations-for-proper-Splunk-timestamp/m-p/239237#M46494</link>
      <description>&lt;P&gt;The props.conf file to modify is the one for the app that will process the events.  If it's the Search &amp;amp; Reporting app then SPLUNK_HOME/etc/apps/search/local/props.conf is the correct file.  You should not need TIME_PREFIX.  It should be enough to set &lt;CODE&gt;TIME_FORMAT=%d%a%Y %H:%M:%S&lt;/CODE&gt;.  Note that you must restart Splunk for the change to take effect and the change only applies to new data (nothing can be done about events that are already in Splunk).&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 08:28:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-correct-my-configurations-for-proper-Splunk-timestamp/m-p/239237#M46494</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-09-29T08:28:29Z</dc:date>
    </item>
    <item>
      <title>Re: How do I correct my configurations for proper Splunk timestamp recognition?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-correct-my-configurations-for-proper-Splunk-timestamp/m-p/239238#M46495</link>
      <description>&lt;P&gt;In Add data wizard, add following parameters. Same things can be added to props.conf directly as well. &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;SHOULD_LINEMERGE = false
LINE_BREAKER = ([\r\n]+)\d+;\S+
TIME_FORMAT = %d%a%Y %H:%M:%S
TIME_PREFIX = ^\d+;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Remember to restart Indexer/Heavy forwarder where you keep this props.conf&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jan 2016 19:46:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-correct-my-configurations-for-proper-Splunk-timestamp/m-p/239238#M46495</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2016-01-20T19:46:06Z</dc:date>
    </item>
    <item>
      <title>Re: How do I correct my configurations for proper Splunk timestamp recognition?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-correct-my-configurations-for-proper-Splunk-timestamp/m-p/239239#M46496</link>
      <description>&lt;P&gt;Great thanks for your help guys &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jan 2016 08:31:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-correct-my-configurations-for-proper-Splunk-timestamp/m-p/239239#M46496</guid>
      <dc:creator>geantvert007</dc:creator>
      <dc:date>2016-01-21T08:31:36Z</dc:date>
    </item>
  </channel>
</rss>

