<?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: Uploading a CSV with multiline field value in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Uploading-a-CSV-with-multiline-field-value/m-p/24398#M4477</link>
    <description>&lt;P&gt;It isn't completely clear from what you've said, but is the file a comma delimited text file or is it something else? Does it contain binary characters? Can you open it and edit it in a text editor?&lt;/P&gt;

&lt;P&gt;It would also help to provide a sample of the file here so we are clear on what you mean by multiline exactly.&lt;/P&gt;</description>
    <pubDate>Mon, 05 Aug 2013 05:14:53 GMT</pubDate>
    <dc:creator>rsennett_splunk</dc:creator>
    <dc:date>2013-08-05T05:14:53Z</dc:date>
    <item>
      <title>Uploading a CSV with multiline field value</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Uploading-a-CSV-with-multiline-field-value/m-p/24397#M4476</link>
      <description>&lt;P&gt;hi,&lt;/P&gt;

&lt;P&gt;I want to do a lookup to a CSV file which is having multi line field value when i upload a file for lookup its givng me error as file is in binary format.&lt;BR /&gt;
How can i upload such CSV or is there any other way to do lookup for fields with multi line value?&lt;/P&gt;

&lt;P&gt;Thanks and regards&lt;/P&gt;</description>
      <pubDate>Mon, 05 Aug 2013 04:27:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Uploading-a-CSV-with-multiline-field-value/m-p/24397#M4476</guid>
      <dc:creator>ChhayaV</dc:creator>
      <dc:date>2013-08-05T04:27:15Z</dc:date>
    </item>
    <item>
      <title>Re: Uploading a CSV with multiline field value</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Uploading-a-CSV-with-multiline-field-value/m-p/24398#M4477</link>
      <description>&lt;P&gt;It isn't completely clear from what you've said, but is the file a comma delimited text file or is it something else? Does it contain binary characters? Can you open it and edit it in a text editor?&lt;/P&gt;

&lt;P&gt;It would also help to provide a sample of the file here so we are clear on what you mean by multiline exactly.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Aug 2013 05:14:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Uploading-a-CSV-with-multiline-field-value/m-p/24398#M4477</guid>
      <dc:creator>rsennett_splunk</dc:creator>
      <dc:date>2013-08-05T05:14:53Z</dc:date>
    </item>
    <item>
      <title>Re: Uploading a CSV with multiline field value</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Uploading-a-CSV-with-multiline-field-value/m-p/24399#M4478</link>
      <description>&lt;P&gt;hi,&lt;BR /&gt;
yea its a comma delimited file and i am able to edit in text editor.&lt;BR /&gt;
Sample entry in file&lt;/P&gt;

&lt;P&gt;message&lt;BR /&gt;
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible&lt;/P&gt;

&lt;P&gt;solution&lt;BR /&gt;
try below options, set command timeout parameter to 0. It will execute till the end. By default it will timeout in 30 secs.&lt;BR /&gt;
sqlComm.CommandTimeout = 0&lt;/P&gt;

&lt;P&gt;where "mesasge" and "solution" are two filed in my csv&lt;/P&gt;</description>
      <pubDate>Mon, 05 Aug 2013 05:22:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Uploading-a-CSV-with-multiline-field-value/m-p/24399#M4478</guid>
      <dc:creator>ChhayaV</dc:creator>
      <dc:date>2013-08-05T05:22:19Z</dc:date>
    </item>
    <item>
      <title>Re: Uploading a CSV with multiline field value</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Uploading-a-CSV-with-multiline-field-value/m-p/24400#M4479</link>
      <description>&lt;P&gt;There is no problem with the structure, so I wonder if there are hidden binary characters that are inhibiting the upload. you might want to see if you text editor can reveal hidden characters so you can clean them up if need be.&lt;BR /&gt;
The exact error will help as well.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Aug 2013 06:27:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Uploading-a-CSV-with-multiline-field-value/m-p/24400#M4479</guid>
      <dc:creator>rsennett_splunk</dc:creator>
      <dc:date>2013-08-05T06:27:19Z</dc:date>
    </item>
    <item>
      <title>Re: Uploading a CSV with multiline field value</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Uploading-a-CSV-with-multiline-field-value/m-p/24401#M4480</link>
      <description>&lt;P&gt;I created a lookup like this (note the quotes):&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;&lt;BR /&gt;
field,value&lt;BR /&gt;
"key","This is a multi-line string&lt;BR /&gt;
that lives in a CSV file."&lt;BR /&gt;
&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;It worked just fine, but the search results (&lt;CODE&gt;| inputlookup foo.csv&lt;/CODE&gt;) ended up eliding the newlines, so the "value" side came out as just a long string.&lt;/P&gt;

&lt;P&gt;Could it be that your multi-line values are not quoted?&lt;/P&gt;</description>
      <pubDate>Mon, 05 Aug 2013 13:10:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Uploading-a-CSV-with-multiline-field-value/m-p/24401#M4480</guid>
      <dc:creator>sowings</dc:creator>
      <dc:date>2013-08-05T13:10:12Z</dc:date>
    </item>
  </channel>
</rss>

