<?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 do I export large amounts of data? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-export-large-amounts-of-data/m-p/562516#M195632</link>
    <description>&lt;P&gt;Consider running multiple searches over smaller time ranges and then combining the results.&lt;/P&gt;</description>
    <pubDate>Sun, 08 Aug 2021 17:07:41 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2021-08-08T17:07:41Z</dc:date>
    <item>
      <title>How do I export large amounts of data?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-export-large-amounts-of-data/m-p/562438#M195616</link>
      <description>&lt;P&gt;I am having issues with finding a way to export two reports.&lt;/P&gt;&lt;P&gt;I have two reports, which I'll call search1 and search2. Both searches were run, then ran in the background. According to the jobs tab, both searches completed. The customer wanted this search run for "all-time" and thus is quite large. Search1 is 9.22GB and Search2 is 4.97GB.&lt;/P&gt;&lt;P&gt;The issue is getting access to the logs.&lt;/P&gt;&lt;P&gt;I've tried using | loadjob sid, and it just hangs and fails.&lt;/P&gt;&lt;P&gt;I've tried exporting from the jobs tab, and it fails.&lt;/P&gt;&lt;P&gt;I can't use the api, because from what I can tell, you must put the password into the search, when then makes the password searchable for anyone with access to that log.&lt;/P&gt;&lt;P&gt;I went to the &lt;SPAN&gt;$SPLUNK_HOME/var/run/splunk/dispatch&lt;/SPAN&gt; folder and found both jobs where this link,&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.2.1/Troubleshooting/CommandlinetoolsforusewithSupport#toCsv," target="_blank" rel="noopener"&gt;https://docs.splunk.com/Documentation/Splunk/8.2.1/Troubleshooting/CommandlinetoolsforusewithSupport#toCsv,&lt;/A&gt;&amp;nbsp;says to run "splunk cmd splunkd toCsv ./results.srs.gz". the .gz file appears to now be .zst, but I ran the command.&lt;/P&gt;&lt;P&gt;Search1 after a while simply said "killed".&lt;/P&gt;&lt;P&gt;Search2 as I'm writing this appears to be working, as it appears comma delimited text is scrolling on the console. I assume that once changed, I will be able to export this one.&lt;/P&gt;&lt;P&gt;So how do I export Search1 and other large files in the future? The toCsv command was the last thing I found to try. Perhaps there is a setting in a .conf file I can modify and then run something else? Any assistance is appreciated.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Aug 2021 16:28:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-export-large-amounts-of-data/m-p/562438#M195616</guid>
      <dc:creator>XOJ</dc:creator>
      <dc:date>2021-08-06T16:28:55Z</dc:date>
    </item>
    <item>
      <title>Re: How do I export large amounts of data?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-export-large-amounts-of-data/m-p/562516#M195632</link>
      <description>&lt;P&gt;Consider running multiple searches over smaller time ranges and then combining the results.&lt;/P&gt;</description>
      <pubDate>Sun, 08 Aug 2021 17:07:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-export-large-amounts-of-data/m-p/562516#M195632</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2021-08-08T17:07:41Z</dc:date>
    </item>
    <item>
      <title>Re: How do I export large amounts of data?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-export-large-amounts-of-data/m-p/564926#M196791</link>
      <description>&lt;P&gt;I hate that this is the answer. People have businesses much bigger than ours, and even they have to make tiny searches?&lt;/P&gt;&lt;P&gt;That being said, you are the only one that gave an answer, so I will mark it as such.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Aug 2021 18:56:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-export-large-amounts-of-data/m-p/564926#M196791</guid>
      <dc:creator>XOJ</dc:creator>
      <dc:date>2021-08-26T18:56:51Z</dc:date>
    </item>
    <item>
      <title>Re: How do I export large amounts of data?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-export-large-amounts-of-data/m-p/564959#M196805</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/237213"&gt;@XOJ&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;dump command may help you to export a large amount of data.&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Dump" target="_blank" rel="noopener"&gt;https://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Dump&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below will create daily dump files&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=yourindex | eval _dstpath=strftime(_time, "%Y%m%d") | dump basefilename=search1&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 27 Aug 2021 03:41:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-export-large-amounts-of-data/m-p/564959#M196805</guid>
      <dc:creator>scelikok</dc:creator>
      <dc:date>2021-08-27T03:41:19Z</dc:date>
    </item>
  </channel>
</rss>

