<?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: MQTT Modular Input : All inputs disabled. in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/MQTT-Modular-Input-All-inputs-disabled/m-p/132639#M10950</link>
    <description>&lt;P&gt;You have not understood me.&lt;/P&gt;

&lt;P&gt;I want to see your inputs.conf MQTT stanza to verify that you setup MQTT correctly.&lt;/P&gt;

&lt;P&gt;If you don't know where to find the inputs.conf file , then try some command line searching :&lt;/P&gt;

&lt;P&gt;Change to your Splunk home directory , then :&lt;/P&gt;

&lt;P&gt;find . -name "inputs.conf" | xargs grep mqtt&lt;/P&gt;</description>
    <pubDate>Mon, 09 Feb 2015 15:31:37 GMT</pubDate>
    <dc:creator>Damien_Dallimor</dc:creator>
    <dc:date>2015-02-09T15:31:37Z</dc:date>
    <item>
      <title>MQTT Modular Input : All inputs disabled.</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/MQTT-Modular-Input-All-inputs-disabled/m-p/132621#M10932</link>
      <description>&lt;P&gt;Given that, there are number of posts in this theme,  I am probably doing Splunk right. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;Here is the log from &lt;CODE&gt;splunkd.log&lt;/CODE&gt; &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;02-06-2015 16:43:23.737 +0530 INFO  SpecFiles - Found external scheme definition for stanza "mqtt://" with 15 parameters: topic_name, broker_host, broker_port, use_ssl, username, passwor
d, client_id, qos, reliable_delivery_dir, clean_session, connection_timeout, keepalive_interval, message_handler_impl, message_handler_params, additional_jvm_propertys
02-06-2015 16:43:23.737 +0530 INFO  SpecFiles - Found external scheme definition for stanza "perfmon://" with 11 parameters: object, counters, instances, interval, mode, samplingInterval
, stats, disabled, index, showZeroValue, useEnglishOnly
02-06-2015 16:43:24.649 +0530 INFO  ModularInputs - Endpoint argument settings for "additional_jvm_propertys":
02-06-2015 16:43:24.649 +0530 INFO  ModularInputs - Endpoint argument settings for "broker_host":
02-06-2015 16:43:24.649 +0530 INFO  ModularInputs - Endpoint argument settings for "broker_port":
02-06-2015 16:43:24.649 +0530 INFO  ModularInputs - Endpoint argument settings for "clean_session":
02-06-2015 16:43:24.649 +0530 INFO  ModularInputs - Endpoint argument settings for "client_id":
02-06-2015 16:43:24.649 +0530 INFO  ModularInputs - Endpoint argument settings for "connection_timeout":
02-06-2015 16:43:24.649 +0530 INFO  ModularInputs - Endpoint argument settings for "keepalive_interval":
02-06-2015 16:43:24.649 +0530 INFO  ModularInputs - Endpoint argument settings for "message_handler_impl":
02-06-2015 16:43:24.649 +0530 INFO  ModularInputs - Endpoint argument settings for "message_handler_params":
02-06-2015 16:43:24.649 +0530 INFO  ModularInputs - Endpoint argument settings for "name":
02-06-2015 16:43:24.649 +0530 INFO  ModularInputs - Endpoint argument settings for "password":
02-06-2015 16:43:24.649 +0530 INFO  ModularInputs - Endpoint argument settings for "qos":
02-06-2015 16:43:24.649 +0530 INFO  ModularInputs - Endpoint argument settings for "reliable_delivery_dir":
02-06-2015 16:43:24.649 +0530 INFO  ModularInputs - Endpoint argument settings for "topic_name":
02-06-2015 16:43:24.649 +0530 INFO  ModularInputs - Endpoint argument settings for "use_ssl":
02-06-2015 16:43:24.649 +0530 INFO  ModularInputs - Endpoint argument settings for "username":
02-06-2015 16:43:24.649 +0530 INFO  ModularInputs - Introspection setup completed for scheme "mqtt".
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;followed, later, by:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;02-06-2015 16:43:32.296 +0530 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/mqtt_ta/bin/mqtt.py" Can't connect to Splunk REST API with the token [Splunk UCsOBihUByd91WO
^mn3L8noZwWJDbpkwcY7Hvf2EWv2W^C0YLBPU95xsleT0Kp4UhWkxRo3Xw_urAqala45dhR8L8gaGad7FoFr8OKNux3mLH_xFCB2WPRN], either the token is invalid or SplunkD has exited : No appropriate protocol (pr
otocol is disabled or cipher suites are inappropriate)
02-06-2015 16:43:42.298 +0530 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/mqtt_ta/bin/mqtt.py" It has been determined via the REST API that all inputs have been disab
led
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Going by a similar &lt;A href="http://answers.splunk.com/answers/152040/unable-to-get-jmx-data-with-app-monitoring-of-java-virtual-machines-with-jmx.html" target="_blank"&gt;post around JMX&lt;/A&gt;, I checked the &lt;CODE&gt;JAVA_HOME&lt;/CODE&gt; variable - looks ok.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;champ@champ-vm:~$ java -version
java version "1.8.0_31"
Java(TM) SE Runtime Environment (build 1.8.0_31-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.31-b07, mixed mode)
champ@champ-vm:~$ echo $JAVA_HOME
/usr/lib/jvm/java-8-oracle
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;All said and done, I am pretty sure, this is not a Java problem and in fact, the MQTT connection is probably going on correctly. I tried cloning the MQTT input definition using the Clone link. However, I forgot to change the client identifier. Now, as per the MQTT spec, the client identifier should be unique across a broker. If not, then the &lt;EM&gt;formerly&lt;/EM&gt; connected client will be disconnected. The Eclipse Paho client does provide a call-back upon a disconnect, where, I guess, a re-connect attempt is made. But, since the client ID is same again, now, the recently connected client is forcibly disconnected - trigerring a call back and so on.&lt;/P&gt;

