<?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: Kafka Messaging Modular Input: Kafka consumer is apparently connected, but how do we troubleshoot why we see no data? in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Kafka-Messaging-Modular-Input-Kafka-consumer-is-apparently/m-p/196860#M20407</link>
    <description>&lt;P&gt;When we setup the kafka_ta, we installed it on the indexers and on the search heads. Then, from the UI, we added an input and put our brokers into the zookeeper hosts, gave it a group id, and put in the topic name. We never had to involve the forwarders. This sound crazy?&lt;/P&gt;</description>
    <pubDate>Thu, 10 Sep 2015 12:41:33 GMT</pubDate>
    <dc:creator>jaredlaney</dc:creator>
    <dc:date>2015-09-10T12:41:33Z</dc:date>
    <item>
      <title>Kafka Messaging Modular Input: Kafka consumer is apparently connected, but how do we troubleshoot why we see no data?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Kafka-Messaging-Modular-Input-Kafka-consumer-is-apparently/m-p/196854#M20401</link>
      <description>&lt;P&gt;We have followed the troubleshooting steps, but are still not able to get this input working:&lt;/P&gt;

&lt;P&gt;1) JAVA_HOME is set and java is in the path (for openJDK)&lt;BR /&gt;
2) Splunk 6.2.3&lt;BR /&gt;
3) Java OpenJDK, 1.7.0_85&lt;BR /&gt;
4) Kafka version 0.8.1.1.&lt;BR /&gt;
5) on linux&lt;BR /&gt;
6) the only errors in splunkd.log are the SLF4J errors shown below&lt;BR /&gt;
7) Running the command line invocation for the scheme doesn't show any errors, just prints out what the arguments are and their descriptions. &lt;/P&gt;

&lt;P&gt;Additional troubleshooting performed:&lt;BR /&gt;
On both the splunk forwarder host and the host running Kafka, we used &lt;CODE&gt;netstat -anp&lt;/CODE&gt; to verify that that the Java process on splunk was connected to kafka, and we could see an ESTABLISHED socket.   &lt;/P&gt;

&lt;P&gt;Otherwise, all we see in splunkd.log is shown below.  Is there a way to enable DEBUG or further troubleshooting information for the Java process/kafka consumer?&lt;/P&gt;

