<?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: Consume Free-Form text in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Consume-Free-Form-text/m-p/103248#M21697</link>
    <description>&lt;P&gt;You will need to instruct Splunk that this is a mulit-line event and also tell it where the line breakers are. Assuming that the TicketNum field is where a new event starts try this in your $SPLUNK_HOME/etc/system/local/props.conf:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[yoursourcetype]
SHOULD_LINEMERGE = True
BREAK_ONLY_BEFORE = ^TicketNum
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 03 Nov 2011 16:51:19 GMT</pubDate>
    <dc:creator>tgow</dc:creator>
    <dc:date>2011-11-03T16:51:19Z</dc:date>
    <item>
      <title>Consume Free-Form text</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Consume-Free-Form-text/m-p/103245#M21694</link>
      <description>&lt;P&gt;I have a help desk database in SQL Server that I want to export to log type files and have Splunk consume. I'm not having any trouble getting the data into Splunk but I can't seem to get Splunk to understand where the boundaries for each record/event is. I have defined my output as follows:&lt;BR /&gt;
&lt;PRE&gt;&lt;BR /&gt;
TicketNum=000001&lt;BR /&gt;
CustName=Bob Smith&lt;BR /&gt;
CallDate=2011-11-01&lt;BR /&gt;
Status=Closed&lt;BR /&gt;
CallDesc=Mr. Smith had trouble accessing his hydro accelerator while in mimsy mode.&lt;BR /&gt;
CallResolution=Told Mr. Smith that he had to be sure his vorbis was in gear&lt;BR /&gt;
&lt;/PRE&gt;&lt;BR /&gt;
Of course the CallDesc and CallResolution fields can be quite long. They contain copies of emails, comments and more. I have been careful to separate them with only line feeds. The only carriage return/linefeed is at the end of each record/event. There are 14 fields in each record/event. &lt;/P&gt;

&lt;P&gt;When I run a search on the raw data many of the records/events run together and they do not necessarily break at the end of a record/event. Yet others do. I have set the DELIMS="\n" in transforms.conf but it doesn't seem to help. &lt;/P&gt;

&lt;P&gt;Does anyone know how I can break these records/events out properly?&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 03 Nov 2011 15:22:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Consume-Free-Form-text/m-p/103245#M21694</guid>
      <dc:creator>kmattern</dc:creator>
      <dc:date>2011-11-03T15:22:19Z</dc:date>
    </item>
    <item>
      <title>Re: Consume Free-Form text</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Consume-Free-Form-text/m-p/103246#M21695</link>
      <description>&lt;P&gt;Try using &lt;CODE&gt;DELIMS="([\r\n])+"&lt;/CODE&gt;  as there may be carriage returns and/or new lines. &lt;/P&gt;

&lt;P&gt;Hope this helps&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;&amp;gt; please upvote and accept answer if you find it useful - thanks!&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Nov 2011 15:36:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Consume-Free-Form-text/m-p/103246#M21695</guid>
      <dc:creator>_d_</dc:creator>
      <dc:date>2011-11-03T15:36:18Z</dc:date>
    </item>
    <item>
      <title>Re: Consume Free-Form text</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Consume-Free-Form-text/m-p/103247#M21696</link>
      <description>&lt;P&gt;That didn't seem to do anything different. Maybe part of the problem is that in the free-form text theare are usually a number of dates. Emails are copied comppletely into these records and that includes the date and time of the email. I moved all of my date fields to the top of the event but that didn't seem to help either.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Nov 2011 15:49:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Consume-Free-Form-text/m-p/103247#M21696</guid>
      <dc:creator>kmattern</dc:creator>
      <dc:date>2011-11-03T15:49:40Z</dc:date>
    </item>
    <item>
      <title>Re: Consume Free-Form text</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Consume-Free-Form-text/m-p/103248#M21697</link>
      <description>&lt;P&gt;You will need to instruct Splunk that this is a mulit-line event and also tell it where the line breakers are. Assuming that the TicketNum field is where a new event starts try this in your $SPLUNK_HOME/etc/system/local/props.conf:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[yoursourcetype]
SHOULD_LINEMERGE = True
BREAK_ONLY_BEFORE = ^TicketNum
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 03 Nov 2011 16:51:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Consume-Free-Form-text/m-p/103248#M21697</guid>
      <dc:creator>tgow</dc:creator>
      <dc:date>2011-11-03T16:51:19Z</dc:date>
    </item>
  </channel>
</rss>