&lt;P&gt;I am saying this, because, I did see some exception messages as shown below:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;02-06-2015 16:59:46.874 +0530 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/mqtt_ta/bin/mqtt.py" Stanza mqtt://localbroker : Error disconnecting : Client is disconnecte
d (32101)
02-06-2015 16:59:46.874 +0530 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/mqtt_ta/bin/mqtt.py"  at org.eclipse.paho.client.mqttv3.internal.ExceptionHelper.createM
qttException(ExceptionHelper.java:27)
02-06-2015 16:59:46.874 +0530 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/mqtt_ta/bin/mqtt.py"  at org.eclipse.paho.client.mqttv3.internal.ClientComms.disconnect(
ClientComms.java:405)
02-06-2015 16:59:46.874 +0530 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/mqtt_ta/bin/mqtt.py"  at org.eclipse.paho.client.mqttv3.MqttAsyncClient.disconnect(MqttA
syncClient.java:524)
02-06-2015 16:59:46.874 +0530 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/mqtt_ta/bin/mqtt.py"  at org.eclipse.paho.client.mqttv3.MqttClient.disconnect(MqttClient
.java:250)
02-06-2015 16:59:46.874 +0530 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/mqtt_ta/bin/mqtt.py"  at org.eclipse.paho.client.mqttv3.MqttClient.disconnect(MqttClient
.java:243)
02-06-2015 16:59:46.874 +0530 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/mqtt_ta/bin/mqtt.py"  at com.splunk.modinput.mqtt.MQTTModularInput$MessageReceiver.disco
nnect(Unknown Source)
02-06-2015 16:59:46.874 +0530 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/mqtt_ta/bin/mqtt.py"  at com.splunk.modinput.mqtt.MQTTModularInput$MessageReceiver.run(U
nknown Source)
02-06-2015 16:59:46.936 +0530 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/mqtt_ta/bin/mqtt.py" Stanza mqtt://Local : Error running message receiver : Connection lost 
(32109) - java.io.EOFException
02-06-2015 16:59:46.936 +0530 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/mqtt_ta/bin/mqtt.py"  at org.eclipse.paho.client.mqttv3.internal.CommsReceiver.run(Comms
Receiver.java:138)
02-06-2015 16:59:46.936 +0530 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/mqtt_ta/bin/mqtt.py"  at java.lang.Thread.run(Thread.java:745)
02-06-2015 16:59:46.936 +0530 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/mqtt_ta/bin/mqtt.py" Caused by: java.io.EOFException
02-06-2015 16:59:46.936 +0530 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/mqtt_ta/bin/mqtt.py"  at java.io.DataInputStream.readByte(DataInputStream.java:267)
02-06-2015 16:59:46.936 +0530 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/mqtt_ta/bin/mqtt.py"  at org.eclipse.paho.client.mqttv3.internal.wire.MqttInputStream.re
adMqttWireMessage(MqttInputStream.java:56)
02-06-2015 16:59:46.936 +0530 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/mqtt_ta/bin/mqtt.py"  at org.eclipse.paho.client.mqttv3.internal.CommsReceiver.run(Comms
Receiver.java:100)
02-06-2015 16:59:46.936 +0530 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/mqtt_ta/bin/mqtt.py"  ... 1 more
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The &lt;A href="https://apps.splunk.com/app/1890/#/documentation" target="_blank"&gt;Troubleshooting on the MQTT Modular Input&lt;/A&gt; page is not very helpful.&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;Run this command as the same user that&lt;BR /&gt;
you are running Splunk as and observe&lt;BR /&gt;
console output :&lt;BR /&gt;
"$SPLUNK_HOME/bin/splunk cmd python&lt;BR /&gt;
../etc/apps/mqtt_ta/bin/mqtt.py&lt;BR /&gt;
--scheme"&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;Ok, ran the command and observed - very pretty! Now, what?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;scheme&amp;gt;
    &amp;lt;title&amp;gt;MQTT&amp;lt;/title&amp;gt;
    &amp;lt;description&amp;gt;Index messages from a MQTT Broker&amp;lt;/description&amp;gt;
    &amp;lt;use_external_validation&amp;gt;true&amp;lt;/use_external_validation&amp;gt;
    &amp;lt;streaming_mode&amp;gt;xml&amp;lt;/streaming_mode&amp;gt;
    &amp;lt;use_single_instance&amp;gt;true&amp;lt;/use_single_instance&amp;gt;
    &amp;lt;endpoint&amp;gt;
        &amp;lt;args&amp;gt;
            &amp;lt;arg name="name"&amp;gt;
                &amp;lt;title&amp;gt;Stanza Name&amp;lt;/title&amp;gt;
                &amp;lt;description&amp;gt;&amp;lt;/description&amp;gt;
                &amp;lt;data_type&amp;gt;string&amp;lt;/data_type&amp;gt;
                &amp;lt;required_on_edit&amp;gt;false&amp;lt;/required_on_edit&amp;gt;
                &amp;lt;required_on_create&amp;gt;true&amp;lt;/required_on_create&amp;gt;
            &amp;lt;/arg&amp;gt;
            &amp;lt;arg name="topic_name"&amp;gt;
                &amp;lt;title&amp;gt;Topic Name&amp;lt;/title&amp;gt;
                &amp;lt;description&amp;gt;&amp;lt;/description&amp;gt;
                &amp;lt;data_type&amp;gt;string&amp;lt;/data_type&amp;gt;
                &amp;lt;required_on_edit&amp;gt;false&amp;lt;/required_on_edit&amp;gt;
                &amp;lt;required_on_create&amp;gt;true&amp;lt;/required_on_create&amp;gt;
            &amp;lt;/arg&amp;gt;
            &amp;lt;arg name="broker_host"&amp;gt;
                &amp;lt;title&amp;gt;Broker Host&amp;lt;/title&amp;gt;
                &amp;lt;description&amp;gt;&amp;lt;/description&amp;gt;
                &amp;lt;data_type&amp;gt;string&amp;lt;/data_type&amp;gt;
                &amp;lt;required_on_edit&amp;gt;false&amp;lt;/required_on_edit&amp;gt;
                &amp;lt;required_on_create&amp;gt;true&amp;lt;/required_on_create&amp;gt;
            &amp;lt;/arg&amp;gt;
            &amp;lt;arg name="broker_port"&amp;gt;
                &amp;lt;title&amp;gt;Broker Port&amp;lt;/title&amp;gt;
                &amp;lt;description&amp;gt;&amp;lt;/description&amp;gt;
                &amp;lt;data_type&amp;gt;string&amp;lt;/data_type&amp;gt;
                &amp;lt;required_on_edit&amp;gt;false&amp;lt;/required_on_edit&amp;gt;
                &amp;lt;required_on_create&amp;gt;false&amp;lt;/required_on_create&amp;gt;
            &amp;lt;/arg&amp;gt;
            &amp;lt;arg name="use_ssl"&amp;gt;
                &amp;lt;title&amp;gt;Use SSL&amp;lt;/title&amp;gt;
                &amp;lt;description&amp;gt;&amp;lt;/description&amp;gt;
                &amp;lt;data_type&amp;gt;string&amp;lt;/data_type&amp;gt;
                &amp;lt;required_on_edit&amp;gt;false&amp;lt;/required_on_edit&amp;gt;
                &amp;lt;required_on_create&amp;gt;false&amp;lt;/required_on_create&amp;gt;
            &amp;lt;/arg&amp;gt;
            &amp;lt;arg name="username"&amp;gt;
                &amp;lt;title&amp;gt;Username&amp;lt;/title&amp;gt;
                &amp;lt;description&amp;gt;&amp;lt;/description&amp;gt;
                &amp;lt;data_type&amp;gt;string&amp;lt;/data_type&amp;gt;
                &amp;lt;required_on_edit&amp;gt;false&amp;lt;/required_on_edit&amp;gt;
                &amp;lt;required_on_create&amp;gt;false&amp;lt;/required_on_create&amp;gt;
            &amp;lt;/arg&amp;gt;
            &amp;lt;arg name="password"&amp;gt;
                &amp;lt;title&amp;gt;Password&amp;lt;/title&amp;gt;
                &amp;lt;description&amp;gt;&amp;lt;/description&amp;gt;
                &amp;lt;data_type&amp;gt;string&amp;lt;/data_type&amp;gt;
                &amp;lt;required_on_edit&amp;gt;false&amp;lt;/required_on_edit&amp;gt;
                &amp;lt;required_on_create&amp;gt;false&amp;lt;/required_on_create&amp;gt;
            &amp;lt;/arg&amp;gt;
            &amp;lt;arg name="client_id"&amp;gt;
                &amp;lt;title&amp;gt;Client ID&amp;lt;/title&amp;gt;
                &amp;lt;description&amp;gt;&amp;lt;/description&amp;gt;
                &amp;lt;data_type&amp;gt;string&amp;lt;/data_type&amp;gt;
                &amp;lt;required_on_edit&amp;gt;false&amp;lt;/required_on_edit&amp;gt;
                &amp;lt;required_on_create&amp;gt;false&amp;lt;/required_on_create&amp;gt;
            &amp;lt;/arg&amp;gt;
            &amp;lt;arg name="qos"&amp;gt;
                &amp;lt;title&amp;gt;QOS&amp;lt;/title&amp;gt;
                &amp;lt;description&amp;gt;&amp;lt;/description&amp;gt;
                &amp;lt;data_type&amp;gt;string&amp;lt;/data_type&amp;gt;
                &amp;lt;required_on_edit&amp;gt;false&amp;lt;/required_on_edit&amp;gt;
                &amp;lt;required_on_create&amp;gt;false&amp;lt;/required_on_create&amp;gt;
            &amp;lt;/arg&amp;gt;
            &amp;lt;arg name="reliable_delivery_dir"&amp;gt;
                &amp;lt;title&amp;gt;Reliable Delivery Directory&amp;lt;/title&amp;gt;
                &amp;lt;description&amp;gt;&amp;lt;/description&amp;gt;
                &amp;lt;data_type&amp;gt;string&amp;lt;/data_type&amp;gt;
                &amp;lt;required_on_edit&amp;gt;false&amp;lt;/required_on_edit&amp;gt;
                &amp;lt;required_on_create&amp;gt;false&amp;lt;/required_on_create&amp;gt;
            &amp;lt;/arg&amp;gt;
            &amp;lt;arg name="clean_session"&amp;gt;
                &amp;lt;title&amp;gt;Clean Session&amp;lt;/title&amp;gt;
                &amp;lt;description&amp;gt;&amp;lt;/description&amp;gt;
                &amp;lt;data_type&amp;gt;string&amp;lt;/data_type&amp;gt;
                &amp;lt;required_on_edit&amp;gt;false&amp;lt;/required_on_edit&amp;gt;
                &amp;lt;required_on_create&amp;gt;false&amp;lt;/required_on_create&amp;gt;
            &amp;lt;/arg&amp;gt;
            &amp;lt;arg name="connection_timeout"&amp;gt;
                &amp;lt;title&amp;gt;Connection Timeout&amp;lt;/title&amp;gt;
                &amp;lt;description&amp;gt;&amp;lt;/description&amp;gt;
                &amp;lt;data_type&amp;gt;string&amp;lt;/data_type&amp;gt;
                &amp;lt;required_on_edit&amp;gt;false&amp;lt;/required_on_edit&amp;gt;
                &amp;lt;required_on_create&amp;gt;false&amp;lt;/required_on_create&amp;gt;
            &amp;lt;/arg&amp;gt;
            &amp;lt;arg name="keepalive_interval"&amp;gt;
                &amp;lt;title&amp;gt;Keep Alive Interval&amp;lt;/title&amp;gt;
                &amp;lt;description&amp;gt;&amp;lt;/description&amp;gt;
                &amp;lt;data_type&amp;gt;string&amp;lt;/data_type&amp;gt;
                &amp;lt;required_on_edit&amp;gt;false&amp;lt;/required_on_edit&amp;gt;
                &amp;lt;required_on_create&amp;gt;false&amp;lt;/required_on_create&amp;gt;
            &amp;lt;/arg&amp;gt;
            &amp;lt;arg name="additional_jvm_propertys"&amp;gt;
                &amp;lt;title&amp;gt;Additional JVM Propertys&amp;lt;/title&amp;gt;
                &amp;lt;description&amp;gt;&amp;lt;/description&amp;gt;
                &amp;lt;data_type&amp;gt;string&amp;lt;/data_type&amp;gt;
                &amp;lt;required_on_edit&amp;gt;false&amp;lt;/required_on_edit&amp;gt;
                &amp;lt;required_on_create&amp;gt;false&amp;lt;/required_on_create&amp;gt;
            &amp;lt;/arg&amp;gt;
            &amp;lt;arg name="message_handler_impl"&amp;gt;
                &amp;lt;title&amp;gt;Implementation class for a custom message handler&amp;lt;/title&amp;gt;
                &amp;lt;description&amp;gt;An implementation of the com.splunk.modinput.mqtt.AbstractMessageHandler class.You would provide this if you required some custom handling/formatting of the messages you consume.Ensure that the necessary jars are in the $SPLUNK_HOME/etc/apps/mqtt_ta/bin/lib directory&amp;lt;/description&amp;gt;
                &amp;lt;data_type&amp;gt;string&amp;lt;/data_type&amp;gt;
                &amp;lt;required_on_edit&amp;gt;false&amp;lt;/required_on_edit&amp;gt;
                &amp;lt;required_on_create&amp;gt;false&amp;lt;/required_on_create&amp;gt;
            &amp;lt;/arg&amp;gt;
            &amp;lt;arg name="message_handler_params"&amp;gt;
                &amp;lt;title&amp;gt;Implementation parameter string for the custom message handler&amp;lt;/title&amp;gt;
                &amp;lt;description&amp;gt;Parameter string in format 'key1=value1,key2=value2,key3=value3'. This gets passed to the implementation class to process.&amp;lt;/description&amp;gt;
                &amp;lt;data_type&amp;gt;string&amp;lt;/data_type&amp;gt;
                &amp;lt;required_on_edit&amp;gt;false&amp;lt;/required_on_edit&amp;gt;
                &amp;lt;required_on_create&amp;gt;false&amp;lt;/required_on_create&amp;gt;
            &amp;lt;/arg&amp;gt;
        &amp;lt;/args&amp;gt;
    &amp;lt;/endpoint&amp;gt;
