<?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: Help me with Time formt and time prefix in Splunk Enterprise</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise/Help-me-with-Time-formt-and-time-prefix/m-p/558910#M6356</link>
    <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/234513"&gt;@shreya17&lt;/a&gt;&amp;nbsp; Great job!&lt;/P&gt;&lt;P&gt;I tested these and they seem correct.&lt;/P&gt;&lt;P&gt;A couple of settings I like to add&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;MAX_TIMESTAMP_LOOKAHEAD .. make it be the total number of characters in the time including timezone etc&lt;/LI&gt;&lt;LI&gt;SHOULD_LINEMERGE=false&lt;/LI&gt;&lt;LI&gt;LINE_BREAKER=([\r\n]+)..&amp;nbsp; &amp;nbsp; &amp;nbsp;This one you put the regular expression that matches the beginning of an event. That way if there's some garbage lines they won't be treated as single events (if you want that) e.g. for 2 of your events it would be&amp;nbsp;LINE_BREAKER=([\r\n]+&lt;SPAN&gt;\####&amp;lt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;TRUNCATE=9999 or whatever you want. The maximum line length you will accept&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
    <pubDate>Fri, 09 Jul 2021 20:53:54 GMT</pubDate>
    <dc:creator>burwell</dc:creator>
    <dc:date>2021-07-09T20:53:54Z</dc:date>
    <item>
      <title>Help me with Time formt and time prefix</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Help-me-with-Time-formt-and-time-prefix/m-p/558613#M6335</link>
      <description>&lt;P&gt;I need help to write time format and time prefix for below&amp;nbsp; timelogs. Please note these are seperate logs, hence need different timeformat and timeprefix for all three. Help will be appreciated, Thanks in advance!&lt;/P&gt;&lt;P&gt;####&amp;lt;30/06/2021 11:13:08,975 PM AEST&amp;gt;&lt;/P&gt;&lt;P&gt;####&amp;lt;Jul 3, 2021 4:25:41,233 PM AEST&amp;gt;&lt;/P&gt;&lt;P&gt;[2021-07-06T23:59:58.849+10:00]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Trying to get this added in props.conf file in below format, need assistance with timeformat and timeprefix&lt;/P&gt;&lt;P&gt;DATETIME_CONFIG =&lt;BR /&gt;NO_BINARY_CHECK = true&lt;BR /&gt;TZ = Australia/Sydney&lt;BR /&gt;TIME_FORMAT =&amp;nbsp;&lt;BR /&gt;TIME_PREFIX =&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jul 2021 18:58:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Help-me-with-Time-formt-and-time-prefix/m-p/558613#M6335</guid>
      <dc:creator>shreya17</dc:creator>
      <dc:date>2021-07-07T18:58:50Z</dc:date>
    </item>
    <item>
      <title>Re: Help me with Time formt and time prefix</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Help-me-with-Time-formt-and-time-prefix/m-p/558614#M6336</link>
      <description>&lt;P&gt;Hi. Instead of us just providing you with the answer, do you want to take a crack at the timestamp settings?&lt;/P&gt;&lt;P&gt;Here are documented examples on the date/time format settings:&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Data/Configuretimestamprecognition#Examples" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/latest/Data/Configuretimestamprecognition#Examples&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I also came across this handy video that shows you how to interact with Splunk and test these settings.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;A href="https://www.youtube.com/watch?v=Q5EWCT79nZ4" target="_blank"&gt;https://www.youtube.com/watch?v=Q5EWCT79nZ4&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Give the settings a try and let us know what works/doesn't work or that you have questions about. Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jul 2021 19:40:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Help-me-with-Time-formt-and-time-prefix/m-p/558614#M6336</guid>
      <dc:creator>burwell</dc:creator>
      <dc:date>2021-07-07T19:40:57Z</dc:date>
    </item>
    <item>
      <title>Re: Help me with Time formt and time prefix</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Help-me-with-Time-formt-and-time-prefix/m-p/558713#M6346</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/155648"&gt;@burwell&lt;/a&gt;&amp;nbsp; I did give a try. Let me know if this is good.&lt;/P&gt;&lt;P&gt;####&amp;lt;30/06/2021 11:13:08,975 PM AEST&amp;gt;&lt;/P&gt;&lt;P&gt;DATETIME_CONFIG =&lt;BR /&gt;NO_BINARY_CHECK = true&lt;BR /&gt;TZ = Australia/Sydney&lt;BR /&gt;TIME_FORMAT = %d/%m/%Y %I:%M:%S,%3N %p&lt;BR /&gt;TIME_PREFIX = \####&amp;lt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;####&amp;lt;Jul 3, 2021 4:25:41,233 PM AEST&amp;gt;&lt;/P&gt;&lt;P&gt;DATETIME_CONFIG =&lt;BR /&gt;NO_BINARY_CHECK = true&lt;BR /&gt;TZ = Australia/Sydney&lt;BR /&gt;TIME_FORMAT = %b %d, %Y %I:%M:%S,%3N %p&lt;BR /&gt;TIME_PREFIX = \####&amp;lt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[2021-07-06T23:59:58.849+10:00]&amp;nbsp; --&amp;nbsp;(not sure of this one)&lt;/P&gt;&lt;P&gt;DATETIME_CONFIG =&lt;BR /&gt;NO_BINARY_CHECK = true&lt;BR /&gt;TZ = Australia/Sydney&lt;BR /&gt;TIME_FORMAT = %Y-%m-%dT%H:%M:%S.%3N&amp;nbsp;&amp;nbsp;&lt;BR /&gt;TIME_PREFIX = \[&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jul 2021 15:12:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Help-me-with-Time-formt-and-time-prefix/m-p/558713#M6346</guid>
      <dc:creator>shreya17</dc:creator>
      <dc:date>2021-07-08T15:12:17Z</dc:date>
    </item>
    <item>
      <title>Re: Help me with Time formt and time prefix</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Help-me-with-Time-formt-and-time-prefix/m-p/558910#M6356</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/234513"&gt;@shreya17&lt;/a&gt;&amp;nbsp; Great job!&lt;/P&gt;&lt;P&gt;I tested these and they seem correct.&lt;/P&gt;&lt;P&gt;A couple of settings I like to add&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;MAX_TIMESTAMP_LOOKAHEAD .. make it be the total number of characters in the time including timezone etc&lt;/LI&gt;&lt;LI&gt;SHOULD_LINEMERGE=false&lt;/LI&gt;&lt;LI&gt;LINE_BREAKER=([\r\n]+)..&amp;nbsp; &amp;nbsp; &amp;nbsp;This one you put the regular expression that matches the beginning of an event. That way if there's some garbage lines they won't be treated as single events (if you want that) e.g. for 2 of your events it would be&amp;nbsp;LINE_BREAKER=([\r\n]+&lt;SPAN&gt;\####&amp;lt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;TRUNCATE=9999 or whatever you want. The maximum line length you will accept&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Fri, 09 Jul 2021 20:53:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Help-me-with-Time-formt-and-time-prefix/m-p/558910#M6356</guid>
      <dc:creator>burwell</dc:creator>
      <dc:date>2021-07-09T20:53:54Z</dc:date>
    </item>
  </channel>
</rss>

