<?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: Splunk data doesn't split correctly in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Splunk-data-doesn-t-split-correctly/m-p/582867#M202985</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/242566"&gt;@zhoayang&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;could you share some sample of your original logs (not the oned displayed in Splunk search)?&lt;/P&gt;&lt;P&gt;please one of the event correctly parsed and one of the event not correctly parsed.&lt;/P&gt;&lt;P&gt;Anyway, in Community you can find many examples of JSON parsing e.g.&amp;nbsp;&lt;A href="https://community.splunk.com/t5/Getting-Data-In/How-to-parse-JSON-log-data/m-p/121521" target="_blank"&gt;https://community.splunk.com/t5/Getting-Data-In/How-to-parse-JSON-log-data/m-p/121521&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
    <pubDate>Fri, 28 Jan 2022 07:36:06 GMT</pubDate>
    <dc:creator>gcusello</dc:creator>
    <dc:date>2022-01-28T07:36:06Z</dc:date>
    <item>
      <title>Splunk data doesn't split correctly</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-data-doesn-t-split-correctly/m-p/582864#M202984</link>
      <description>&lt;P&gt;Hi Splunk team,&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I used Splunk to search the log data and found it didn't split correctly, It displayed as below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="zhoayang_0-1643354979552.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/17734iA2359DA4F3C8501D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="zhoayang_0-1643354979552.png" alt="zhoayang_0-1643354979552.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The two data have been combined together, Can anyone has some suggestions do this situation? appreciate it.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jan 2022 07:31:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-data-doesn-t-split-correctly/m-p/582864#M202984</guid>
      <dc:creator>zhoayang</dc:creator>
      <dc:date>2022-01-28T07:31:52Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk data doesn't split correctly</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-data-doesn-t-split-correctly/m-p/582867#M202985</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/242566"&gt;@zhoayang&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;could you share some sample of your original logs (not the oned displayed in Splunk search)?&lt;/P&gt;&lt;P&gt;please one of the event correctly parsed and one of the event not correctly parsed.&lt;/P&gt;&lt;P&gt;Anyway, in Community you can find many examples of JSON parsing e.g.&amp;nbsp;&lt;A href="https://community.splunk.com/t5/Getting-Data-In/How-to-parse-JSON-log-data/m-p/121521" target="_blank"&gt;https://community.splunk.com/t5/Getting-Data-In/How-to-parse-JSON-log-data/m-p/121521&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jan 2022 07:36:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-data-doesn-t-split-correctly/m-p/582867#M202985</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-01-28T07:36:06Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk data doesn't split correctly</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-data-doesn-t-split-correctly/m-p/582907#M202989</link>
      <description>&lt;P&gt;It looks like a problem with&amp;nbsp;LINE_BREAKER in props.conf. (See&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.2.0/Data/Configureeventlinebreaking" target="_blank" rel="noopener"&gt;Configure event line breaking&lt;/A&gt;.) &amp;nbsp;By default Splunk indexer assumes "([\r\n]+)", i.e., a new line, to be the separator of events. &amp;nbsp;But some logs seem to have jammed into a single line. &amp;nbsp;There is no universal regex to break non-hierarchical structures like JSON. &amp;nbsp;So, it is best to ask developers to break events neatly. &amp;nbsp;If developers can guarantee that the first field is always "namespace" as in illustrated examples, you can try &lt;FONT face="courier new,courier"&gt;([\r\n]+|}{"namespace":)&lt;/FONT&gt;.&lt;/P&gt;&lt;P&gt;There is a dedicated forum&amp;nbsp;&lt;A href="https://community.splunk.com/t5/Getting-Data-In/bd-p/getting-data-in" target="_blank" rel="noopener"&gt;Getting Data In&lt;/A&gt;&amp;nbsp;in which this type of issues are discussed.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jan 2022 10:15:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-data-doesn-t-split-correctly/m-p/582907#M202989</guid>
      <dc:creator>yuanliu</dc:creator>
      <dc:date>2022-01-28T10:15:51Z</dc:date>
    </item>
  </channel>
</rss>

