<?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: Preformat Automatic Report - CSV in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Preformat-Automatic-Report-CSV/m-p/68065#M13769</link>
    <description>&lt;P&gt;I think it is problematic to output data into a CSV when you have multivalued fields. I would suggest that you use some commands such as &lt;CODE&gt;mvexpand&lt;/CODE&gt; to eliminate the multivalued fields and then export your data to CSV. Or don't use the &lt;CODE&gt;list&lt;/CODE&gt; or &lt;CODE&gt;values&lt;/CODE&gt; functions for reports that you intend to export.&lt;/P&gt;</description>
    <pubDate>Wed, 20 Mar 2013 19:24:48 GMT</pubDate>
    <dc:creator>lguinn2</dc:creator>
    <dc:date>2013-03-20T19:24:48Z</dc:date>
    <item>
      <title>Preformat Automatic Report - CSV</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Preformat-Automatic-Report-CSV/m-p/68064#M13768</link>
      <description>&lt;P&gt;I have written a report that I wish to have delivered automatically by Splunk in a csv file so I can open it in excel. The first few tests I have ran are sending the report in a csv file but in instances where there are several items in one 'cell', a new line character is inserted.&lt;/P&gt;

&lt;P&gt;My data is currently appearing like this:&lt;BR /&gt;
ID      Product           Delivered&lt;BR /&gt;
1234    TV\nRadio\nDVD    Y\nN\nY         &lt;/P&gt;

&lt;P&gt;But I want it to appear like this&lt;BR /&gt;
ID      Product    Delivered&lt;BR /&gt;
1234    TV         Y&lt;BR /&gt;
        Radio      N&lt;BR /&gt;
        DVD        Y&lt;/P&gt;

&lt;P&gt;Is there anyway I can format the information in the csv before it is sent out?&lt;/P&gt;</description>
      <pubDate>Wed, 20 Mar 2013 16:35:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Preformat-Automatic-Report-CSV/m-p/68064#M13768</guid>
      <dc:creator>rlautman</dc:creator>
      <dc:date>2013-03-20T16:35:18Z</dc:date>
    </item>
    <item>
      <title>Re: Preformat Automatic Report - CSV</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Preformat-Automatic-Report-CSV/m-p/68065#M13769</link>
      <description>&lt;P&gt;I think it is problematic to output data into a CSV when you have multivalued fields. I would suggest that you use some commands such as &lt;CODE&gt;mvexpand&lt;/CODE&gt; to eliminate the multivalued fields and then export your data to CSV. Or don't use the &lt;CODE&gt;list&lt;/CODE&gt; or &lt;CODE&gt;values&lt;/CODE&gt; functions for reports that you intend to export.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Mar 2013 19:24:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Preformat-Automatic-Report-CSV/m-p/68065#M13769</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2013-03-20T19:24:48Z</dc:date>
    </item>
    <item>
      <title>Re: Preformat Automatic Report - CSV</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Preformat-Automatic-Report-CSV/m-p/68066#M13770</link>
      <description>&lt;P&gt;mvexpand does seem to be the right idea, but I have several multivalue fields in my report - 4 fields each with a minimum of 5 values - I have tried using multiple mvexpand statements but this causes some very strange errors&lt;/P&gt;</description>
      <pubDate>Thu, 21 Mar 2013 16:50:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Preformat-Automatic-Report-CSV/m-p/68066#M13770</guid>
      <dc:creator>rlautman</dc:creator>
      <dc:date>2013-03-21T16:50:14Z</dc:date>
    </item>
  </channel>
</rss>

