I tried, follow my config:
kafka_topic: netflow
kafka_broker_host: 192.168100.105
kafka_broker_port: 9092
kafka_refresh_time: 1
#daemonize: true
plugins: kafka
nfacctd_port: 9995
post_tag: 1
aggregate: tag, peer_src_ip, src_host, dst_host, timestamp_start,
timestamp_end, src_port, dst_port, proto
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' to identify collector 1. Let me know how it goes.
Paolo
On Tue, Apr 14, 2020 at 10:18:55AM -0400, Emanuel dos Reis Rodrigues wrote:
>
Thank you man, I did this test but I did not see the id being pushed along
with the Netflow info to Kafka topic. Is there the place the information
would show up ?
On Tue, Apr 14, 2020 at 9:15 AM Paolo Lucente wrote:
>
> Hi Emanuel,
>
> Apologies i did not get you wanted and ID for the
Hi,
I see. I am sorry to confirm that, yes, the feature is not there right
now. It's not a biggie but still it would require a bit of work in order
to converge. I can gladly put on my todo list but it may take a few
weeks to get it out; or if you could perform a small fun C coding work
on you
Hi Emanuel,
Apologies i did not get you wanted and 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