[pmacct-discussion] Multiples nfacctd deamons writing to same Kafka topic

2020-04-12 Thread Emanuel dos Reis Rodrigues
Hello guys, I implemented nfacctd acting as a Netflow collector using pmacct. It is working perfectly and writing the flows to a Kafka topic which I have an application processing it. Following is my configuration: kafka_topic: netflow kafka_broker_host: Kafka-host kafka_broker_port: 9092 kafka_

Re: [pmacct-discussion] Multiples nfacctd deamons writing to same Kafka topic

2020-04-13 Thread Emanuel dos Reis Rodrigues
with a text explanation. > > Paolo > > On Sun, Apr 12, 2020 at 06:55:26PM -0400, Emanuel dos Reis Rodrigues wrote: > > Hello guys, > > > > I implemented nfacctd acting as a Netflow collector using pmacct. It is > > working perfectly and writing the flows to a

Re: [pmacct-discussion] Multiples nfacctd deamons writing to same Kafka topic

2020-04-14 Thread Emanuel dos Reis Rodrigues
d ID for the collector. The > simplest way of achieving that is 'post_tag' as you just have to supply > a number as ID; pre_tag_map expects a map and may be better to be > reserved for more complex use-cases. > > Paolo > > On Mon, Apr 13, 2020 at 03:35:52PM -0400, Emanuel

Re: [pmacct-discussion] Multiples nfacctd deamons writing to same Kafka topic

2020-04-14 Thread Emanuel dos Reis Rodrigues
miss anything ? Thanks ! On Tue, Apr 14, 2020 at 10:26 AM Paolo Lucente wrote: > > I may have skipped the important detail you need to add the 'tag' key to > your 'aggregate' line in the config, my bad. This is in addition to, say, > 'post_tag: 1'

Re: [pmacct-discussion] Multiples nfacctd deamons writing to same Kafka topic

2020-04-15 Thread Emanuel dos Reis Rodrigues
;tag": 1, [ .. ]} > > What version of the software are you using? Is it 1.7.4p1 (latest > stable) or master code from GitHub? If so, is it possible an old running > nfacctd process is reading the data instead of the newly configured one? > > Paolo > > On Wed, Ap

Re: [pmacct-discussion] Multiples nfacctd deamons writing to same Kafka topic

2020-04-15 Thread Emanuel dos Reis Rodrigues
Hey, I just realize it worked. I think I was little behind on the messages parking on my kafka, now I can see the tag. Thank you so much for your help. On Wed, Apr 15, 2020 at 10:33 AM Emanuel dos Reis Rodrigues < emanueldosr...@gmail.com> wrote: > I am using: > > NetFlow Ac

Re: [pmacct-discussion] Multiples nfacctd deamons writing to same Kafka topic

2020-04-19 Thread Emanuel dos Reis Rodrigues
ion, but to me the writer_id is what you > want. Change the name of the process in your configuration file. > > > > > > ‐‐‐ Original Message ‐‐‐ > On Wednesday, April 15, 2020 7:33 PM, Emanuel dos Reis Rodrigues < > emanueldosr...@gmail.com> wrote: > >

Re: [pmacct-discussion] Multiples nfacctd deamons writing to same Kafka topic

2020-04-22 Thread Emanuel dos Reis Rodrigues
nks ! > > Best Regards, > Emanuel > > > On Sun, Apr 19, 2020 at 11:42 AM Brian Solar wrote: > >> You already seem to have a solution, but to me the writer_id is what you >> want. Change the name of the process in your configuration file. >> >> >>