<?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 Ordering of results from Java SDK export search in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/Ordering-of-results-from-Java-SDK-export-search/m-p/76721#M1071</link>
    <description>&lt;P&gt;According to &lt;A href="http://dev.splunk.com/view/splunk-java-sdk-how-to/SP-CAAAEHQ"&gt;http://dev.splunk.com/view/splunk-java-sdk-how-to/SP-CAAAEHQ&lt;/A&gt; "export" searches in the Java SDK return results in the opposite order to most Splunk searches:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;Export:&lt;/STRONG&gt; An export search is another type of search operation that runs immediately, does not create a
job for the search, and starts streaming results immediately. &lt;STRONG&gt;Results are returned in reverse order from other searches―from the oldest results to the newest.&lt;/STRONG&gt;&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;As far as I can see, that last sentence of this bullet point in the documentation is completely wrong.  When I run an "export" search using the Java SDK the newest events are returned first.  This is reproducible using the example program that comes with the SDK (described at &lt;A href="http://dev.splunk.com/view/SP-CAAAEFF#export"&gt;http://dev.splunk.com/view/SP-CAAAEFF#export&lt;/A&gt;).&lt;/P&gt;

&lt;P&gt;It would be brilliant if there &lt;EM&gt;was&lt;/EM&gt; a way to export events in ascending time order using the SDK.  Has anyone managed to do this?&lt;/P&gt;</description>
    <pubDate>Thu, 03 Jan 2013 11:58:14 GMT</pubDate>
    <dc:creator>dmr195</dc:creator>
    <dc:date>2013-01-03T11:58:14Z</dc:date>
    <item>
      <title>Ordering of results from Java SDK export search</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Ordering-of-results-from-Java-SDK-export-search/m-p/76721#M1071</link>
      <description>&lt;P&gt;According to &lt;A href="http://dev.splunk.com/view/splunk-java-sdk-how-to/SP-CAAAEHQ"&gt;http://dev.splunk.com/view/splunk-java-sdk-how-to/SP-CAAAEHQ&lt;/A&gt; "export" searches in the Java SDK return results in the opposite order to most Splunk searches:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;Export:&lt;/STRONG&gt; An export search is another type of search operation that runs immediately, does not create a
job for the search, and starts streaming results immediately. &lt;STRONG&gt;Results are returned in reverse order from other searches―from the oldest results to the newest.&lt;/STRONG&gt;&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;As far as I can see, that last sentence of this bullet point in the documentation is completely wrong.  When I run an "export" search using the Java SDK the newest events are returned first.  This is reproducible using the example program that comes with the SDK (described at &lt;A href="http://dev.splunk.com/view/SP-CAAAEFF#export"&gt;http://dev.splunk.com/view/SP-CAAAEFF#export&lt;/A&gt;).&lt;/P&gt;

&lt;P&gt;It would be brilliant if there &lt;EM&gt;was&lt;/EM&gt; a way to export events in ascending time order using the SDK.  Has anyone managed to do this?&lt;/P&gt;</description>
      <pubDate>Thu, 03 Jan 2013 11:58:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Ordering-of-results-from-Java-SDK-export-search/m-p/76721#M1071</guid>
      <dc:creator>dmr195</dc:creator>
      <dc:date>2013-01-03T11:58:14Z</dc:date>
    </item>
    <item>
      <title>Re: Ordering of results from Java SDK export search</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Ordering-of-results-from-Java-SDK-export-search/m-p/76722#M1072</link>
      <description>&lt;P&gt;You are right. This seems to be a defect in our documentation. We will get it corrected soon.&lt;/P&gt;

&lt;P&gt;Thanks for bringing this to our attention.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Mar 2013 23:21:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Ordering-of-results-from-Java-SDK-export-search/m-p/76722#M1072</guid>
      <dc:creator>Neeraj_Luthra</dc:creator>
      <dc:date>2013-03-11T23:21:23Z</dc:date>
    </item>
  </channel>
</rss>

