<?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: How to export very large datasets from Splunk? in Reporting</title>
    <link>https://community.splunk.com/t5/Reporting/How-to-export-very-large-datasets-from-Splunk/m-p/265753#M5153</link>
    <description>&lt;P&gt;This technique worked very well.  I am also able to do a normal export without having to fetch data manually from /dispatch.  Thank you, Burch!&lt;/P&gt;</description>
    <pubDate>Mon, 08 Feb 2016 14:22:53 GMT</pubDate>
    <dc:creator>_gkollias</dc:creator>
    <dc:date>2016-02-08T14:22:53Z</dc:date>
    <item>
      <title>How to export very large datasets from Splunk?</title>
      <link>https://community.splunk.com/t5/Reporting/How-to-export-very-large-datasets-from-Splunk/m-p/265750#M5150</link>
      <description>&lt;P&gt;I’m trying to find a way that I can export a very large data set without bringing down any search heads (which I already learned the hard way).  Even 10 days of data produces around 10M rows and Splunk isn't able to handle that size of an export.  &lt;/P&gt;

&lt;P&gt;When I use the outputcsv command, I’m finding that the large output gets replicated in that SH's searchpeer bundles.  This results in end users not being able to pull up any data when running searches on that SH.  I thought I could simply export it and move it to /tmp/ before anything squirrely occurred.&lt;/P&gt;

&lt;P&gt;Do you have any ideas on how else I can export large data sets from Splunk?  Here is the search:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;(index=1)
OR
(index=2)
OR
(index=3)
| table various field names
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Thanks in Advance&lt;/P&gt;</description>
      <pubDate>Wed, 03 Feb 2016 15:35:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/How-to-export-very-large-datasets-from-Splunk/m-p/265750#M5150</guid>
      <dc:creator>_gkollias</dc:creator>
      <dc:date>2016-02-03T15:35:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to export very large datasets from Splunk?</title>
      <link>https://community.splunk.com/t5/Reporting/How-to-export-very-large-datasets-from-Splunk/m-p/265751#M5151</link>
      <description>&lt;P&gt;Try &lt;CODE&gt;dump&lt;/CODE&gt; (&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.1/SearchReference/Dump"&gt;dump&lt;/A&gt;) command &lt;/P&gt;

&lt;P&gt;OR&lt;/P&gt;

&lt;P&gt;using Rest : &lt;A href="http://blogs.splunk.com/2013/09/15/exporting-large-results-sets-to-csv/"&gt;http://blogs.splunk.com/2013/09/15/exporting-large-results-sets-to-csv/&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Also refer : &lt;A href="https://answers.splunk.com/answers/172454/what-are-my-options-to-export-large-amounts-of-spl.html"&gt;https://answers.splunk.com/answers/172454/what-are-my-options-to-export-large-amounts-of-spl.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Feb 2016 17:07:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/How-to-export-very-large-datasets-from-Splunk/m-p/265751#M5151</guid>
      <dc:creator>renjith_nair</dc:creator>
      <dc:date>2016-02-03T17:07:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to export very large datasets from Splunk?</title>
      <link>https://community.splunk.com/t5/Reporting/How-to-export-very-large-datasets-from-Splunk/m-p/265752#M5152</link>
      <description>&lt;P&gt;It sounds like you're trying to use output.csv. If this is a onetime thing, then theoretically I think you can simply run the search the produces the table, then go to the dispatch directory to find the results and download them. Be sure to do it quickly since the job may only persist for ten minutes.&lt;/P&gt;

&lt;P&gt;Additionally, you can improve the performance of the search by running &lt;CODE&gt;stats&lt;/CODE&gt; instead of &lt;CODE&gt;table&lt;/CODE&gt;:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;(index=1)
 OR
 (index=2)
 OR
 (index=3)
 | stats count by various field names
 | fields - count
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I believe &lt;CODE&gt;table&lt;/CODE&gt; is a streaming command and therefore returns all results to the search heads for processing. That's a HUGE memory footprint. &lt;CODE&gt;stats&lt;/CODE&gt; simply tells the indexers to only send the fields of concern back to the search head. You can run &lt;CODE&gt;sistats&lt;/CODE&gt; to get an idea of what is returned. You'll notice its much less data than all event's payloads.&lt;/P&gt;

&lt;P&gt;I believe both the &lt;CODE&gt;stats&lt;/CODE&gt; usage and fetching from the dispatch should address your issue.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Feb 2016 23:13:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/How-to-export-very-large-datasets-from-Splunk/m-p/265752#M5152</guid>
      <dc:creator>sloshburch</dc:creator>
      <dc:date>2016-02-04T23:13:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to export very large datasets from Splunk?</title>
      <link>https://community.splunk.com/t5/Reporting/How-to-export-very-large-datasets-from-Splunk/m-p/265753#M5153</link>
      <description>&lt;P&gt;This technique worked very well.  I am also able to do a normal export without having to fetch data manually from /dispatch.  Thank you, Burch!&lt;/P&gt;</description>
      <pubDate>Mon, 08 Feb 2016 14:22:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/How-to-export-very-large-datasets-from-Splunk/m-p/265753#M5153</guid>
      <dc:creator>_gkollias</dc:creator>
      <dc:date>2016-02-08T14:22:53Z</dc:date>
    </item>
  </channel>
</rss>

