<?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 issue pulling large data sets from Splunk using splunk cli - truncated output in Monitoring Splunk</title>
    <link>https://community.splunk.com/t5/Monitoring-Splunk/issue-pulling-large-data-sets-from-Splunk-using-splunk-cli/m-p/169152#M1855</link>
    <description>&lt;P&gt;I need to pull a large set data from Splunk as a scheduled job and then redirect the output to shared storage.  I have used the splunk cli for this sort of work before and tried it again. &lt;/P&gt;

&lt;P&gt;/opt/splunk/bin/splunk search "index=os sourcetype=iostat bandwUtilPct &amp;gt; 0  earliest=-d@d latest=@d | ta&lt;BR /&gt;
ble Device,_time,avgSvcMillis,avgWaitMillis,bandwUtilPct,host,rKB_PS,rReq_PS,wKB_PS,wReq_PS" -auth 'test:test' -output csv -maxout 0 &amp;gt; /shared/test/SPLUNK/IO_CSV/test_io.csv&lt;/P&gt;

&lt;P&gt;If I run this query from the UI i get arond 13-14 million events, but if I run this query from the cli i get a little over 6 million events. I had thought using "-maxout 0 " preventing truncation or could this be something else? I don't see any error messages for the search so I do not know what else could cause the issue. &lt;/P&gt;

&lt;P&gt;Any thoughts? &lt;/P&gt;

&lt;P&gt;Thanks &lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 06:57:55 GMT</pubDate>
    <dc:creator>ebailey</dc:creator>
    <dc:date>2020-09-29T06:57:55Z</dc:date>
    <item>
      <title>issue pulling large data sets from Splunk using splunk cli - truncated output</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/issue-pulling-large-data-sets-from-Splunk-using-splunk-cli/m-p/169152#M1855</link>
      <description>&lt;P&gt;I need to pull a large set data from Splunk as a scheduled job and then redirect the output to shared storage.  I have used the splunk cli for this sort of work before and tried it again. &lt;/P&gt;

&lt;P&gt;/opt/splunk/bin/splunk search "index=os sourcetype=iostat bandwUtilPct &amp;gt; 0  earliest=-d@d latest=@d | ta&lt;BR /&gt;
ble Device,_time,avgSvcMillis,avgWaitMillis,bandwUtilPct,host,rKB_PS,rReq_PS,wKB_PS,wReq_PS" -auth 'test:test' -output csv -maxout 0 &amp;gt; /shared/test/SPLUNK/IO_CSV/test_io.csv&lt;/P&gt;

&lt;P&gt;If I run this query from the UI i get arond 13-14 million events, but if I run this query from the cli i get a little over 6 million events. I had thought using "-maxout 0 " preventing truncation or could this be something else? I don't see any error messages for the search so I do not know what else could cause the issue. &lt;/P&gt;

&lt;P&gt;Any thoughts? &lt;/P&gt;

&lt;P&gt;Thanks &lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 06:57:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/issue-pulling-large-data-sets-from-Splunk-using-splunk-cli/m-p/169152#M1855</guid>
      <dc:creator>ebailey</dc:creator>
      <dc:date>2020-09-29T06:57:55Z</dc:date>
    </item>
    <item>
      <title>Re: issue pulling large data sets from Splunk using splunk cli - truncated output</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/issue-pulling-large-data-sets-from-Splunk-using-splunk-cli/m-p/169153#M1856</link>
      <description>&lt;P&gt;Executing regular search from CLI may hit a memory limit. The best way to do it is by using Splunk RESTFUL API . See more details here &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;</description>
      <pubDate>Wed, 12 Aug 2015 15:45:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/issue-pulling-large-data-sets-from-Splunk-using-splunk-cli/m-p/169153#M1856</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2015-08-12T15:45:48Z</dc:date>
    </item>
    <item>
      <title>Re: issue pulling large data sets from Splunk using splunk cli - truncated output</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/issue-pulling-large-data-sets-from-Splunk-using-splunk-cli/m-p/169154#M1857</link>
      <description>&lt;P&gt;Kinda of what I thought - i am lazy so was hoping the built-in tools would work though the rest-api is easy enough.&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 12 Aug 2015 17:06:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/issue-pulling-large-data-sets-from-Splunk-using-splunk-cli/m-p/169154#M1857</guid>
      <dc:creator>ebailey</dc:creator>
      <dc:date>2015-08-12T17:06:09Z</dc:date>
    </item>
  </channel>
</rss>

