<?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 Time_format and Timestamp prefix option in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-Time-format-and-Timestamp-prefix-option/m-p/617004#M106562</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/250310"&gt;@poojithavasanth&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;please try this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;TIME_PREFIX = ^([^\|]+\|){5}&lt;/LI-CODE&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
    <pubDate>Thu, 13 Oct 2022 14:56:50 GMT</pubDate>
    <dc:creator>gcusello</dc:creator>
    <dc:date>2022-10-13T14:56:50Z</dc:date>
    <item>
      <title>Splunk Time_format and Timestamp prefix option?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-Time-format-and-Timestamp-prefix-option/m-p/616975#M106557</link>
      <description>&lt;P&gt;I have the data has "1111|xxx, xxx y|000000|111111|firstname, lastname|10/13/22 02:12:09|"&lt;/P&gt;
&lt;P&gt;I used TIME_FORMAT = %m/%d/%Y %H:%M:%S&lt;/P&gt;
&lt;P&gt;and&amp;nbsp;&lt;SPAN&gt;Timestamp prefix =&amp;nbsp;^(?:[^\|\n]*\|){5}&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;However, I still get an error stating could not use strptime to parse the timestamp.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Would need help in providing timestamp prefix here.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Apr 2026 16:38:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-Time-format-and-Timestamp-prefix-option/m-p/616975#M106557</guid>
      <dc:creator>poojithavasanth</dc:creator>
      <dc:date>2026-04-01T16:38:53Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Time_format and Timestamp prefix option</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-Time-format-and-Timestamp-prefix-option/m-p/616977#M106558</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/250310"&gt;@poojithavasanth&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;I suppose that when you say "&lt;SPAN&gt;Timestamp prefix" you mean TIME_PREFIX, is it correct?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Ciao.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Giuseppe&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2022 12:15:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-Time-format-and-Timestamp-prefix-option/m-p/616977#M106558</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-10-13T12:15:12Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Time_format and Timestamp prefix option</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-Time-format-and-Timestamp-prefix-option/m-p/616980#M106559</link>
      <description>&lt;P&gt;Yes, it is&amp;nbsp;&lt;SPAN&gt;TIME_PREFIX&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="poojithavasanth_0-1665663956040.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/21996i2B2703FCBF0A2900/image-size/medium?v=v2&amp;amp;px=400" role="button" title="poojithavasanth_0-1665663956040.png" alt="poojithavasanth_0-1665663956040.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2022 12:25:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-Time-format-and-Timestamp-prefix-option/m-p/616980#M106559</guid>
      <dc:creator>poojithavasanth</dc:creator>
      <dc:date>2022-10-13T12:25:04Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Time_format and Timestamp prefix option</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-Time-format-and-Timestamp-prefix-option/m-p/616982#M106560</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/250310"&gt;@poojithavasanth&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;is your extraction a csv?&lt;/P&gt;&lt;P&gt;did you tried with INDEXED_EXTRACTION = csv?&lt;/P&gt;&lt;P&gt;Anyway, to debug your problem try to manually add a sample of your data using the GUI (Add data) in this way, you can immediately try different options.&lt;/P&gt;&lt;P&gt;Maybe the problem is Lookahead , try with a minor value e,g, 63.&lt;/P&gt;&lt;P&gt;ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2022 12:49:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-Time-format-and-Timestamp-prefix-option/m-p/616982#M106560</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-10-13T12:49:26Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Time_format and Timestamp prefix option</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-Time-format-and-Timestamp-prefix-option/m-p/616987#M106561</link>
      <description>&lt;P&gt;File is in .txt format and file content are in psv (pipe-delimited)&lt;/P&gt;&lt;P&gt;Also,&amp;nbsp;&lt;SPAN&gt;Lookahead with 63 did not work too. I believe&amp;nbsp;there should be some updates in&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;TIME_PREFIX.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2022 13:33:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-Time-format-and-Timestamp-prefix-option/m-p/616987#M106561</guid>
      <dc:creator>poojithavasanth</dc:creator>
      <dc:date>2022-10-13T13:33:55Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Time_format and Timestamp prefix option</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-Time-format-and-Timestamp-prefix-option/m-p/617004#M106562</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/250310"&gt;@poojithavasanth&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;please try this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;TIME_PREFIX = ^([^\|]+\|){5}&lt;/LI-CODE&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2022 14:56:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-Time-format-and-Timestamp-prefix-option/m-p/617004#M106562</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-10-13T14:56:50Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Time_format and Timestamp prefix option?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-Time-format-and-Timestamp-prefix-option/m-p/617010#M106563</link>
      <description>&lt;P&gt;Thanks for the providing this information. I still do not see it working.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="poojithavasanth_0-1665674787763.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/21997iBFE5B883DE9211E0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="poojithavasanth_0-1665674787763.png" alt="poojithavasanth_0-1665674787763.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="poojithavasanth_1-1665674809902.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/21998iD59BD53F992B5272/image-size/medium?v=v2&amp;amp;px=400" role="button" title="poojithavasanth_1-1665674809902.png" alt="poojithavasanth_1-1665674809902.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2022 15:26:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-Time-format-and-Timestamp-prefix-option/m-p/617010#M106563</guid>
      <dc:creator>poojithavasanth</dc:creator>
      <dc:date>2022-10-13T15:26:02Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Time_format and Timestamp prefix option?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-Time-format-and-Timestamp-prefix-option/m-p/617013#M106564</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/250310"&gt;@poojithavasanth&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;trying with Add data, try to leave the auto detection.&lt;/P&gt;&lt;P&gt;In other words, set the TIME_FORMAT but not the TIME_PREFIX, if you haven't any other date in the log it should recognize the timestamp.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2022 15:33:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-Time-format-and-Timestamp-prefix-option/m-p/617013#M106564</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-10-13T15:33:18Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Time_format and Timestamp prefix option?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-Time-format-and-Timestamp-prefix-option/m-p/617015#M106565</link>
      <description>&lt;P&gt;I see it recognizes the timestamp without adding&amp;nbsp;&lt;SPAN&gt;TIME_PREFIX but with an error "could not use strptime to parse timetsamp".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;My goal is to clear the error, which is only possible by adding&amp;nbsp;TIME_PREFIX which suits the situation.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2022 15:44:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-Time-format-and-Timestamp-prefix-option/m-p/617015#M106565</guid>
      <dc:creator>poojithavasanth</dc:creator>
      <dc:date>2022-10-13T15:44:05Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Time_format and Timestamp prefix option?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-Time-format-and-Timestamp-prefix-option/m-p/617092#M106566</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/250310"&gt;@poojithavasanth&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;if you have the above error, Splunk assignes the current timestamp to the event.&lt;/P&gt;&lt;P&gt;Did you tried to use the Add-data function to find the correct timestamp?&lt;/P&gt;&lt;P&gt;I tried using your data and the automatic recognition recognizes your timestamp&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="gcusello_0-1665728322648.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/22015i651C05CFE03412BE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="gcusello_0-1665728322648.png" alt="gcusello_0-1665728322648.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Fri, 14 Oct 2022 06:19:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-Time-format-and-Timestamp-prefix-option/m-p/617092#M106566</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-10-14T06:19:04Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Time_format and Timestamp prefix option?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-Time-format-and-Timestamp-prefix-option/m-p/617100#M106567</link>
      <description>&lt;P&gt;Firstly, unless you have some strange linebreakers, you don't have to account for \n within the event.&lt;/P&gt;&lt;P&gt;Secondly, if memory serves me right, within a character set you don't escape characters.&lt;/P&gt;&lt;P&gt;So you can try with&lt;/P&gt;&lt;PRE&gt;TIME_PREFIX = ^([^|]*|){5}&lt;/PRE&gt;&lt;P&gt;And you need %y instead of %Y (you don't have full year number, just two last digits)&lt;/P&gt;</description>
      <pubDate>Fri, 14 Oct 2022 07:29:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-Time-format-and-Timestamp-prefix-option/m-p/617100#M106567</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2022-10-14T07:29:21Z</dc:date>
    </item>
  </channel>
</rss>