&amp;lt;/scheme&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Can you please help me resolve this ?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 18:51:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/MQTT-Modular-Input-All-inputs-disabled/m-p/132621#M10932</guid>
      <dc:creator>nageshs</dc:creator>
      <dc:date>2020-09-28T18:51:59Z</dc:date>
    </item>
    <item>
      <title>Re: MQTT Modular Input : All inputs disabled.</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/MQTT-Modular-Input-All-inputs-disabled/m-p/132622#M10933</link>
      <description>&lt;P&gt;SSLv3 is disabled by default in Java 8. The MQTT Mod Input uses the Splunk Java SDK under the hood for some things which is hardwired to use SSLv3 to connect to SplunkD.&lt;/P&gt;

&lt;P&gt;So use another JRE or enable SSLv3 in your Java 8 runtime.&lt;/P&gt;

&lt;P&gt;Side note : at some point(ie: when I get time) I will update all my Java based Modular Inputs to allow for dynamic configuration of the underlying security transport (SSL or TLS) with a customized version of the Splunk Java SDK. That should sort out the errors of this type "No appropriate protocol".&lt;/P&gt;</description>
      <pubDate>Fri, 06 Feb 2015 11:53:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/MQTT-Modular-Input-All-inputs-disabled/m-p/132622#M10933</guid>
      <dc:creator>Damien_Dallimor</dc:creator>
      <dc:date>2015-02-06T11:53:18Z</dc:date>
    </item>
    <item>
      <title>Re: MQTT Modular Input : All inputs disabled.</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/MQTT-Modular-Input-All-inputs-disabled/m-p/132623#M10934</link>
      <description>&lt;P&gt;O.k. let me try OpenJDK (assuming it has enabled SSLv3). Then, step 8 onwards in [this tutorial][1], I could see reports from MQTT publications, I suppose?&lt;/P&gt;

