<?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 Splunk rest api change column order. in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-rest-api-change-column-order/m-p/74183#M15166</link>
    <description>&lt;P&gt;Hello, &lt;BR /&gt;
I am using splunk 4.2.5&lt;BR /&gt;
When I export data to csv file from splunk via rest api I encountered a problem. Splunk change column order in csv file. How can I export data to csv with a certain column order?&lt;/P&gt;

&lt;P&gt;Best regards, Vladimir.&lt;/P&gt;</description>
    <pubDate>Wed, 13 Jun 2012 15:31:33 GMT</pubDate>
    <dc:creator>voffko</dc:creator>
    <dc:date>2012-06-13T15:31:33Z</dc:date>
    <item>
      <title>Splunk rest api change column order.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-rest-api-change-column-order/m-p/74183#M15166</link>
      <description>&lt;P&gt;Hello, &lt;BR /&gt;
I am using splunk 4.2.5&lt;BR /&gt;
When I export data to csv file from splunk via rest api I encountered a problem. Splunk change column order in csv file. How can I export data to csv with a certain column order?&lt;/P&gt;

&lt;P&gt;Best regards, Vladimir.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jun 2012 15:31:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-rest-api-change-column-order/m-p/74183#M15166</guid>
      <dc:creator>voffko</dc:creator>
      <dc:date>2012-06-13T15:31:33Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk rest api change column order.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-rest-api-change-column-order/m-p/74184#M15167</link>
      <description>&lt;P&gt;You can use the "table" command to set the desired order, even of an existing CSV file.&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;&lt;BR /&gt;
|inputlookup file.csv | table field1, field2, foo, bar | outputlookup file.csv&lt;BR /&gt;
&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;It should now have the order you specified in the &lt;CODE&gt;table&lt;/CODE&gt; command.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2013 18:39:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-rest-api-change-column-order/m-p/74184#M15167</guid>
      <dc:creator>sowings</dc:creator>
      <dc:date>2013-04-30T18:39:54Z</dc:date>
    </item>
  </channel>
</rss>

