You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In json-kafka output plugin there is no option to determine multiple Kafka topics in order to load balance messages into topics or separate specific IPFIX message categories into specific Kafka topics. For example, I like to produce IPFIX start-session messages to the topic ipfix-start, session-update to the topic ipfix-update, and so on. This feature is very useful when your IPFIX consumers need a subset of message types and can subscribe to the topics that they need.
To do this We could determine some pair of Pattern regex and Kafka topic, which means if the regex is matched then produce the message to the topic.
In the patternTopic scope, the regex, topic, and partition fields are defined. The first pattern says that if the received IPFIX message contains message-type:1 then produce it to the topic ipfix-1 and the second pattern says that if the received IPFIX message matches with regex TCP.{5}8080 then produce it to the topic ipfix-2.
Note: The following patternTopic result is the same as the current config file description.
In json-kafka output plugin there is no option to determine multiple Kafka topics in order to load balance messages into topics or separate specific IPFIX message categories into specific Kafka topics. For example, I like to produce IPFIX
start-session
messages to the topicipfix-start
,session-update
to the topicipfix-update
, and so on. This feature is very useful when your IPFIX consumers need a subset of message types and can subscribe to the topics that they need.To do this We could determine some pair of Pattern regex and Kafka topic, which means if the regex is matched then produce the message to the topic.
Consider the following json-kafka config file:
In the
patternTopic
scope, theregex
,topic
, andpartition
fields are defined. The first pattern says that if the received IPFIX message containsmessage-type:1
then produce it to the topicipfix-1
and the second pattern says that if the received IPFIX message matches with regexTCP.{5}8080
then produce it to the topicipfix-2
.Note: The following
patternTopic
result is the same as the current config file description.Note: Every user could specify his own pattern regexes according to his own IPFIX templates.
The text was updated successfully, but these errors were encountered: