<?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: Sendemail changing column order in Reporting</title>
    <link>https://community.splunk.com/t5/Reporting/Sendemail-changing-column-order/m-p/65992#M1537</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I have the  same problem : &lt;BR /&gt;
When  I use stats or chart function in splunk my columns displayed in the good order. But  if I export the result to  CSV  sometimes the columns order change.&lt;/P&gt;

&lt;P&gt;Please if someone know how to  force columns order when using OPTION "-output csv" in search  command.&lt;BR /&gt;
How did you  fix it !&lt;/P&gt;

&lt;P&gt;Best Regard&lt;/P&gt;</description>
    <pubDate>Tue, 13 Dec 2011 18:56:02 GMT</pubDate>
    <dc:creator>aminobtata</dc:creator>
    <dc:date>2011-12-13T18:56:02Z</dc:date>
    <item>
      <title>Sendemail changing column order</title>
      <link>https://community.splunk.com/t5/Reporting/Sendemail-changing-column-order/m-p/65989#M1534</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I am using sendemail command in my search to send results as CSV file. I read the following post which states that prior to version 4.1.4 sendemail orders the results as per column length.&lt;/P&gt;

&lt;P&gt;link:&lt;A href="http://splunk-base.splunk.com/answers/3886/column-order-in-email-alerts"&gt;Define field order on export&lt;/A&gt;  &lt;/P&gt;

&lt;P&gt;I replaced the generateHTMLResults with the code from sendemail.py from 4.2 version which doesn't sort the columns. However this didn't work. &lt;/P&gt;

&lt;P&gt;Can you please tell me how can I display the columns same as given in table command?&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;

&lt;P&gt;Suvelee&lt;/P&gt;</description>
      <pubDate>Fri, 26 Aug 2011 19:53:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Sendemail-changing-column-order/m-p/65989#M1534</guid>
      <dc:creator>sscandoit</dc:creator>
      <dc:date>2011-08-26T19:53:56Z</dc:date>
    </item>
    <item>
      <title>Re: Sendemail changing column order</title>
      <link>https://community.splunk.com/t5/Reporting/Sendemail-changing-column-order/m-p/65990#M1535</link>
      <description>&lt;P&gt;right before your sendmail command, try using &lt;A href="http://docs.splunk.com/Documentation/Splunk/4.1.5/SearchReference/Fields"&gt;'fields&lt;/A&gt; &amp;lt;field_list&amp;gt;'&lt;/P&gt;</description>
      <pubDate>Mon, 29 Aug 2011 13:17:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Sendemail-changing-column-order/m-p/65990#M1535</guid>
      <dc:creator>fk319</dc:creator>
      <dc:date>2011-08-29T13:17:13Z</dc:date>
    </item>
    <item>
      <title>Re: Sendemail changing column order</title>
      <link>https://community.splunk.com/t5/Reporting/Sendemail-changing-column-order/m-p/65991#M1536</link>
      <description>&lt;P&gt;Thanks for the reply. Tried using fields as you suggested, but that didn't work.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Aug 2011 13:27:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Sendemail-changing-column-order/m-p/65991#M1536</guid>
      <dc:creator>sscandoit</dc:creator>
      <dc:date>2011-08-30T13:27:14Z</dc:date>
    </item>
    <item>
      <title>Re: Sendemail changing column order</title>
      <link>https://community.splunk.com/t5/Reporting/Sendemail-changing-column-order/m-p/65992#M1537</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I have the  same problem : &lt;BR /&gt;
When  I use stats or chart function in splunk my columns displayed in the good order. But  if I export the result to  CSV  sometimes the columns order change.&lt;/P&gt;

&lt;P&gt;Please if someone know how to  force columns order when using OPTION "-output csv" in search  command.&lt;BR /&gt;
How did you  fix it !&lt;/P&gt;

&lt;P&gt;Best Regard&lt;/P&gt;</description>
      <pubDate>Tue, 13 Dec 2011 18:56:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Sendemail-changing-column-order/m-p/65992#M1537</guid>
      <dc:creator>aminobtata</dc:creator>
      <dc:date>2011-12-13T18:56:02Z</dc:date>
    </item>
    <item>
      <title>Re: Sendemail changing column order</title>
      <link>https://community.splunk.com/t5/Reporting/Sendemail-changing-column-order/m-p/65993#M1538</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I have the  same problem : &lt;BR /&gt;
When  I use stats or chart function in splunk my columns displayed in the good order. But  if I export the result to  CSV  sometimes the columns order change.&lt;/P&gt;

&lt;P&gt;Please if someone know how to  force columns order when using OPTION "-output csv" in search  command.&lt;BR /&gt;
How did you  fix it !&lt;/P&gt;

&lt;P&gt;Best Regard&lt;/P&gt;</description>
      <pubDate>Tue, 13 Dec 2011 18:56:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Sendemail-changing-column-order/m-p/65993#M1538</guid>
      <dc:creator>aminobtata</dc:creator>
      <dc:date>2011-12-13T18:56:10Z</dc:date>
    </item>
  </channel>
</rss>