&lt;P&gt;tutorial - &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.1/PivotTutorial/GetthetutorialdataintoSplunk"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.1/PivotTutorial/GetthetutorialdataintoSplunk&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Feb 2015 13:20:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/MQTT-Modular-Input-All-inputs-disabled/m-p/132623#M10934</guid>
      <dc:creator>nageshs</dc:creator>
      <dc:date>2015-02-06T13:20:08Z</dc:date>
    </item>
    <item>
      <title>Re: MQTT Modular Input : All inputs disabled.</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/MQTT-Modular-Input-All-inputs-disabled/m-p/132624#M10935</link>
      <description>&lt;BLOCKQUOTE&gt;
&lt;P&gt;So use another JRE or enable SSLv3 in&lt;BR /&gt;
your Java 8 runtime.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;Pretty much every JRE these days disables SSLv3 by default -tested as so with Oracle Java 8, OpenJDK-6 and 7.  I set the JVM properties as &lt;CODE&gt;'https.protocols=SSLv3'&lt;/CODE&gt; when I created a new stanza for MQTT Input - no luck. Apparently, the override &lt;A href="http://stackoverflow.com/a/19936813"&gt;does not seem&lt;/A&gt; to take effect.&lt;/P&gt;

&lt;P&gt;Too bad, I would have to drop Splunk off my list. :-S&lt;/P&gt;</description>
      <pubDate>Fri, 06 Feb 2015 17:32:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/MQTT-Modular-Input-All-inputs-disabled/m-p/132624#M10935</guid>
      <dc:creator>nageshs</dc:creator>
      <dc:date>2015-02-06T17:32:03Z</dc:date>
    </item>
    <item>
      <title>Re: MQTT Modular Input : All inputs disabled.</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/MQTT-Modular-Input-All-inputs-disabled/m-p/132625#M10936</link>
      <description>&lt;P&gt;If you can be a bit patient, it is 1am now for me right now,I can release a TLSv1.2 compatible version &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Feb 2015 17:36:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/MQTT-Modular-Input-All-inputs-disabled/m-p/132625#M10936</guid>
      <dc:creator>Damien_Dallimor</dc:creator>
      <dc:date>2015-02-06T17:36:54Z</dc:date>
    </item>
    <item>
      <title>Re: MQTT Modular Input : All inputs disabled.</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/MQTT-Modular-Input-All-inputs-disabled/m-p/132626#M10937</link>
      <description>&lt;BLOCKQUOTE&gt;
&lt;P&gt;...  it is 1am now for me right now ... &lt;BR /&gt;
No, please! Just an assurance, that this is being looked into is more than enough.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;BTW, as per the &lt;A href="https://disablessl3.com/#test"&gt;link here&lt;/A&gt;, SSLv3 seems to be enabled. &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;champ@champ-vm:~$ sudo openssl s_client -connect localhost:8000 -ssl3
CONNECTED(00000003)
140032189802144:error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number:s3_pkt.c:337:
---
no peer certificate available
---
No client certificate CA names sent
---
SSL handshake has read 5 bytes and written 7 bytes
---
New, (NONE), Cipher is (NONE)
Secure Renegotiation IS NOT supported
Compression: NONE
Expansion: NONE
SSL-Session:
    Protocol  : SSLv3
    Cipher    : 0000
    Session-ID: 
    Session-ID-ctx: 
    Master-Key: 
    Key-Arg   : None
    PSK identity: None
    PSK identity hint: None
    SRP username: None
    Start Time: 1423244378
    Timeout   : 7200 (sec)
    Verify return code: 0 (ok)
---
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;And yet, &lt;CODE&gt;splunkd&lt;/CODE&gt; log shows the error.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Feb 2015 17:47:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/MQTT-Modular-Input-All-inputs-disabled/m-p/132626#M10937</guid>
      <dc:creator>nageshs</dc:creator>
      <dc:date>2015-02-06T17:47:03Z</dc:date>
    </item>
    <item>
      <title>Re: MQTT Modular Input : All inputs disabled.</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/MQTT-Modular-Input-All-inputs-disabled/m-p/132627#M10938</link>
      <description>&lt;P&gt;The latest release has TLSv1.2 support wired in. View the release notes for the latest release for how to enable TLS.&lt;/P&gt;</description>
      <pubDate>Sun, 08 Feb 2015 17:21:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/MQTT-Modular-Input-All-inputs-disabled/m-p/132627#M10938</guid>
      <dc:creator>Damien_Dallimor</dc:creator>
      <dc:date>2015-02-08T17:21:44Z</dc:date>
    </item>
    <item>
      <title>Re: MQTT Modular Input : All inputs disabled.</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/MQTT-Modular-Input-All-inputs-disabled/m-p/132628#M10939</link>
      <description>&lt;P&gt;Thanks!&lt;/P&gt;

