<?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: How to change the max line length parameter before adding a line break for exporting by CSV? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-change-the-max-line-length-parameter-before-adding-a-line/m-p/173819#M34981</link>
    <description>&lt;P&gt;In limits.conf - there is one configuration value i.e. &lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.3/Admin/Limitsconf"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.3/Admin/Limitsconf&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;[associate]&lt;BR /&gt;
maxvaluesize = &lt;BR /&gt;
 * Maximum length of a single value to consider.&lt;BR /&gt;
 * Defaults to 1000.&lt;/P&gt;

&lt;P&gt;Can you check this value and give it a try?&lt;/P&gt;</description>
    <pubDate>Wed, 24 Jun 2015 16:01:09 GMT</pubDate>
    <dc:creator>vinitatsky</dc:creator>
    <dc:date>2015-06-24T16:01:09Z</dc:date>
    <item>
      <title>How to change the max line length parameter before adding a line break for exporting by CSV?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-change-the-max-line-length-parameter-before-adding-a-line/m-p/173814#M34976</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I'm doing such a search: &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;mysearch | stats dc(ip) as countip, values(ip) as valuesip | where countip &amp;gt; xxx | table countip,valuesip
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Then either export results via the UI or scheduling and sending the csv results.&lt;/P&gt;

&lt;P&gt;The number of returned rows is a few lines  (&amp;lt;100) &lt;BR /&gt;
countip max is about 6000 so the valuesip field may contain a list of 6000 ips&lt;/P&gt;

&lt;P&gt;In the Splunk Web UI, it looks correct.&lt;BR /&gt;
In the csv file, when I look at it in a text editor, I see the line breaks at 991 characters.&lt;BR /&gt;
Results are not truncated, but they are on the second line and so on.&lt;/P&gt;

&lt;P&gt;Obviously, when opening the csv file, it produces garbage ...&lt;/P&gt;

&lt;P&gt;So I need to change the "max line length before adding a new line character when exporting by csv" parameter?&lt;/P&gt;

&lt;P&gt;I couldn't find which setting it is.&lt;/P&gt;

&lt;P&gt;Any idea?&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jun 2015 08:37:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-change-the-max-line-length-parameter-before-adding-a-line/m-p/173814#M34976</guid>
      <dc:creator>matthieu_araman</dc:creator>
      <dc:date>2015-06-24T08:37:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the max line length parameter before adding a line break for exporting by CSV?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-change-the-max-line-length-parameter-before-adding-a-line/m-p/173815#M34977</link>
      <description>&lt;P&gt;alt textWhile exporting the results - select 'Number of Results' to 'Unlimited'.alt text&lt;/P&gt;

&lt;P&gt;Hope it helps.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jun 2015 09:18:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-change-the-max-line-length-parameter-before-adding-a-line/m-p/173815#M34977</guid>
      <dc:creator>vinitatsky</dc:creator>
      <dc:date>2015-06-24T09:18:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the max line length parameter before adding a line break for exporting by CSV?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-change-the-max-line-length-parameter-before-adding-a-line/m-p/173816#M34978</link>
      <description>&lt;P&gt;already doing this, I think it just adjust number of returned rows&lt;BR /&gt;
I've got other reports with more than 10k rows running ok (already upped this limit to 50k)&lt;BR /&gt;
I'm only doing the export via ui for debugging,  I will automatically send as csv by email&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jun 2015 09:26:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-change-the-max-line-length-parameter-before-adding-a-line/m-p/173816#M34978</guid>
      <dc:creator>matthieu_araman</dc:creator>
      <dc:date>2015-06-24T09:26:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the max line length parameter before adding a line break for exporting by CSV?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-change-the-max-line-length-parameter-before-adding-a-line/m-p/173817#M34979</link>
      <description>&lt;P&gt;in  &lt;STRONG&gt;limits.conf&lt;/STRONG&gt;  file, try like this :&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; [restapi]
     # maximum result rows to be returned by /events or /results getters from REST API  
     maxresultrows = 60000
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Increase that value to the desired maximum number of events,&lt;BR /&gt;
This configuration option should affect the number of results exported for a table.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jun 2015 09:57:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-change-the-max-line-length-parameter-before-adding-a-line/m-p/173817#M34979</guid>
      <dc:creator>fdi01</dc:creator>
      <dc:date>2015-06-24T09:57:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the max line length parameter before adding a line break for exporting by CSV?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-change-the-max-line-length-parameter-before-adding-a-line/m-p/173818#M34980</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;this problem is not row depending as it can occurs with only one row.&lt;BR /&gt;
As noted initially, I've very few raws for this search but can have a list of several thousands ip as a value.&lt;/P&gt;

&lt;P&gt;For another report, I've already upped maxresults, maresultrows to 1M and the maresults in a csv atteched to email to 50k -&amp;gt; I don't think this is the limiting factor.&lt;/P&gt;

&lt;P&gt;as line are  wrapped to 991 characters, there may be a setting around 1000 ? &lt;BR /&gt;
I've looked as 1000 values in limits.conf without success but I may have missed the good one.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jun 2015 14:48:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-change-the-max-line-length-parameter-before-adding-a-line/m-p/173818#M34980</guid>
      <dc:creator>matthieu_araman</dc:creator>
      <dc:date>2015-06-24T14:48:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the max line length parameter before adding a line break for exporting by CSV?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-change-the-max-line-length-parameter-before-adding-a-line/m-p/173819#M34981</link>
      <description>&lt;P&gt;In limits.conf - there is one configuration value i.e. &lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.3/Admin/Limitsconf"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.3/Admin/Limitsconf&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;[associate]&lt;BR /&gt;
maxvaluesize = &lt;BR /&gt;
 * Maximum length of a single value to consider.&lt;BR /&gt;
 * Defaults to 1000.&lt;/P&gt;

&lt;P&gt;Can you check this value and give it a try?&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jun 2015 16:01:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-change-the-max-line-length-parameter-before-adding-a-line/m-p/173819#M34981</guid>
      <dc:creator>vinitatsky</dc:creator>
      <dc:date>2015-06-24T16:01:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the max line length parameter before adding a line break for exporting by CSV?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-change-the-max-line-length-parameter-before-adding-a-line/m-p/173820#M34982</link>
      <description>&lt;P&gt;Will try.&lt;/P&gt;

&lt;P&gt;But the cell value is not really truncated but spread over multiples rows in the csv...&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jun 2015 16:16:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-change-the-max-line-length-parameter-before-adding-a-line/m-p/173820#M34982</guid>
      <dc:creator>matthieu_araman</dc:creator>
      <dc:date>2015-06-24T16:16:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the max line length parameter before adding a line break for exporting by CSV?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-change-the-max-line-length-parameter-before-adding-a-line/m-p/173821#M34983</link>
      <description>&lt;P&gt;tested on another splunk instance and doesn't seem limited this time&lt;/P&gt;

&lt;P&gt;testcase&lt;BR /&gt;
 * | stats dc(dest_ip) as countip,values(dest_ip) | sort  limit=1 - countip&lt;BR /&gt;
 have more than 8000 results&lt;BR /&gt;
csv file is two lines&lt;BR /&gt;
header&lt;BR /&gt;
one 123000 length line -&amp;gt; good&lt;/P&gt;

&lt;P&gt;the one with the pb has many parameters set -&amp;gt; still trying to find which one manage this&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 20:21:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-change-the-max-line-length-parameter-before-adding-a-line/m-p/173821#M34983</guid>
      <dc:creator>matthieu_araman</dc:creator>
      <dc:date>2020-09-28T20:21:57Z</dc:date>
    </item>
  </channel>
</rss>

