<?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 Group Events By timestamp in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-Group-Events-By-timestamp/m-p/93269#M19402</link>
    <description>&lt;P&gt;This is actually the default behaviour. Splunk will break when it finds a valid timestamp. What might be happening is that Splunk finds something else that it considers to be a valid timestamp in the places within event 1 where it's breaking though it shouldn't. You can tell Splunk explicitly what time format it should be looking for by specifying &lt;CODE&gt;TIME_FORMAT&lt;/CODE&gt; for the sourcetype in question in props.conf.&lt;/P&gt;</description>
    <pubDate>Fri, 12 Jul 2013 07:23:39 GMT</pubDate>
    <dc:creator>Ayn</dc:creator>
    <dc:date>2013-07-12T07:23:39Z</dc:date>
    <item>
      <title>Splunk Group Events By timestamp</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-Group-Events-By-timestamp/m-p/93268#M19401</link>
      <description>&lt;P&gt;Hi, &lt;/P&gt;

&lt;P&gt;I have this log file mixed with a single and multiple line events, my problem is that splunk is breaking some multiline events, what I want to do is group the event if splunk detects a timestamp and until a new timestamp is detected it will be displayed as a one event?&lt;/P&gt;

&lt;P&gt;what i want to happen is in this format:&lt;/P&gt;

&lt;P&gt;[timestamp][message] //event1&lt;BR /&gt;&lt;BR /&gt;
[message]            //event1&lt;BR /&gt;&lt;BR /&gt;
[message]            //event1&lt;BR /&gt;&lt;/P&gt;

&lt;P&gt;[timestamp][message] //event2&lt;BR /&gt;&lt;BR /&gt;
[timestamp][message] //event3&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jul 2013 03:58:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-Group-Events-By-timestamp/m-p/93268#M19401</guid>
      <dc:creator>markgomez00</dc:creator>
      <dc:date>2013-07-12T03:58:11Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Group Events By timestamp</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-Group-Events-By-timestamp/m-p/93269#M19402</link>
      <description>&lt;P&gt;This is actually the default behaviour. Splunk will break when it finds a valid timestamp. What might be happening is that Splunk finds something else that it considers to be a valid timestamp in the places within event 1 where it's breaking though it shouldn't. You can tell Splunk explicitly what time format it should be looking for by specifying &lt;CODE&gt;TIME_FORMAT&lt;/CODE&gt; for the sourcetype in question in props.conf.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jul 2013 07:23:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-Group-Events-By-timestamp/m-p/93269#M19402</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2013-07-12T07:23:39Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Group Events By timestamp</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-Group-Events-By-timestamp/m-p/93270#M19403</link>
      <description>&lt;P&gt;Hi ayn,&lt;/P&gt;

&lt;P&gt;I have checked the logs and it seems your right, there are some lines that have a timestamp but it's a little different.&lt;/P&gt;

&lt;P&gt;the timestamp format that i want only splunk to recognize is:"2013-07-18 07:47:05,720"&lt;/P&gt;

&lt;P&gt;that other timestamp format that splunk is recognizing is:&lt;BR /&gt;
"2013-07-18T07:46:10.4696008Z"&lt;/P&gt;

&lt;P&gt;now i don't have access to change the logs because it is being only sent to us by a third party&lt;/P&gt;

&lt;P&gt;is it possible for splunk to not read the other timestamp format above&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jul 2013 08:00:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-Group-Events-By-timestamp/m-p/93270#M19403</guid>
      <dc:creator>markgomez00</dc:creator>
      <dc:date>2013-07-18T08:00:06Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Group Events By timestamp</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-Group-Events-By-timestamp/m-p/93271#M19404</link>
      <description>&lt;P&gt;Yes. Like I said, you can set &lt;CODE&gt;TIME_FORMAT&lt;/CODE&gt;. More information on this is available here: &lt;A href="http://docs.splunk.com/Documentation/Splunk/5.0/Data/Configuretimestamprecognition"&gt;http://docs.splunk.com/Documentation/Splunk/5.0/Data/Configuretimestamprecognition&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;In your case the time format would be something like:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;TIME_FORMAT = %Y-%m-%d %H:%M:%S
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 18 Jul 2013 08:37:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-Group-Events-By-timestamp/m-p/93271#M19404</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2013-07-18T08:37:28Z</dc:date>
    </item>
  </channel>
</rss>