&lt;P&gt;I removed the older package and copied (unzipped) the recent one. I also put the flag value as mentioned in the documentation for the additional JVM values. But, I don't know, what else am I missing...the error persists.&lt;/P&gt;

&lt;P&gt;Something you could suggest, please ?&lt;/P&gt;</description>
      <pubDate>Sun, 08 Feb 2015 18:48:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/MQTT-Modular-Input-All-inputs-disabled/m-p/132628#M10939</guid>
      <dc:creator>nageshs</dc:creator>
      <dc:date>2015-02-08T18:48:13Z</dc:date>
    </item>
    <item>
      <title>Re: MQTT Modular Input : All inputs disabled.</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/MQTT-Modular-Input-All-inputs-disabled/m-p/132629#M10940</link>
      <description>&lt;P&gt;It works fine for me with multiple JVM variants.&lt;/P&gt;

&lt;P&gt;So I am totally guessing here regarding your predicament....perhaps TLS is not enabled in your Splunk server correctly.&lt;/P&gt;</description>
      <pubDate>Sun, 08 Feb 2015 18:56:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/MQTT-Modular-Input-All-inputs-disabled/m-p/132629#M10940</guid>
      <dc:creator>Damien_Dallimor</dc:creator>
      <dc:date>2015-02-08T18:56:49Z</dc:date>
    </item>
    <item>
      <title>Re: MQTT Modular Input : All inputs disabled.</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/MQTT-Modular-Input-All-inputs-disabled/m-p/132630#M10941</link>
      <description>&lt;BLOCKQUOTE&gt;
&lt;P&gt;perhaps TLS is not enabled in your&lt;BR /&gt;
Splunk server correctly.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;How does one check that? I do recall seeing some log messages around protocol (SSL, TLS, etc.) support at server.&lt;/P&gt;</description>
      <pubDate>Sun, 08 Feb 2015 19:07:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/MQTT-Modular-Input-All-inputs-disabled/m-p/132630#M10941</guid>
      <dc:creator>nageshs</dc:creator>
      <dc:date>2015-02-08T19:07:13Z</dc:date>
    </item>
    <item>
      <title>Re: MQTT Modular Input : All inputs disabled.</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/MQTT-Modular-Input-All-inputs-disabled/m-p/132631#M10942</link>
      <description>&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.1/Security/SetyourSSLversion"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.1/Security/SetyourSSLversion&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 08 Feb 2015 19:29:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/MQTT-Modular-Input-All-inputs-disabled/m-p/132631#M10942</guid>
      <dc:creator>Damien_Dallimor</dc:creator>
      <dc:date>2015-02-08T19:29:08Z</dc:date>
    </item>
    <item>
      <title>Re: MQTT Modular Input : All inputs disabled.</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/MQTT-Modular-Input-All-inputs-disabled/m-p/132632#M10943</link>
      <description>&lt;P&gt;This is what I have in&lt;CODE&gt;web.conf&lt;/CODE&gt;. Still the same error.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;# Allow only SSLv3 and above connections by default
