{"action":"created","issue":{"url":"https://api.github.com/repos/influxdb/telegraf/issues/257","labels_url":"https://api.github.com/repos/influxdb/telegraf/issues/257/labels{/name}","comments_url":"https://api.github.com/repos/influxdb/telegraf/issues/257/comments","events_url":"https://api.github.com/repos/influxdb/telegraf/issues/257/events","html_url":"https://github.com/influxdb/telegraf/issues/257","id":110965345,"number":257,"title":"Issue on kafka_consumer plugin","user":{"login":"pugna0","id":6086536,"avatar_url":"https://avatars.githubusercontent.com/u/6086536?v=3","gravatar_id":"","url":"https://api.github.com/users/pugna0","html_url":"https://github.com/pugna0","followers_url":"https://api.github.com/users/pugna0/followers","following_url":"https://api.github.com/users/pugna0/following{/other_user}","gists_url":"https://api.github.com/users/pugna0/gists{/gist_id}","starred_url":"https://api.github.com/users/pugna0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pugna0/subscriptions","organizations_url":"https://api.github.com/users/pugna0/orgs","repos_url":"https://api.github.com/users/pugna0/repos","events_url":"https://api.github.com/users/pugna0/events{/privacy}","received_events_url":"https://api.github.com/users/pugna0/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-10-12T12:32:58Z","updated_at":"2015-10-13T01:49:36Z","closed_at":"2015-10-12T18:15:03Z","body":"Hi bro,\r\nI clone this project from master on Ubuntu14.04.\r\nI just put kafka plugin in the config file, and output it to influxdb.\r\nIt works well but the result is consits of \"kafka_\" and the data in the topic , like:\r\ncpu_time_guest  (source data )\r\nkafka_cpu_time_guest (generated by telegraf)\r\n\r\nand I write \"aaa\" into kafka , then using telegraf with that topic, this log information clearly indicate that telegraf is analyzing \"aaa\".\r\n2015/10/12 17:54:53 Error in plugin [kafka] : unable to parse 'aaa': missing fields\r\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\nAnother problem is that telegraf just gather once in kafka, log informations as follows: \r\n2015/10/12 17:08:41 Cranking default (10s) interval, gathered 2900 metrics from 1 plugins in 1.302290095s\r\n2015/10/12 17:08:50 Cranking default (10s) interval, gathered 0 metrics from 1 plugins in 1.075610727s\r\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\nThe final result I want is the status of kafka_consumer as \"redis plugin\" .\r\n"},"comment":{"url":"https://api.github.com/repos/influxdb/telegraf/issues/comments/147571369","html_url":"https://github.com/influxdb/telegraf/issues/257#issuecomment-147571369","issue_url":"https://api.github.com/repos/influxdb/telegraf/issues/257","id":147571369,"user":{"login":"sparrc","id":7155926,"avatar_url":"https://avatars.githubusercontent.com/u/7155926?v=3","gravatar_id":"","url":"https://api.github.com/users/sparrc","html_url":"https://github.com/sparrc","followers_url":"https://api.github.com/users/sparrc/followers","following_url":"https://api.github.com/users/sparrc/following{/other_user}","gists_url":"https://api.github.com/users/sparrc/gists{/gist_id}","starred_url":"https://api.github.com/users/sparrc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sparrc/subscriptions","organizations_url":"https://api.github.com/users/sparrc/orgs","repos_url":"https://api.github.com/users/sparrc/repos","events_url":"https://api.github.com/users/sparrc/events{/privacy}","received_events_url":"https://api.github.com/users/sparrc/received_events","type":"User","site_admin":false},"created_at":"2015-10-13T01:49:36Z","updated_at":"2015-10-13T01:49:36Z","body":"that is why it's called a `kafka_consumer`, it consumes kafka data. I suppose a statistics-gathering plugin would just be called `kafka`\r\n\r\nThis should be spelled out in a README, see #177 "}}