Consume messages for each source type independently by creating a unique topic per source type.
Before you begin
Role required: admin
Procedure
-
Add the sn_logstoanalytics.kafka.multi_topics system property and set it to True.
It is set to False by default.
-
Create a new source record.
Note: When you create a new source type, a unique topic is created for it.
The topic names have the suffix as the source type. For example, sn_logstoanalytics.node_log has the node_log as the source type.
- Optional:
Create another topic for a different source as in the previous steps.
Note: If the sn_logstoanalytics.kafka.multi_topics is set to False, the ability to create multi topics in the source table is disabled.
Note: This feature is not compatible with the MID server consumer (LES v2). You must use your own consumer (LES v1).