sslVersions = ssl3, tls
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 09 Feb 2015 08:34:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/MQTT-Modular-Input-All-inputs-disabled/m-p/132632#M10943</guid>
      <dc:creator>nageshs</dc:creator>
      <dc:date>2015-02-09T08:34:01Z</dc:date>
    </item>
    <item>
      <title>Re: MQTT Modular Input : All inputs disabled.</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/MQTT-Modular-Input-All-inputs-disabled/m-p/132633#M10944</link>
      <description>&lt;P&gt;I don't know what to say....&lt;/P&gt;

&lt;P&gt;I have fresh Ubuntu-14.04 VM image, JAVA_HOME set to &lt;CODE&gt;/usr/lib/jvm/java-8-oracle&lt;/CODE&gt;, installed Splunk, installed MQTT input, set the additional JVM parameters to &lt;CODE&gt;splunk.securetransport.protocol=tls&lt;/CODE&gt;. But, I still see this error message.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;02-09-2015 15:19:30.709 +0530 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/mqtt_ta/bin/mqtt.py" Can't connect to Splunk REST API with the token [Splunk CqQga73SxlT6IrU
FaZBxGkKApir_1Yg4bYrY8QN0hchCOhddr1rANljEICVE4xLp0PCodzQAC3XPRC^J52^pRGNFezlSgBz8t8KKKtWgv7R652vjXQ^IzGxxgoC], either the token is invalid or SplunkD has exited : No appropriate protocol
 (protocol is disabled or cipher suites are inappropriate)
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 09 Feb 2015 10:03:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/MQTT-Modular-Input-All-inputs-disabled/m-p/132633#M10944</guid>
      <dc:creator>nageshs</dc:creator>
      <dc:date>2015-02-09T10:03:42Z</dc:date>
    </item>
    <item>
      <title>Re: MQTT Modular Input : All inputs disabled.</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/MQTT-Modular-Input-All-inputs-disabled/m-p/132634#M10945</link>
      <description>&lt;P&gt;check your SSL/TLS settings in server.conf&lt;/P&gt;

&lt;P&gt;also , what does your inputs.conf stanza for your MQTT setup currently look like ?&lt;/P&gt;</description>
      <pubDate>Mon, 09 Feb 2015 10:41:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/MQTT-Modular-Input-All-inputs-disabled/m-p/132634#M10945</guid>
      <dc:creator>Damien_Dallimor</dc:creator>
      <dc:date>2015-02-09T10:41:33Z</dc:date>
    </item>
    <item>
      <title>Re: MQTT Modular Input : All inputs disabled.</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/MQTT-Modular-Input-All-inputs-disabled/m-p/132635#M10946</link>
      <description>&lt;P&gt;&lt;CODE&gt;server.conf&lt;/CODE&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[sslConfig]
enableSplunkdSSL = true
useClientSSLCompression = true
useSplunkdClientSSLCompression = true 
# enableSplunkSearchSSL has been moved to web.conf,  and changed to enableSplunkWebSSL

#Allow only sslv3 and above connections to the HTTP server
sslVersions = *,-ssl2
sendStrictTransportSecurityHeader = false
allowSslCompression = true
allowSslRenegotiation = true

# For the HTTP server, Diable ciphers lower than 128-bit and disallow ciphers that
# don't provide authentication and/or encryption.
# Use 'openssl ciphers -v' to generate a list of supported ciphers
# Allow only TLSv1 cipher with 'high' encryption suits, i.e. whose key lengths are
# larger than or equal to 128 bits
cipherSuite = TLSv1+HIGH:@STRENGTH

sslKeysfile = server.pem
sslKeysfilePassword = password
caCertFile = cacert.pem
caPath = $SPLUNK_HOME/etc/auth
certCreateScript = $SPLUNK_HOME/bin/splunk, createssl, server-cert
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;CODE&gt;web.conf&lt;/CODE&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;# SSL certificate files. Paths are specified relative to SPLUNK_HOME
privKeyPath = etc/auth/splunkweb/privkey.pem
caCertPath = etc/auth/splunkweb/cert.pem

# Allow only SSLv3 and above connections by default
sslVersions = ssl3, tls
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 09 Feb 2015 13:41:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/MQTT-Modular-Input-All-inputs-disabled/m-p/132635#M10946</guid>
      <dc:creator>nageshs</dc:creator>
      <dc:date>2015-02-09T13:41:17Z</dc:date>
    </item>
    <item>
      <title>Re: MQTT Modular Input : All inputs disabled.</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/MQTT-Modular-Input-All-inputs-disabled/m-p/132636#M10947</link>
      <description>&lt;P&gt;The &lt;CODE&gt;inputs.conf&lt;/CODE&gt; does not have anything w.r.t MQTT; but, I did add a data input from the web page. I can see some entries in log for the same.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;02-09-2015 15:19:22.338 +0530 INFO  SpecFiles - Found external scheme definition for stanza "mqtt://" with 15 parameters: topic_name, broker_host, broker_port, use_ssl, username, passwor
