<?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: Record Delimeters in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Record-Delimeters/m-p/66995#M13449</link>
    <description>&lt;P&gt;You are using a file that should work and there are many ways to do it.  Try this way:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[MySourceType]
LINE_BREAKER = (#DCS_EOR)
SHOULD_LINEMERGE = false
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The docs are here:&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Data/Indexmulti-lineevents"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Data/Indexmulti-lineevents&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;The key statement I suspect you missed is this:&lt;BR /&gt;
"The regex must contain a capturing group -- a pair of parentheses that defines an identified subcomponent of the match."&lt;/P&gt;</description>
    <pubDate>Fri, 29 May 2015 13:40:06 GMT</pubDate>
    <dc:creator>woodcock</dc:creator>
    <dc:date>2015-05-29T13:40:06Z</dc:date>
    <item>
      <title>Record Delimeters</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Record-Delimeters/m-p/66994#M13448</link>
      <description>&lt;P&gt;I'm running free version 4.2.3.  I have an email archive that I'm pre-processing the data to allow for key=value settings.  I need to have one field that is the string content including multiple lines and &amp;gt;&amp;gt; responses and other characters that I need to stuff into a field.  I control the data format, so I've put an #EOR (end of record) string into the data. &lt;/P&gt;

&lt;P&gt;I've been through the documentation for multi-line events here: &lt;A href="http://docs.splunk.com/Documentation/Splunk/4.2.3/Data/Indexmulti-lineevents" target="_blank"&gt;http://docs.splunk.com/Documentation/Splunk/4.2.3/Data/Indexmulti-lineevents&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;There wasn't a copy of C:/program files/splunk/etc/system/local/props.conf, so I made one. &lt;/P&gt;

&lt;P&gt;I tried to use TRUNCATE = 0 but it stuck everything in one single record.  Also LINE_BREAKER = "#DCS_EOR"&lt;/P&gt;

&lt;P&gt;Please advise on if I'm editing the right file, file location, values, have the right regex for the line breaker, etc.   &lt;/P&gt;

&lt;P&gt;Please see two records fo data below:&lt;/P&gt;

&lt;P&gt;m_id="27001",t_id="26044",t_name="Simpsons: BT Raw supply",p_id="1434",p_firstname="Tabish",p_lastname="Hasan",p_fullname="Tabish Hasan",m_idparent="0",m_type="email",fileid="3",from_firstname="Tabish",from_lastname="Hasan",from_fullname="Tabish Hasan",m_createdate="2007-07-26","to"="torrents","attachments"="multipart/alternative:/opt/dcsemap/visualizer/database/repository/f_file/00/00/00/03/contents/&lt;A href="mailto:mediadefender@codebrilliant.com" target="_blank"&gt;mediadefender@codebrilliant.com&lt;/A&gt;/Inbox/attachment/mdexch01.mediadefender.com/F55A72EF782B43428EBF605551914B20E8C474/attachment1.1,text/html:/opt/dcsemap/visualizer/database/repository/f_file/00/00/00/03/contents/&lt;A href="mailto:mediadefender@codebrilliant.com" target="_blank"&gt;mediadefender@codebrilliant.com&lt;/A&gt;/Inbox/attachment/mdexch01.mediadefender.com/F55A72EF782B43428EBF605551914B20E8C474/attachment1.1.2",m_content="FYI...for those that look at BT raw supply through the munger.&lt;/P&gt;

&lt;P&gt;The BT Raw Supply for The Simpsons Movie is inaccurate. It's picking up&lt;BR /&gt;
our decoys and counting it as supply. There's not really that much&lt;BR /&gt;
non-MD supply out there for it yet. &lt;/P&gt;

&lt;P&gt;Gerald and Arthur are looking into it. &lt;/P&gt;

&lt;P&gt;-TH&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;"
#DCS_EOR

m_id="27002",t_id="26045",t_name="Status Change - [PM !GOR-850395]: Mark as Single (UMG)",p_id="1432",p_firstname="Gilberto",p_lastname="Vargas",p_fullname="Gilberto Vargas",m_idparent="0",m_type="email",fileid="3",from_firstname="Gilberto",from_lastname="Vargas",from_fullname="Gilberto Vargas",m_createdate="2007-09-05","to"="Jay Mairs","attachments"="multipart/alternative:/opt/dcsemap/visualizer/database/repository/f_file/00/00/00/03/contents/mediadefender@codebrilliant.com/Inbox/attachment/support.mediadefender.com/jnwzva.6mzu7b/attachment1.1,text/html:/opt/dcsemap/visualizer/database/repository/f_file/00/00/00/03/contents/mediadefender@codebrilliant.com/Inbox/attachment/support.mediadefender.com/jnwzva.6mzu7b/attachment1.1.2",m_content="Ticket Status: Mark as Single (UMG)

New Status: Closed
Old Status: On Hold

Ticket Details
===================
Ticket ID: GOR-850395
Department: QA
Priority: Low
Status: Closed
Link:http://support.mediadefender.com/support/staff/index.php?_m=tickets&amp;amp;_a=viewticket&amp;amp;ticketid=14634"
#DCS_EOR
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 28 Sep 2020 09:51:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Record-Delimeters/m-p/66994#M13448</guid>
      <dc:creator>gbolcer2</dc:creator>
      <dc:date>2020-09-28T09:51:04Z</dc:date>
    </item>
    <item>
      <title>Re: Record Delimeters</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Record-Delimeters/m-p/66995#M13449</link>
      <description>&lt;P&gt;You are using a file that should work and there are many ways to do it.  Try this way:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[MySourceType]
LINE_BREAKER = (#DCS_EOR)
SHOULD_LINEMERGE = false
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The docs are here:&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Data/Indexmulti-lineevents"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Data/Indexmulti-lineevents&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;The key statement I suspect you missed is this:&lt;BR /&gt;
"The regex must contain a capturing group -- a pair of parentheses that defines an identified subcomponent of the match."&lt;/P&gt;</description>
      <pubDate>Fri, 29 May 2015 13:40:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Record-Delimeters/m-p/66995#M13449</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-05-29T13:40:06Z</dc:date>
    </item>
  </channel>
</rss>

