<?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 pause indexing? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-pause-indexing/m-p/55496#M10837</link>
    <description>&lt;P&gt;Tried that:&lt;BR /&gt;
[root@splk01 bin]# ./splunk set minfreemb 200000&lt;BR /&gt;
You need to restart the Splunk Server (splunkd) for your changes to take effect.&lt;/P&gt;

&lt;P&gt;Restarting the production environment it still not an option &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 05 Dec 2012 18:54:45 GMT</pubDate>
    <dc:creator>talbot7</dc:creator>
    <dc:date>2012-12-05T18:54:45Z</dc:date>
    <item>
      <title>How do I pause indexing?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-pause-indexing/m-p/55491#M10832</link>
      <description>&lt;P&gt;I would like to pause indexing when I reach 95% of my license.  I have the Nagios check built, I just need the command to pause indexing.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Dec 2012 18:08:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-pause-indexing/m-p/55491#M10832</guid>
      <dc:creator>talbot7</dc:creator>
      <dc:date>2012-12-05T18:08:04Z</dc:date>
    </item>
    <item>
      <title>Re: How do I pause indexing?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-pause-indexing/m-p/55492#M10833</link>
      <description>&lt;P&gt;Disable the inputs or shutdown splunk.&lt;/P&gt;

&lt;P&gt;An alternative is to setup a nullQueue filtering rule and turn it on to trash all your events.&lt;/P&gt;

&lt;P&gt;see &lt;A href="http://docs.splunk.com/Documentation/Splunk/5.0.1/Deploy/Routeandfilterdatad#Keep_specific_events_and_discard_the_rest"&gt;http://docs.splunk.com/Documentation/Splunk/5.0.1/Deploy/Routeandfilterdatad#Keep_specific_events_and_discard_the_rest&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Dec 2012 18:29:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-pause-indexing/m-p/55492#M10833</guid>
      <dc:creator>yannK</dc:creator>
      <dc:date>2012-12-05T18:29:49Z</dc:date>
    </item>
    <item>
      <title>Re: How do I pause indexing?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-pause-indexing/m-p/55493#M10834</link>
      <description>&lt;P&gt;I have filters in place sending garbage data to nullQueue. Cant shutdown splunk, customers will get upset.&lt;/P&gt;

&lt;P&gt;Cant seem to disable the input from the command line:&lt;BR /&gt;
[root@splk01 bin]# ./splunk disable listen -port 9998&lt;BR /&gt;
In handler 'cooked': Could not find config id for port 9998&lt;/P&gt;

&lt;P&gt;All traffic is sent from forwarders on port 9998 (SSL).  Once a connection is established, it moves to some random high level port.  If it just stayed put, I would kill it with IPTables.&lt;/P&gt;

&lt;P&gt;I know there is a clean way to do this.  Splunk does it when it runs low on disk space.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Dec 2012 18:44:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-pause-indexing/m-p/55493#M10834</guid>
      <dc:creator>talbot7</dc:creator>
      <dc:date>2012-12-05T18:44:29Z</dc:date>
    </item>
    <item>
      <title>Re: How do I pause indexing?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-pause-indexing/m-p/55494#M10835</link>
      <description>&lt;P&gt;To stop indexing, you could change the minFreeSpace in server.conf, But it may also stop searches.&lt;BR /&gt;