d, client_id, qos, reliable_delivery_dir, clean_session, connection_timeout, keepalive_interval, message_handler_impl, message_handler_params, additional_jvm_propertys
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Few lines (from below) removed for brevity ...&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;02-09-2015 15:19:22.847 +0530 INFO  ModularInputs - Endpoint argument settings for "additional_jvm_propertys":
02-09-2015 15:19:22.847 +0530 INFO  ModularInputs - Endpoint argument settings for "broker_host":
02-09-2015 15:19:22.847 +0530 INFO  ModularInputs - Endpoint argument settings for "broker_port":
02-09-2015 15:19:22.847 +0530 INFO  ModularInputs - Endpoint argument settings for "clean_session":
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 09 Feb 2015 13:46:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/MQTT-Modular-Input-All-inputs-disabled/m-p/132636#M10947</guid>
      <dc:creator>nageshs</dc:creator>
      <dc:date>2015-02-09T13:46:20Z</dc:date>
    </item>
    <item>
      <title>Re: MQTT Modular Input : All inputs disabled.</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/MQTT-Modular-Input-All-inputs-disabled/m-p/132637#M10948</link>
      <description>&lt;P&gt;inputs.conf is where your MQTT stanza gets persisted to when you enter the values via the web interface.&lt;/P&gt;

&lt;P&gt;I need to see this If I am to verify your setup.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Feb 2015 13:52:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/MQTT-Modular-Input-All-inputs-disabled/m-p/132637#M10948</guid>
      <dc:creator>Damien_Dallimor</dc:creator>
      <dc:date>2015-02-09T13:52:31Z</dc:date>
    </item>
    <item>
      <title>Re: MQTT Modular Input : All inputs disabled.</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/MQTT-Modular-Input-All-inputs-disabled/m-p/132638#M10949</link>
      <description>&lt;P&gt;Since I don't know why the stanza wouldn't persist, can you show me how do the name-value pairs look like? I will edit directly into the file.&lt;/P&gt;

&lt;P&gt;BTW, I am logging with my user ID and starting the browser with admin user ID. I can see a user id with name as &lt;CODE&gt;splunk&lt;/CODE&gt; created; but, I am unable to start the server with this id (permissions problem).&lt;/P&gt;</description>
      <pubDate>Mon, 09 Feb 2015 14:26:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/MQTT-Modular-Input-All-inputs-disabled/m-p/132638#M10949</guid>
      <dc:creator>nageshs</dc:creator>
      <dc:date>2015-02-09T14:26:37Z</dc:date>
    </item>
    <item>
      <title>Re: MQTT Modular Input : All inputs disabled.</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/MQTT-Modular-Input-All-inputs-disabled/m-p/132639#M10950</link>
      <description>&lt;P&gt;You have not understood me.&lt;/P&gt;

&lt;P&gt;I want to see your inputs.conf MQTT stanza to verify that you setup MQTT correctly.&lt;/P&gt;

&lt;P&gt;If you don't know where to find the inputs.conf file , then try some command line searching :&lt;/P&gt;

&lt;P&gt;Change to your Splunk home directory , then :&lt;/P&gt;

&lt;P&gt;find . -name "inputs.conf" | xargs grep mqtt&lt;/P&gt;</description>
      <pubDate>Mon, 09 Feb 2015 15:31:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/MQTT-Modular-Input-All-inputs-disabled/m-p/132639#M10950</guid>
      <dc:creator>Damien_Dallimor</dc:creator>
      <dc:date>2015-02-09T15:31:37Z</dc:date>
    </item>
    <item>
      <title>Re: MQTT Modular Input : All inputs disabled.</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/MQTT-Modular-Input-All-inputs-disabled/m-p/132640#M10951</link>
      <description>&lt;P&gt;Thanks for the tip. Here is the result.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;champ@champ-vm:/opt/splunk$ sudo find . -name "inputs.conf" | sudo xargs grep mqtt
./etc/apps/launcher/local/inputs.conf:[mqtt://Local]
champ@champ-vm:/opt/splunk$ sudo more etc/apps/launcher/local/inputs.conf
[mqtt://Local]
additional_jvm_propertys = 'splunk.securetransport.protocol=tls'
broker_host = localhost
broker_port = 1883
clean_session = 0
qos = 0
sourcetype = csv
topic_name = readings/temperature
use_ssl = 0
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;BTW, I had tried the value of &lt;CODE&gt;additional_jvm_propertys&lt;/CODE&gt; as &lt;CODE&gt;splunk.securetransport.protocol=tls&lt;/CODE&gt; with and without quotes.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Feb 2015 16:36:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/MQTT-Modular-Input-All-inputs-disabled/m-p/132640#M10951</guid>
      <dc:creator>nageshs</dc:creator>
      <dc:date>2015-02-09T16:36:14Z</dc:date>
    </item>
  </channel>
</rss>

