Create multi topics in the LES source table

  • Release version: Xanadu
  • Updated August 1, 2024
  • 1 minute to read
  • Consume messages for each source type independently by creating a unique topic per source type.

    Before you begin

    Role required: admin

    Procedure

    1. Add the sn_logstoanalytics.kafka.multi_topics system property and set it to True.
      It is set to False by default.
    2. 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.

    3. 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).