<?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: Is there a CLI option in Splunk 6.1.4 to disable / enable REST data input? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Is-there-a-CLI-option-in-Splunk-6-1-4-to-disable-enable-REST/m-p/248583#M47851</link>
    <description>&lt;P&gt;Hi jasonhebron,&lt;/P&gt;

&lt;P&gt;this example is using the &lt;CODE&gt;web monitor&lt;/CODE&gt; app and shows how to disable and enable the modular input used by this app. &lt;BR /&gt;
To &lt;CODE&gt;disable&lt;/CODE&gt; this input you can POST this request to Splunk REST API:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; curl -X POST -k -u admin:changeme &lt;A href="https://localhost:8089//servicesNS/nobody/website_monitoring/data/inputs/web_ping/Answers/disable" target="test_blank"&gt;https://localhost:8089//servicesNS/nobody/website_monitoring/data/inputs/web_ping/Answers/disable&lt;/A&gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This will &lt;CODE&gt;disable&lt;/CODE&gt; the web monitor for the &lt;CODE&gt;Answers&lt;/CODE&gt; stanza.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;curl -X POST -k -u admin:changeme &lt;A href="https://localhost:8089//servicesNS/nobody/website_monitoring/data/inputs/web_ping/Answers/enable" target="test_blank"&gt;https://localhost:8089//servicesNS/nobody/website_monitoring/data/inputs/web_ping/Answers/enable&lt;/A&gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;And this will &lt;CODE&gt;enable&lt;/CODE&gt; it again.&lt;/P&gt;

&lt;P&gt;Hope this helps ...&lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
    <pubDate>Sun, 22 Nov 2015 23:52:01 GMT</pubDate>
    <dc:creator>MuS</dc:creator>
    <dc:date>2015-11-22T23:52:01Z</dc:date>
    <item>
      <title>Is there a CLI option in Splunk 6.1.4 to disable / enable REST data input?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-there-a-CLI-option-in-Splunk-6-1-4-to-disable-enable-REST/m-p/248582#M47850</link>
      <description>&lt;P&gt;We are running SPLUNK 6.1.4.&lt;BR /&gt;
We have a server with a REST API feed which every so often stops processing. To start it again, we go to the console and disable/enable it and it works ok after that.&lt;BR /&gt;
Is there a CLI option to perform a disable/enable of a CLI feed?&lt;BR /&gt;
Thanks&lt;/P&gt;</description>
      <pubDate>Sun, 22 Nov 2015 19:33:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-there-a-CLI-option-in-Splunk-6-1-4-to-disable-enable-REST/m-p/248582#M47850</guid>
      <dc:creator>jasonhebron</dc:creator>
      <dc:date>2015-11-22T19:33:11Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a CLI option in Splunk 6.1.4 to disable / enable REST data input?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-there-a-CLI-option-in-Splunk-6-1-4-to-disable-enable-REST/m-p/248583#M47851</link>
      <description>&lt;P&gt;Hi jasonhebron,&lt;/P&gt;

&lt;P&gt;this example is using the &lt;CODE&gt;web monitor&lt;/CODE&gt; app and shows how to disable and enable the modular input used by this app. &lt;BR /&gt;
To &lt;CODE&gt;disable&lt;/CODE&gt; this input you can POST this request to Splunk REST API:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; curl -X POST -k -u admin:changeme &lt;A href="https://localhost:8089//servicesNS/nobody/website_monitoring/data/inputs/web_ping/Answers/disable" target="test_blank"&gt;https://localhost:8089//servicesNS/nobody/website_monitoring/data/inputs/web_ping/Answers/disable&lt;/A&gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This will &lt;CODE&gt;disable&lt;/CODE&gt; the web monitor for the &lt;CODE&gt;Answers&lt;/CODE&gt; stanza.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;curl -X POST -k -u admin:changeme &lt;A href="https://localhost:8089//servicesNS/nobody/website_monitoring/data/inputs/web_ping/Answers/enable" target="test_blank"&gt;https://localhost:8089//servicesNS/nobody/website_monitoring/data/inputs/web_ping/Answers/enable&lt;/A&gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;And this will &lt;CODE&gt;enable&lt;/CODE&gt; it again.&lt;/P&gt;

&lt;P&gt;Hope this helps ...&lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
      <pubDate>Sun, 22 Nov 2015 23:52:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-there-a-CLI-option-in-Splunk-6-1-4-to-disable-enable-REST/m-p/248583#M47851</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2015-11-22T23:52:01Z</dc:date>
    </item>
  </channel>
</rss>

