<?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: dump command - indexer cluster question in Knowledge Management</title>
    <link>https://community.splunk.com/t5/Knowledge-Management/dump-command-indexer-cluster-question/m-p/384756#M6152</link>
    <description>&lt;P&gt;For low amount of data, it is much better to do an outputlookup of the data via GUI. So you don't have to worry about nodes etc&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=whateverindex sourcetype=somesourcetype | table index,host,sourcetype,_raw| outputlookup dataoutput.csv
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Then copy this dataoutput.csv for your purposes (or select relevant field)&lt;/P&gt;</description>
    <pubDate>Wed, 22 May 2019 16:10:34 GMT</pubDate>
    <dc:creator>koshyk</dc:creator>
    <dc:date>2019-05-22T16:10:34Z</dc:date>
    <item>
      <title>dump command - indexer cluster question</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/dump-command-indexer-cluster-question/m-p/384755#M6151</link>
      <description>&lt;P&gt;We want to extract existing data (very little, less than a GB) from an index.  Is there a best practice for running the &lt;A href="https://docs.splunk.com/Documentation/Splunk/7.2.6/SearchReference/Dump"&gt;dump command&lt;/A&gt; on an indexer cluster (3 nodes) for a specific index?  Do I have to run this command individually on each indexer in the cluster to ensure all data in the cluster is extracted properly?  &lt;/P&gt;</description>
      <pubDate>Wed, 22 May 2019 15:39:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/dump-command-indexer-cluster-question/m-p/384755#M6151</guid>
      <dc:creator>fisuser1</dc:creator>
      <dc:date>2019-05-22T15:39:09Z</dc:date>
    </item>
    <item>
      <title>Re: dump command - indexer cluster question</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/dump-command-indexer-cluster-question/m-p/384756#M6152</link>
      <description>&lt;P&gt;For low amount of data, it is much better to do an outputlookup of the data via GUI. So you don't have to worry about nodes etc&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=whateverindex sourcetype=somesourcetype | table index,host,sourcetype,_raw| outputlookup dataoutput.csv
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Then copy this dataoutput.csv for your purposes (or select relevant field)&lt;/P&gt;</description>
      <pubDate>Wed, 22 May 2019 16:10:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/dump-command-indexer-cluster-question/m-p/384756#M6152</guid>
      <dc:creator>koshyk</dc:creator>
      <dc:date>2019-05-22T16:10:34Z</dc:date>
    </item>
    <item>
      <title>Re: dump command - indexer cluster question</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/dump-command-indexer-cluster-question/m-p/384757#M6153</link>
      <description>&lt;P&gt;Thanks for the response &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/221196"&gt;@koshyk&lt;/a&gt;.  The data size was a bit larger than I expected, so I rean the dump command on all indexers and imported them.  Seemed to do the trick.  Thanks again for the suggestion though! &lt;/P&gt;

&lt;P&gt;Commands:&lt;BR /&gt;
Dump:&lt;BR /&gt;
/opt/splunk/bin/splunk search 'index=my_old_idx latest="05/23/2019:11:33:55" | dump basefilename=my_old_idx.log'; find /opt/splunk/var/run/splunk/dispatch/&lt;EM&gt;/dump/ -type f -name 'my_old_idx .log&lt;/EM&gt;' | xargs -I {} mv {} /opt/splunk/etc/slave-apps/new_app_here&lt;/P&gt;

&lt;P&gt;Import:&lt;BR /&gt;
find /opt/splunk/etc/slave-apps/new_app_here/ -type f -name 'my_old_idx.log*' | xargs -I {} /opt/splunk/bin/splunk add oneshot {} -sourcetype my_new_st_here -index my_new_idx -rename-source /dir/foo/bar&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 00:39:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/dump-command-indexer-cluster-question/m-p/384757#M6153</guid>
      <dc:creator>fisuser1</dc:creator>
      <dc:date>2020-09-30T00:39:37Z</dc:date>
    </item>
  </channel>
</rss>

