<?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 XML Data Line Breaking on DateTime tag in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/XML-Data-Line-Breaking-on-DateTime-tag/m-p/537669#M90107</link>
    <description>&lt;P&gt;Here is my data normally.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;2021-01-26 00:00:44.2885 [INFO] SIXPACService.SplunkForwarder.SplunkWriter Attempting to Splunk Message from SITA:
&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;
&amp;lt;DCNSMessage&amp;gt;
  &amp;lt;ID&amp;gt;SIXPAC&amp;lt;/ID&amp;gt;
  &amp;lt;RType&amp;gt;14&amp;lt;/RType&amp;gt;
  &amp;lt;DateTime&amp;gt;2021-01-26T00:00:35Z&amp;lt;/DateTime&amp;gt;
  &amp;lt;ActiveLink&amp;gt;
    &amp;lt;StartDateTime&amp;gt;2021-01-25T23:50:00Z&amp;lt;/StartDateTime&amp;gt;
    &amp;lt;StopDateTime&amp;gt;2021-01-26T00:00:00Z&amp;lt;/StopDateTime&amp;gt;
    &amp;lt;LocationActive&amp;gt;
      &amp;lt;Location&amp;gt;S-SLC01&amp;lt;/Location&amp;gt;
      &amp;lt;Active&amp;gt;0&amp;lt;/Active&amp;gt;
    &amp;lt;/LocationActive&amp;gt;
  &amp;lt;/ActiveLink&amp;gt;
&amp;lt;/DCNSMessage&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;for some reason when the data gets indexed, it's line breaking, so I only get the following data:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;2021-01-26 00:00:44.2885 [INFO] SIXPACService.SplunkForwarder.SplunkWriter Attempting to Splunk Message from SITA:
&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;
&amp;lt;DCNSMessage&amp;gt;
  &amp;lt;ID&amp;gt;SIXPAC&amp;lt;/ID&amp;gt;
  &amp;lt;RType&amp;gt;14&amp;lt;/RType&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;Any idea on why it's breaking at the DateTime tag?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 28 Jan 2021 17:33:30 GMT</pubDate>
    <dc:creator>ekenne06</dc:creator>
    <dc:date>2021-01-28T17:33:30Z</dc:date>
    <item>
      <title>XML Data Line Breaking on DateTime tag</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/XML-Data-Line-Breaking-on-DateTime-tag/m-p/537669#M90107</link>
      <description>&lt;P&gt;Here is my data normally.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;2021-01-26 00:00:44.2885 [INFO] SIXPACService.SplunkForwarder.SplunkWriter Attempting to Splunk Message from SITA:
&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;
&amp;lt;DCNSMessage&amp;gt;
  &amp;lt;ID&amp;gt;SIXPAC&amp;lt;/ID&amp;gt;
  &amp;lt;RType&amp;gt;14&amp;lt;/RType&amp;gt;
  &amp;lt;DateTime&amp;gt;2021-01-26T00:00:35Z&amp;lt;/DateTime&amp;gt;
  &amp;lt;ActiveLink&amp;gt;
    &amp;lt;StartDateTime&amp;gt;2021-01-25T23:50:00Z&amp;lt;/StartDateTime&amp;gt;
    &amp;lt;StopDateTime&amp;gt;2021-01-26T00:00:00Z&amp;lt;/StopDateTime&amp;gt;
    &amp;lt;LocationActive&amp;gt;
      &amp;lt;Location&amp;gt;S-SLC01&amp;lt;/Location&amp;gt;
      &amp;lt;Active&amp;gt;0&amp;lt;/Active&amp;gt;
    &amp;lt;/LocationActive&amp;gt;
  &amp;lt;/ActiveLink&amp;gt;
&amp;lt;/DCNSMessage&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;for some reason when the data gets indexed, it's line breaking, so I only get the following data:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;2021-01-26 00:00:44.2885 [INFO] SIXPACService.SplunkForwarder.SplunkWriter Attempting to Splunk Message from SITA:
&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;
&amp;lt;DCNSMessage&amp;gt;
  &amp;lt;ID&amp;gt;SIXPAC&amp;lt;/ID&amp;gt;
  &amp;lt;RType&amp;gt;14&amp;lt;/RType&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;Any idea on why it's breaking at the DateTime tag?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jan 2021 17:33:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/XML-Data-Line-Breaking-on-DateTime-tag/m-p/537669#M90107</guid>
      <dc:creator>ekenne06</dc:creator>
      <dc:date>2021-01-28T17:33:30Z</dc:date>
    </item>
    <item>
      <title>Re: XML Data Line Breaking on DateTime tag</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/XML-Data-Line-Breaking-on-DateTime-tag/m-p/537693#M90108</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/151958"&gt;@ekenne06&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Splunk breaks events when it finds a timestamp by default. You should set timestamp like below;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[your_sourcetype]
TIME_PREFIX = ^
TIMEFORMAT = %Y-%m-%d %H:%M:%S.%4Q&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jan 2021 18:59:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/XML-Data-Line-Breaking-on-DateTime-tag/m-p/537693#M90108</guid>
      <dc:creator>scelikok</dc:creator>
      <dc:date>2021-01-28T18:59:07Z</dc:date>
    </item>
    <item>
      <title>Re: XML Data Line Breaking on DateTime tag</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/XML-Data-Line-Breaking-on-DateTime-tag/m-p/537715#M90110</link>
      <description>&lt;P&gt;so I tried that and it's still breaking at that spot. I did a btool props --debug . Will update if I find anything there. Currently messing around with a few props.conf settings&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jan 2021 20:36:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/XML-Data-Line-Breaking-on-DateTime-tag/m-p/537715#M90110</guid>
      <dc:creator>ekenne06</dc:creator>
      <dc:date>2021-01-28T20:36:46Z</dc:date>
    </item>
  </channel>
</rss>