&lt;P&gt;Log messages:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;08-28-2015 17:26:12.618 +0000 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/kafka_ta/bin/kafka.py" SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
08-28-2015 17:26:12.618 +0000 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/kafka_ta/bin/kafka.py" SLF4J: Defaulting to no-operation (NOP) logger implementation
08-28-2015 17:26:12.618 +0000 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/kafka_ta/bin/kafka.py" SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
08-28-2015 17:26:11.298 +0000 INFO  ExecProcessor -     interval: run once
08-28-2015 17:26:11.298 +0000 INFO  ExecProcessor - New scheduled exec process: python /opt/splunk/etc/apps/kafka_ta/bin/kafka.py
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 29 Sep 2020 07:08:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Kafka-Messaging-Modular-Input-Kafka-consumer-is-apparently/m-p/196854#M20401</guid>
      <dc:creator>jnicholsenernoc</dc:creator>
      <dc:date>2020-09-29T07:08:36Z</dc:date>
    </item>
    <item>
      <title>Re: Kafka Messaging Modular Input: Kafka consumer is apparently connected, but how do we troubleshoot why we see no data?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Kafka-Messaging-Modular-Input-Kafka-consumer-is-apparently/m-p/196855#M20402</link>
      <description>&lt;P&gt;Can you post your full inputs.conf stanza for your kafka setup ?&lt;/P&gt;</description>
      <pubDate>Sat, 29 Aug 2015 11:12:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Kafka-Messaging-Modular-Input-Kafka-consumer-is-apparently/m-p/196855#M20402</guid>
      <dc:creator>Damien_Dallimor</dc:creator>
      <dc:date>2015-08-29T11:12:34Z</dc:date>
    </item>
    <item>
      <title>Re: Kafka Messaging Modular Input: Kafka consumer is apparently connected, but how do we troubleshoot why we see no data?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Kafka-Messaging-Modular-Input-Kafka-consumer-is-apparently/m-p/196856#M20403</link>
      <description>&lt;P&gt;[kafka://logging_spark_bdap_dev]&lt;BR /&gt;
group_id = splunk_dev&lt;BR /&gt;
index = main&lt;BR /&gt;
sourcetype = kafka&lt;BR /&gt;
topic_name = logging_spark_bdap_dev&lt;BR /&gt;
zookeeper_connect_chroot = kafka-development&lt;BR /&gt;
zookeeper_connect_host = zookeeper-1.x.x.x&lt;BR /&gt;
zookeeper_connect_port = 2181&lt;BR /&gt;
zookeeper_session_timeout_ms = 5000&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 07:08:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Kafka-Messaging-Modular-Input-Kafka-consumer-is-apparently/m-p/196856#M20403</guid>
      <dc:creator>jnicholsenernoc</dc:creator>
      <dc:date>2020-09-29T07:08:50Z</dc:date>
    </item>
    <item>
      <title>Re: Kafka Messaging Modular Input: Kafka consumer is apparently connected, but how do we troubleshoot why we see no data?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Kafka-Messaging-Modular-Input-Kafka-consumer-is-apparently/m-p/196857#M20404</link>
      <description>&lt;P&gt;Any ideas on how to troubleshoot this further?  I tried the setup from the start with new installation, still seems to be connected but not actually reading data.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Sep 2015 13:56:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Kafka-Messaging-Modular-Input-Kafka-consumer-is-apparently/m-p/196857#M20404</guid>
      <dc:creator>jnicholsenernoc</dc:creator>
      <dc:date>2015-09-09T13:56:07Z</dc:date>
    </item>
    <item>
      <title>Re: Kafka Messaging Modular Input: Kafka consumer is apparently connected, but how do we troubleshoot why we see no data?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Kafka-Messaging-Modular-Input-Kafka-consumer-is-apparently/m-p/196858#M20405</link>
      <description>&lt;P&gt;how are you searching in Splunk ? is your time span correct for example ?&lt;/P&gt;

&lt;P&gt;Can you see the messages on the wire ? ie: using wireshark&lt;/P&gt;</description>
      <pubDate>Thu, 10 Sep 2015 10:32:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Kafka-Messaging-Modular-Input-Kafka-consumer-is-apparently/m-p/196858#M20405</guid>
      <dc:creator>Damien_Dallimor</dc:creator>
      <dc:date>2015-09-10T10:32:18Z</dc:date>
    </item>
    <item>
      <title>Re: Kafka Messaging Modular Input: Kafka consumer is apparently connected, but how do we troubleshoot why we see no data?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Kafka-Messaging-Modular-Input-Kafka-consumer-is-apparently/m-p/196859#M20406</link>
      <description>&lt;P&gt;@jnicholsenernoc - When we setup the kafka_ta, we installed it on the indexers and on the search heads.  Then, from the UI, we added an input and put our brokers into the zookeeper hosts, gave it a group id, and put in the topic name.  We never had to involve the forwarders.  This sound crazy?&lt;/P&gt;</description>
      <pubDate>Thu, 10 Sep 2015 12:40:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Kafka-Messaging-Modular-Input-Kafka-consumer-is-apparently/m-p/196859#M20406</guid>
      <dc:creator>jaredlaney</dc:creator>
      <dc:date>2015-09-10T12:40:31Z</dc:date>
    </item>
    <item>
      <title>Re: Kafka Messaging Modular Input: Kafka consumer is apparently connected, but how do we troubleshoot why we see no data?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Kafka-Messaging-Modular-Input-Kafka-consumer-is-apparently/m-p/196860#M20407</link>
      <description>&lt;P&gt;When we setup the kafka_ta, we installed it on the indexers and on the search heads. Then, from the UI, we added an input and put our brokers into the zookeeper hosts, gave it a group id, and put in the topic name. We never had to involve the forwarders. This sound crazy?&lt;/P&gt;</description>
      <pubDate>Thu, 10 Sep 2015 12:41:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Kafka-Messaging-Modular-Input-Kafka-consumer-is-apparently/m-p/196860#M20407</guid>
      <dc:creator>jaredlaney</dc:creator>
      <dc:date>2015-09-10T12:41:33Z</dc:date>
    </item>
    <item>
      <title>Re: Kafka Messaging Modular Input: Kafka consumer is apparently connected, but how do we troubleshoot why we see no data?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Kafka-Messaging-Modular-Input-Kafka-consumer-is-apparently/m-p/196861#M20408</link>
      <description>&lt;P&gt;For the search in splunk, it is filtering by the sourcetype=kafka and search all time for it in the index (currently sending it to main).&lt;/P&gt;

&lt;P&gt;We haven't tried to wireshark it to see if it is passing any data.  We can see that it is connected at the network socket level but can try to do this.  &lt;/P&gt;

&lt;P&gt;Is there a way to set the JAVA process to log more DEBUG information?&lt;/P&gt;</description>
      <pubDate>Thu, 10 Sep 2015 13:16:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Kafka-Messaging-Modular-Input-Kafka-consumer-is-apparently/m-p/196861#M20408</guid>
      <dc:creator>jnicholsenernoc</dc:creator>
      <dc:date>2015-09-10T13:16:26Z</dc:date>
    </item>
    <item>
      <title>Re: Kafka Messaging Modular Input: Kafka consumer is apparently connected, but how do we troubleshoot why we see no data?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Kafka-Messaging-Modular-Input-Kafka-consumer-is-apparently/m-p/196862#M20409</link>
      <description>&lt;P&gt;No, not crazy.  We did however try to install it directly on a search head and that didn't seem to work either.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Sep 2015 13:17:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Kafka-Messaging-Modular-Input-Kafka-consumer-is-apparently/m-p/196862#M20409</guid>
      <dc:creator>jnicholsenernoc</dc:creator>
      <dc:date>2015-09-10T13:17:11Z</dc:date>
    </item>
    <item>
      <title>Re: Kafka Messaging Modular Input: Kafka consumer is apparently connected, but how do we troubleshoot why we see no data?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Kafka-Messaging-Modular-Input-Kafka-consumer-is-apparently/m-p/196863#M20410</link>
      <description>&lt;P&gt;In a distributed Splunk architecture you should only install the kafka modular input on a forwarder or indexer. Not on a search head.&lt;BR /&gt;
You then configure your stanza by manually editing the inputs.conf file.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Sep 2015 13:34:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Kafka-Messaging-Modular-Input-Kafka-consumer-is-apparently/m-p/196863#M20410</guid>
      <dc:creator>Damien_Dallimor</dc:creator>
      <dc:date>2015-09-10T13:34:19Z</dc:date>
    </item>
    <item>
      <title>Re: Kafka Messaging Modular Input: Kafka consumer is apparently connected, but how do we troubleshoot why we see no data?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Kafka-Messaging-Modular-Input-Kafka-consumer-is-apparently/m-p/196864#M20411</link>
      <description>&lt;P&gt;@jnicholsenernoc did you ever resolve this issue? We are facing a similar thing... &lt;A href="https://answers.splunk.com/answers/323066/kafka-messaging-modular-input-messages-are-consume.html"&gt;https://answers.splunk.com/answers/323066/kafka-messaging-modular-input-messages-are-consume.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Nov 2015 09:14:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Kafka-Messaging-Modular-Input-Kafka-consumer-is-apparently/m-p/196864#M20411</guid>
      <dc:creator>petehmrc</dc:creator>
      <dc:date>2015-11-03T09:14:21Z</dc:date>
    </item>
  </channel>
</rss>

