<?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: need help in writing time prefix and time format in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/need-help-in-writing-time-prefix-and-time-format/m-p/315858#M59110</link>
    <description>&lt;P&gt;TIME_PREFIX = \d{4}\w+\d{2}*\d{2}:\d{2}:\d{2}&lt;/P&gt;

&lt;P&gt;i'm testing it from add data inputs, when i do it i am seeing timestamp as none&lt;/P&gt;</description>
    <pubDate>Tue, 23 May 2017 19:03:33 GMT</pubDate>
    <dc:creator>saifuddin9122</dc:creator>
    <dc:date>2017-05-23T19:03:33Z</dc:date>
    <item>
      <title>need help in writing time prefix and time format</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/need-help-in-writing-time-prefix-and-time-format/m-p/315854#M59106</link>
      <description>&lt;P&gt;Hello All&lt;/P&gt;

&lt;P&gt;i have events like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;hn:keng01-dev01-ins01-rpt31.int.dev.mykronos.com|pid:3161|prod:iHub|****4145194752*licensekey.cpp*01640*07000**2017MAY22*09:40:13*
Is PMD Using All CPU cores: Yes
hn:keng01-dev01-ins01-rpt31.int.dev.mykronos.com|pid:3161|prod:iHub|****4145194752*licensekey.cpp*01640*07000*2017MAY22*09:40:13
Is PMD Using All CPU cores: Yes
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Can any one help me in writing time prefix and time format for the above events.&lt;/P&gt;

&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Tue, 23 May 2017 17:11:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/need-help-in-writing-time-prefix-and-time-format/m-p/315854#M59106</guid>
      <dc:creator>saifuddin9122</dc:creator>
      <dc:date>2017-05-23T17:11:25Z</dc:date>
    </item>
    <item>
      <title>Re: need help in writing time prefix and time format</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/need-help-in-writing-time-prefix-and-time-format/m-p/315855#M59107</link>
      <description>&lt;P&gt;Try this &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;TIME_FORMAT = %Y%B%d*%I:%M:%S
TIME_PREFIX = \d{4}\w+\d{2}\*\d{2}:\d{2}:\d{2}
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 23 May 2017 17:19:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/need-help-in-writing-time-prefix-and-time-format/m-p/315855#M59107</guid>
      <dc:creator>skoelpin</dc:creator>
      <dc:date>2017-05-23T17:19:24Z</dc:date>
    </item>
    <item>
      <title>Re: need help in writing time prefix and time format</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/need-help-in-writing-time-prefix-and-time-format/m-p/315856#M59108</link>
      <description>&lt;P&gt;sorry it didn't worked&lt;/P&gt;</description>
      <pubDate>Tue, 23 May 2017 17:47:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/need-help-in-writing-time-prefix-and-time-format/m-p/315856#M59108</guid>
      <dc:creator>saifuddin9122</dc:creator>
      <dc:date>2017-05-23T17:47:45Z</dc:date>
    </item>
    <item>
      <title>Re: need help in writing time prefix and time format</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/need-help-in-writing-time-prefix-and-time-format/m-p/315857#M59109</link>
      <description>&lt;P&gt;Which part didn't work and how are you testing this?&lt;/P&gt;</description>
      <pubDate>Tue, 23 May 2017 18:34:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/need-help-in-writing-time-prefix-and-time-format/m-p/315857#M59109</guid>
      <dc:creator>skoelpin</dc:creator>
      <dc:date>2017-05-23T18:34:57Z</dc:date>
    </item>
    <item>
      <title>Re: need help in writing time prefix and time format</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/need-help-in-writing-time-prefix-and-time-format/m-p/315858#M59110</link>
      <description>&lt;P&gt;TIME_PREFIX = \d{4}\w+\d{2}*\d{2}:\d{2}:\d{2}&lt;/P&gt;

&lt;P&gt;i'm testing it from add data inputs, when i do it i am seeing timestamp as none&lt;/P&gt;</description>
      <pubDate>Tue, 23 May 2017 19:03:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/need-help-in-writing-time-prefix-and-time-format/m-p/315858#M59110</guid>
      <dc:creator>saifuddin9122</dc:creator>
      <dc:date>2017-05-23T19:03:33Z</dc:date>
    </item>
    <item>
      <title>Re: need help in writing time prefix and time format</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/need-help-in-writing-time-prefix-and-time-format/m-p/315859#M59111</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;TIME_FORMAT=%Y%B%d*%I:%M:%S
TIME_PREFIX=.*licensekey\.cpp\*\d+\*\d+\*
MAX_TIMESTAMP_LOOKAHEAD=128
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;works on this sample&lt;/P&gt;</description>
      <pubDate>Tue, 23 May 2017 19:55:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/need-help-in-writing-time-prefix-and-time-format/m-p/315859#M59111</guid>
      <dc:creator>FloSwiip</dc:creator>
      <dc:date>2017-05-23T19:55:48Z</dc:date>
    </item>
    <item>
      <title>Re: need help in writing time prefix and time format</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/need-help-in-writing-time-prefix-and-time-format/m-p/315860#M59112</link>
      <description>&lt;P&gt;Like this in props.conf:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;TIME_PREFIX = ([^\|]*\|){3}(\D+\d+){3}\D+
TIME_FORMAT = %Y%B%d*%H:%M:%S
MAX_TIMESTAMP_LOOKAHEAD = 18
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Deploy to your Indexers, restart all Splunk instances there and then verify by checking ONLY events that have been forwarded after the restarts.&lt;/P&gt;</description>
      <pubDate>Tue, 23 May 2017 22:51:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/need-help-in-writing-time-prefix-and-time-format/m-p/315860#M59112</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2017-05-23T22:51:46Z</dc:date>
    </item>
  </channel>
</rss>

