Edgio / vflow

Enterprise Network Flow Collector (IPFIX, sFlow, Netflow)
http://www.verizonmedia.com
Apache License 2.0
1.09k stars 223 forks source link

Can't connecting to nsqd #195

Open YuqiangChi opened 7 months ago

YuqiangChi commented 7 months ago

I deployed vFlow on Kubernetes for NetFlow traffic monitoring, but the vFlow pod logs indicate it cannot connect to NSQ due to the absence of the mq.conf file. Upon checking the vFlow ConfigMap, I found that /etc/vflow contains only vflow.conf and lacks mq.conf. How can I resolve this issue?

vpease commented 7 months ago

You can check the documentation here. https://github.com/Edgio/vflow/blob/master/docs/config.md

Here you have a example of mq.conf for Kafka

brokers:

For Nsq is more simpler, it seems that you just need to set the server url

Finally, put the file in the same folder as vflow.conf and in the vflow.conf set the mq-name to nsq