<?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: Why is line breaking not working as expected for my XML data when I edit .conf files directly? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-line-breaking-not-working-as-expected-for-my-XML-data/m-p/260890#M50058</link>
    <description>&lt;P&gt;misspell :&lt;BR /&gt;
LINE_BREAKER = ([\r\n]*)&lt;/P&gt;</description>
    <pubDate>Mon, 23 May 2016 10:06:36 GMT</pubDate>
    <dc:creator>gagi76</dc:creator>
    <dc:date>2016-05-23T10:06:36Z</dc:date>
    <item>
      <title>Why is line breaking not working as expected for my XML data when I edit .conf files directly?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-line-breaking-not-working-as-expected-for-my-XML-data/m-p/260889#M50057</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;

&lt;P&gt;Can someone please explain why these steps won't work? XML file that I input in Splunk are one event, like this:&lt;BR /&gt;
&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/1383i395923262DDFD3FA/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;inputs.conf &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor://c:/to_the_file]
Sourcetype = aaa
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;props.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[aaa]
SHOULD_LINEMERGE = false
LINE_BREAKER = ([\r\n]*)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I have tried this from Splunk Web (upload file and configured &lt;CODE&gt;SHOULD_LINEMERGE = false&lt;/CODE&gt; and &lt;BR /&gt;
&lt;CODE&gt;LINE_BREAKER = ([\r\n]*)&lt;/CODE&gt;) and it worked, but when I do it from .conf files, it won't. Any ideas? &lt;BR /&gt;
And of course, how can I configure date and time to be recognized from Splunk?&lt;/P&gt;

&lt;P&gt;Thanks &lt;/P&gt;</description>
      <pubDate>Mon, 23 May 2016 10:04:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-line-breaking-not-working-as-expected-for-my-XML-data/m-p/260889#M50057</guid>
      <dc:creator>gagi76</dc:creator>
      <dc:date>2016-05-23T10:04:17Z</dc:date>
    </item>
    <item>
      <title>Re: Why is line breaking not working as expected for my XML data when I edit .conf files directly?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-line-breaking-not-working-as-expected-for-my-XML-data/m-p/260890#M50058</link>
      <description>&lt;P&gt;misspell :&lt;BR /&gt;
LINE_BREAKER = ([\r\n]*)&lt;/P&gt;</description>
      <pubDate>Mon, 23 May 2016 10:06:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-line-breaking-not-working-as-expected-for-my-XML-data/m-p/260890#M50058</guid>
      <dc:creator>gagi76</dc:creator>
      <dc:date>2016-05-23T10:06:36Z</dc:date>
    </item>
    <item>
      <title>Re: Why is line breaking not working as expected for my XML data when I edit .conf files directly?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-line-breaking-not-working-as-expected-for-my-XML-data/m-p/260891#M50059</link>
      <description>&lt;P&gt;Give this a try&lt;/P&gt;

&lt;P&gt;props.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[aaa]
SHOULD_LINEMERGE = false
LINE_BREAKER = ([\r\n]*)(?=\&amp;lt;LOG\&amp;gt;)
TIME_PREFIX = DATE\&amp;gt;
TIME_FORMAT = %Y%m%d&amp;lt;/DATE&amp;gt;&amp;lt;TIME&amp;gt;%H%M%S
MAX_TIMESTAMP_LOOKAHEAD = 27
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 23 May 2016 16:45:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-line-breaking-not-working-as-expected-for-my-XML-data/m-p/260891#M50059</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2016-05-23T16:45:15Z</dc:date>
    </item>
    <item>
      <title>Re: Why is line breaking not working as expected for my XML data when I edit .conf files directly?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-line-breaking-not-working-as-expected-for-my-XML-data/m-p/260892#M50060</link>
      <description>&lt;P&gt;Thanks for helping, &lt;/P&gt;

&lt;P&gt;ok, we broke logs now with those lines, but the date and time are not recognized from splunk. I have read that I should make datetime.xml file a configure it along with props.conf? &lt;/P&gt;</description>
      <pubDate>Tue, 24 May 2016 06:53:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-line-breaking-not-working-as-expected-for-my-XML-data/m-p/260892#M50060</guid>
      <dc:creator>gagi76</dc:creator>
      <dc:date>2016-05-24T06:53:04Z</dc:date>
    </item>
  </channel>
</rss>