see &lt;A href="http://docs.splunk.com/Documentation/Splunk/5.0/Admin/Serverconf"&gt;http://docs.splunk.com/Documentation/Splunk/5.0/Admin/Serverconf&lt;/A&gt;&lt;BR /&gt;
`&lt;BR /&gt;
[diskUsage]&lt;/P&gt;

&lt;P&gt;minFreeSpace = &lt;NUM&gt;&lt;BR /&gt;
        * Specified in megabytes.&lt;BR /&gt;
        * The default setting is 2000 (approx 2GB)&lt;BR /&gt;
        * Specifies a safe amount of space that must exist for splunkd to continue operating.&lt;BR /&gt;
        * Note that this affects search and indexing&lt;BR /&gt;
        * This is how the searching is affected:&lt;BR /&gt;
        * For search:&lt;BR /&gt;
            * Before attempting to launch a search, splunk will require this&lt;BR /&gt;
              amount of free space on the filesystem where the dispatch&lt;BR /&gt;
              directory is stored, $SPLUNK_HOME/var/run/splunk/dispatch&lt;BR /&gt;
            * Applied similarly to the search quota values in&lt;BR /&gt;
              authorize.conf and limits.conf.&lt;BR /&gt;
        * For indexing: &lt;BR /&gt;
            * Periodically, the indexer will check space on all partitions&lt;BR /&gt;
              that contain splunk indexes as specified by indexes.conf.  Indexing&lt;BR /&gt;
              will be paused and a ui banner + splunkd warning posted to indicate&lt;BR /&gt;
              need to clear more disk space.&lt;BR /&gt;
`&lt;/NUM&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Dec 2012 18:50:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-pause-indexing/m-p/55494#M10835</guid>
      <dc:creator>yannK</dc:creator>
      <dc:date>2012-12-05T18:50:27Z</dc:date>
    </item>
    <item>
      <title>Re: How do I pause indexing?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-pause-indexing/m-p/55495#M10836</link>
      <description>&lt;P&gt;Splunk do not throttle the indexing when the license is excessed, it keeps indexing but disable the search.&lt;BR /&gt;
If you are an enterprise customer, you can go over, and once you have 5 days of warnings ask for a reset key.&lt;/P&gt;

&lt;P&gt;To stop a listening port, just edit inputs.conf and disable the input ans restart to reload.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Dec 2012 18:50:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-pause-indexing/m-p/55495#M10836</guid>
      <dc:creator>yannK</dc:creator>
      <dc:date>2012-12-05T18:50:57Z</dc:date>
    </item>
    <item>
      <title>Re: How do I pause indexing?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-pause-indexing/m-p/55496#M10837</link>
      <description>&lt;P&gt;Tried that:&lt;BR /&gt;
[root@splk01 bin]# ./splunk set minfreemb 200000&lt;BR /&gt;
You need to restart the Splunk Server (splunkd) for your changes to take effect.&lt;/P&gt;

&lt;P&gt;Restarting the production environment it still not an option &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Dec 2012 18:54:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-pause-indexing/m-p/55496#M10837</guid>
      <dc:creator>talbot7</dc:creator>
      <dc:date>2012-12-05T18:54:45Z</dc:date>
    </item>
    <item>
      <title>Re: How do I pause indexing?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-pause-indexing/m-p/55497#M10838</link>
      <description>&lt;P&gt;so close the input port using the manager !&lt;BR /&gt;
or block the port using iptables...&lt;/P&gt;</description>
      <pubDate>Wed, 05 Dec 2012 18:57:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-pause-indexing/m-p/55497#M10838</guid>
      <dc:creator>yannK</dc:creator>
      <dc:date>2012-12-05T18:57:52Z</dc:date>
    </item>
    <item>
      <title>Re: How do I pause indexing?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-pause-indexing/m-p/55498#M10839</link>
      <description>&lt;P&gt;Cant block the port with iptables.&lt;BR /&gt;&lt;BR /&gt;
"All traffic is sent from forwarders on port 9998 (SSL). Once a connection is established, it moves to some random high level port. If it just stayed put, I would kill it with IPTables."&lt;/P&gt;

&lt;P&gt;I am trying to build the automated approach (Not the manager).  But for now, that will have to do.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Dec 2012 19:01:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-pause-indexing/m-p/55498#M10839</guid>
      <dc:creator>talbot7</dc:creator>
      <dc:date>2012-12-05T19:01:28Z</dc:date>
    </item>
    <item>
      <title>Re: How do I pause indexing?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-pause-indexing/m-p/55499#M10840</link>
      <description>&lt;P&gt;sorry, are you saying that the forwarder-&amp;gt;indexer traffic (i.e. logs) changes ports from what you've defined in inputs.conf (on the indexer) and outputs.conf (on the forwarder)??? I didn't think that was possible. &lt;/P&gt;

&lt;P&gt;I still don't. &lt;/P&gt;

&lt;P&gt;You should be able to either block it in the local fw on the indexer or edit inputs.conf on the indexer and restart it. (as yannk says)&lt;/P&gt;

