<?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: Date is creating separate event in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Date-is-creating-separate-event/m-p/479038#M99817</link>
    <description>&lt;P&gt;Hi piyali_sarkar,&lt;BR /&gt;
I don't understand: do you want only one event or one event for each row?&lt;BR /&gt;
if only one event, you have to use a different TIME_PREFIX&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;TIME_PREFIX=^\=*
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If instead you want one event for each row, you have to use as TIME_PREFIX&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;TIME_PREFIX= Complete last indexed:\s+
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Ciao.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
    <pubDate>Wed, 30 Sep 2020 02:52:55 GMT</pubDate>
    <dc:creator>gcusello</dc:creator>
    <dc:date>2020-09-30T02:52:55Z</dc:date>
    <item>
      <title>Date is creating separate event</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Date-is-creating-separate-event/m-p/479037#M99816</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;

&lt;P&gt;I am trying index .txt file via universal forwarder, below is sample data and props.conf file:&lt;/P&gt;

&lt;P&gt;================================================&lt;/P&gt;

&lt;H1&gt;11/03/2019:00:02:34&lt;/H1&gt;

&lt;P&gt;Sample: Complete   last indexed: 11/3/2019 12:02:21 AM number of objects: 0    start: 11/3/2019 12:02:21 AM    duration: 1 seconds &lt;BR /&gt;
 Production: Complete   last indexed: 11/2/2019 11:59:55 PM number of objects: 11   start: 11/3/2019 12:00:26 AM    duration: 115 seconds &lt;BR /&gt;
 Administration: Complete   last indexed: 11/3/2019 12:00:19 AM number of objects: 0    start: 11/3/2019 12:00:19 AM    duration: 1 seconds &lt;BR /&gt;
Archive: Complete   last indexed: 11/3/2019 12:00:12 AM number of objects: 0    start: 11/3/2019 12:00:13 AM    duration: 6 seconds &lt;/P&gt;

&lt;P&gt;props.conf: &lt;/P&gt;

&lt;P&gt;[index:test14] &lt;BR /&gt;
 TIME_PREFIX= ^&lt;BR /&gt;
 TIME_FORMAT = %m/%d/%Y:%H:%M:%S&lt;BR /&gt;
 SHOULD_LINEMERGE= true&lt;BR /&gt;
 TRUNCATE = 0&lt;BR /&gt;
 MAX_EVENTS = 10000&lt;BR /&gt;
 BREAK_ONLY_BEFORE_DATE = True&lt;/P&gt;

&lt;P&gt;after indexing "11/03/2019:00:02:34" is creating a separate event and rest another event.&lt;BR /&gt;
How to get both in a single event?&lt;/P&gt;

&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 02:52:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Date-is-creating-separate-event/m-p/479037#M99816</guid>
      <dc:creator>piyali_sarkar</dc:creator>
      <dc:date>2020-09-30T02:52:49Z</dc:date>
    </item>
    <item>
      <title>Re: Date is creating separate event</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Date-is-creating-separate-event/m-p/479038#M99817</link>
      <description>&lt;P&gt;Hi piyali_sarkar,&lt;BR /&gt;
I don't understand: do you want only one event or one event for each row?&lt;BR /&gt;
if only one event, you have to use a different TIME_PREFIX&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;TIME_PREFIX=^\=*
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If instead you want one event for each row, you have to use as TIME_PREFIX&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;TIME_PREFIX= Complete last indexed:\s+
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Ciao.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 02:52:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Date-is-creating-separate-event/m-p/479038#M99817</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2020-09-30T02:52:55Z</dc:date>
    </item>
  </channel>
</rss>

