<?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: export long term row in csv in Other Usage</title>
    <link>https://community.splunk.com/t5/Other-Usage/export-long-term-row-in-csv/m-p/325646#M960</link>
    <description>&lt;P&gt;Try adding this to the bottom to replace newlines with spaces:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | eval field1 = replace(field1, "[\r\n]+", " ") ...
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 03 Dec 2019 04:39:37 GMT</pubDate>
    <dc:creator>woodcock</dc:creator>
    <dc:date>2019-12-03T04:39:37Z</dc:date>
    <item>
      <title>export long term row in csv</title>
      <link>https://community.splunk.com/t5/Other-Usage/export-long-term-row-in-csv/m-p/325642#M956</link>
      <description>&lt;P&gt;Hi everyone&lt;/P&gt;

&lt;P&gt;i have this problem, when i write my seaerch table, i have a column with a long term of char&lt;BR /&gt;
Example,&lt;/P&gt;

&lt;P&gt;"field1"&lt;BR /&gt;
"xxxxxxxxxx xxxxxxxxxxxx xxxxxxxxxxx xxxxxxxxx"&lt;/P&gt;

&lt;P&gt;when i export my table in csv file i have this problem.&lt;/P&gt;

&lt;P&gt;"field1"&lt;BR /&gt;
"xxxxxxxxxxxxx&lt;/P&gt;

&lt;P&gt;xxxxxxxxx&lt;/P&gt;

&lt;P&gt;xxxxxxxxxx"&lt;/P&gt;

&lt;P&gt;and after i  lost a format with the other column&lt;/P&gt;

&lt;P&gt;why?&lt;/P&gt;</description>
      <pubDate>Wed, 12 Apr 2017 09:53:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Other-Usage/export-long-term-row-in-csv/m-p/325642#M956</guid>
      <dc:creator>gibba</dc:creator>
      <dc:date>2017-04-12T09:53:20Z</dc:date>
    </item>
    <item>
      <title>Re: export long term row in csv</title>
      <link>https://community.splunk.com/t5/Other-Usage/export-long-term-row-in-csv/m-p/325643#M957</link>
      <description>&lt;P&gt;Hi gibba,&lt;BR /&gt;
how many chars you have in your field?&lt;BR /&gt;
you are speaking of outputcsv command or csv export by web interface?&lt;BR /&gt;
Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Wed, 12 Apr 2017 10:10:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Other-Usage/export-long-term-row-in-csv/m-p/325643#M957</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2017-04-12T10:10:30Z</dc:date>
    </item>
    <item>
      <title>Re: export long term row in csv</title>
      <link>https://community.splunk.com/t5/Other-Usage/export-long-term-row-in-csv/m-p/325644#M958</link>
      <description>&lt;P&gt;Hi Giuseppe&lt;/P&gt;

&lt;P&gt;i talk about a csv export by web interface.&lt;/P&gt;

&lt;P&gt;the numbers of chars about my field is variable but usually is a large number because is a field description.&lt;/P&gt;

&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Wed, 12 Apr 2017 10:14:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Other-Usage/export-long-term-row-in-csv/m-p/325644#M958</guid>
      <dc:creator>gibba</dc:creator>
      <dc:date>2017-04-12T10:14:56Z</dc:date>
    </item>
    <item>
      <title>Re: export long term row in csv</title>
      <link>https://community.splunk.com/t5/Other-Usage/export-long-term-row-in-csv/m-p/325645#M959</link>
      <description>&lt;P&gt;You will need to convert into string first. &lt;BR /&gt;
try this&lt;BR /&gt;
| eval New_field="\""+tostring(field1)+"\""&lt;/P&gt;</description>
      <pubDate>Fri, 29 Nov 2019 19:27:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Other-Usage/export-long-term-row-in-csv/m-p/325645#M959</guid>
      <dc:creator>Chamrong</dc:creator>
      <dc:date>2019-11-29T19:27:49Z</dc:date>
    </item>
    <item>
      <title>Re: export long term row in csv</title>
      <link>https://community.splunk.com/t5/Other-Usage/export-long-term-row-in-csv/m-p/325646#M960</link>
      <description>&lt;P&gt;Try adding this to the bottom to replace newlines with spaces:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | eval field1 = replace(field1, "[\r\n]+", " ") ...
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 03 Dec 2019 04:39:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Other-Usage/export-long-term-row-in-csv/m-p/325646#M960</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-12-03T04:39:37Z</dc:date>
    </item>
    <item>
      <title>Re: export long term row in csv</title>
      <link>https://community.splunk.com/t5/Other-Usage/export-long-term-row-in-csv/m-p/569744#M961</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/183700"&gt;@gibba&lt;/a&gt;&amp;nbsp;I'm facing similar issue could you help me how it can be resolved?&lt;/P&gt;</description>
      <pubDate>Tue, 05 Oct 2021 17:34:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Other-Usage/export-long-term-row-in-csv/m-p/569744#M961</guid>
      <dc:creator>Supriya</dc:creator>
      <dc:date>2021-10-05T17:34:37Z</dc:date>
    </item>
  </channel>
</rss>

