Title
#general
Alex Woolford

Alex Woolford

10/15/2019, 12:08 AM
Are you there, @zwass?
zwass

zwass

10/15/2019, 12:10 AM
Hello
Alex Woolford

Alex Woolford

10/15/2019, 12:10 AM
Heya. đŸ˜„
12:10 AM
Want to Zoom?
zwass

zwass

10/15/2019, 12:11 AM
No let's please text chat. Can you answer my questions from stackoverflow?
Alex Woolford

Alex Woolford

10/15/2019, 12:12 AM
OK. Sure. The data is actually getting to Kafka, just to the wrong topic.
12:12 AM
I changed the conf a bit:
12:12 AM
{
  "options": {
    "logger_kafka_brokers": "<http://cp01.woolford.io:9092,cp02.woolford.io:9092,cp03.woolford.io:9092|cp01.woolford.io:9092,cp02.woolford.io:9092,cp03.woolford.io:9092>",
    "logger_kafka_topic": "base_topic",
    "logger_kafka_acks": "1"
  },
  "schedule": {
    "process_port": {
      "query": "select u.username, p.pid, p.name, pos.local_address, pos.local_port, pos.remote_address, pos.remote_port from processes p join users u on u.uid = p.uid join process_open_sockets pos on pos.pid=p.pid where pos.remote_port != '0'",
      "interval": 10,
      "snapshot": false,
      "removed": true
    }
  },
  "kafka_topics": {
    "process-port": [
      "schedule-process_port"
    ]
  }
}
12:13 AM
So, I can confirm that the Kafka bit works.
12:14 AM
And I was getting results when the query was in snapshot mode using the config that’s on Stackoverflow.
4:48 PM
I think it’s a bug. @zwass:

https://youtu.be/sPdlBBKgJmYâ–¾

zwass

zwass

10/15/2019, 5:03 PM
Can you file a bug on Github please?
Alex Woolford

Alex Woolford

10/15/2019, 5:20 PM
Will do.