<?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: ingest csv files containing multi line fields in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/ingest-csv-files-containing-multi-line-fields/m-p/508514#M86512</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/213957"&gt;@richgalloway&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;when I try to ingest my logs I have an event for each row.&lt;/P&gt;&lt;P&gt;Maybe I could use SHOULD_LINEMERGE = true but I don't know how to divide events.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
    <pubDate>Fri, 10 Jul 2020 16:02:14 GMT</pubDate>
    <dc:creator>gcusello</dc:creator>
    <dc:date>2020-07-10T16:02:14Z</dc:date>
    <item>
      <title>ingest csv files containing multi line fields</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/ingest-csv-files-containing-multi-line-fields/m-p/508328#M86495</link>
      <description>&lt;P&gt;Hi at all,&lt;/P&gt;&lt;P&gt;I have to ingest a csv file where some fields are multivalue and multiline, something like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;FIELD1;FIELD2;FIELD3;FIELD4;FIELD5
xxxx;yyyyy;"ppp
";"qqq
asd
asd
ert
www";qwerty&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I do it? I tried in many ways but it fails everytime.&lt;/P&gt;&lt;P&gt;Ciao and Thanks.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jul 2020 15:31:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/ingest-csv-files-containing-multi-line-fields/m-p/508328#M86495</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2020-07-09T15:31:04Z</dc:date>
    </item>
    <item>
      <title>Re: ingest csv files containing multi line fields</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/ingest-csv-files-containing-multi-line-fields/m-p/508373#M86500</link>
      <description>I've done that in the past and, IIRC, it just worked. Can you share your props?</description>
      <pubDate>Thu, 09 Jul 2020 18:19:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/ingest-csv-files-containing-multi-line-fields/m-p/508373#M86500</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-07-09T18:19:28Z</dc:date>
    </item>
    <item>
      <title>Re: ingest csv files containing multi line fields</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/ingest-csv-files-containing-multi-line-fields/m-p/508446#M86505</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/213957"&gt;@richgalloway&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;thanks for your help.&lt;/P&gt;&lt;P&gt;this is my last props.conf, I used also other tries (e.g. listing fields instead HEADER_FIELD_LINE_NUMBER) but with the same result:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[my_sourcetype]
BREAK_ONLY_BEFORE_DATE = 
DATETIME_CONFIG = CURRENT
FIELD_DELIMITER = ;
FIELD_QUOTE = "
INDEXED_EXTRACTIONS = csv
KV_MODE = none
LINE_BREAKER = ([\r\n]+)
NO_BINARY_CHECK = true
SHOULD_LINEMERGE = false
category = Structured
description = Processes
disabled = false
pulldown_type = 1
PREAMBLE_REGEX = ^XXX
HEADER_FIELD_LINE_NUMBER = 1&lt;/LI-CODE&gt;&lt;P&gt;Ciao and thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;Giuseppe&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jul 2020 06:33:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/ingest-csv-files-containing-multi-line-fields/m-p/508446#M86505</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2020-07-10T06:33:58Z</dc:date>
    </item>
    <item>
      <title>Re: ingest csv files containing multi line fields</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/ingest-csv-files-containing-multi-line-fields/m-p/508486#M86511</link>
      <description>&lt;P&gt;This is what I get when I onboard your data with those settings.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="richgalloway_0-1594388789041.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/9604iAD930C32FCE5430E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="richgalloway_0-1594388789041.png" alt="richgalloway_0-1594388789041.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jul 2020 13:46:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/ingest-csv-files-containing-multi-line-fields/m-p/508486#M86511</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-07-10T13:46:52Z</dc:date>
    </item>
    <item>
      <title>Re: ingest csv files containing multi line fields</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/ingest-csv-files-containing-multi-line-fields/m-p/508514#M86512</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/213957"&gt;@richgalloway&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;when I try to ingest my logs I have an event for each row.&lt;/P&gt;&lt;P&gt;Maybe I could use SHOULD_LINEMERGE = true but I don't know how to divide events.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jul 2020 16:02:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/ingest-csv-files-containing-multi-line-fields/m-p/508514#M86512</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2020-07-10T16:02:14Z</dc:date>
    </item>
    <item>
      <title>Re: ingest csv files containing multi line fields</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/ingest-csv-files-containing-multi-line-fields/m-p/508526#M86514</link>
      <description>I suspect we're each doing something differently to get the different results, but I'm not sure what that something is.&lt;BR /&gt;&lt;BR /&gt;Using SHOULD_LINEMERGE = true might help, but would break fields that are intended to have multiple lines. Then, as you say, there's the matter of how to break events properly.</description>
      <pubDate>Fri, 10 Jul 2020 16:57:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/ingest-csv-files-containing-multi-line-fields/m-p/508526#M86514</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-07-10T16:57:43Z</dc:date>
    </item>
  </channel>
</rss>