&lt;P&gt;Also, as for restarting a production environment. You lose 2 minutes of searchability for the restart as opposed to losing 1 day to get a license reset key....&lt;/P&gt;</description>
      <pubDate>Wed, 05 Dec 2012 21:37:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-pause-indexing/m-p/55499#M10840</guid>
      <dc:creator>kristian_kolb</dc:creator>
      <dc:date>2012-12-05T21:37:45Z</dc:date>
    </item>
    <item>
      <title>Re: How do I pause indexing?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-pause-indexing/m-p/55500#M10841</link>
      <description>&lt;P&gt;Having iptables drop anything on 9998 does not effect established sessions.&lt;/P&gt;

&lt;P&gt;I wound up editing inputs.conf and restarting the indexer.  Only a few customers noticed.&lt;/P&gt;

&lt;P&gt;There has got to be a clean way of doing this, with out using iptables or restarting Splunk.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Dec 2012 22:47:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-pause-indexing/m-p/55500#M10841</guid>
      <dc:creator>talbot7</dc:creator>
      <dc:date>2012-12-05T22:47:43Z</dc:date>
    </item>
    <item>
      <title>Re: How do I pause indexing?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-pause-indexing/m-p/55501#M10842</link>
      <description>&lt;P&gt;Ok so you have a tricky problem. You have some customers that need access to their data - and they cannot accept downtime (for searches?). But they have no problems with you throwing away their logs once the license is 95% full!?!&lt;/P&gt;

&lt;P&gt;Sounds like you need a bigger license. The customers should be happy to pay for it, given the circumstances...or am I missing something.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Dec 2012 11:45:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-pause-indexing/m-p/55501#M10842</guid>
      <dc:creator>kristian_kolb</dc:creator>
      <dc:date>2012-12-06T11:45:19Z</dc:date>
    </item>
    <item>
      <title>Re: How do I pause indexing?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-pause-indexing/m-p/55502#M10843</link>
      <description>&lt;P&gt;Yes, I do understand the hypocritical problems with my customers... &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;I can get away with an indexer reboot (sometimes).  The search heads are different boxes.&lt;/P&gt;

&lt;P&gt;Loose data?!  HAHAHAHAHAHA.  We have forwarders on all systems, and never loose any data.  Splunk is real good about catching up the next day when we turn the indexer back on.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Dec 2012 16:13:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-pause-indexing/m-p/55502#M10843</guid>
      <dc:creator>talbot7</dc:creator>
      <dc:date>2012-12-06T16:13:10Z</dc:date>
    </item>
    <item>
      <title>Re: How do I pause indexing?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-pause-indexing/m-p/55503#M10844</link>
      <description>&lt;P&gt;So you're just pushing the problem ahead of you until there are days that go below the limit, so you can then catch up on the backlog (no pun intended)&lt;/P&gt;</description>
      <pubDate>Thu, 06 Dec 2012 19:45:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-pause-indexing/m-p/55503#M10844</guid>
      <dc:creator>kristian_kolb</dc:creator>
      <dc:date>2012-12-06T19:45:59Z</dc:date>
    </item>
    <item>
      <title>Re: How do I pause indexing?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-pause-indexing/m-p/55504#M10845</link>
      <description>&lt;P&gt;Our average data is only 50% of our license, so we normally have no problems catching up.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Dec 2012 22:01:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-pause-indexing/m-p/55504#M10845</guid>
      <dc:creator>talbot7</dc:creator>
      <dc:date>2012-12-06T22:01:09Z</dc:date>
    </item>
    <item>
      <title>Re: How do I pause indexing?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-pause-indexing/m-p/55505#M10846</link>
      <description>&lt;P&gt;What about having each forwarder deployment sending to a different splunktcp port, then you can disable a specific port at a time to block the forwarders.&lt;BR /&gt;
They will queue, then pause. and restart once the port reopen.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Dec 2012 23:27:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-pause-indexing/m-p/55505#M10846</guid>
      <dc:creator>yannK</dc:creator>
      <dc:date>2012-12-06T23:27:33Z</dc:date>
    </item>
    <item>
      <title>Re: How do I pause indexing?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-pause-indexing/m-p/55506#M10847</link>
      <description>&lt;P&gt;I was thinking about taking that once step farther and having different indexers for each environment.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Dec 2012 00:02:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-pause-indexing/m-p/55506#M10847</guid>
      <dc:creator>talbot7</dc:creator>
      <dc:date>2012-12-07T00:02:01Z</dc:date>
    </item>
  </channel>
</rss>

