Defining classifier log settings

When viewing incidents on the Incident page, the topology can be viewed on the Overview tab, but is not available on the Topology tab.

About this task

Top alerts are displayed on the Overview tab, while more detailed information is used to render the information on the Topology tab.

To display the topology for an incident on the Topology tab, it uses the classifier for event classification for probable cause calculation. If these are not being recorded due to the level of log settings, the information is unavailable and the topology is not displayed. You must set additional properties to control the classifier logging.

You add (or edit) the following properties for the classifier deployment in both AI Manager and Event Manager

Note: Only the LOGGING_LEVEL property exists with a default setting of INFO. You must add the other settings to the classifier deployment manually.

  • 0 = no logging set
  • 10 = debug
  • 20 = information
  • 30 = warning
  • 40 = error
  • 50 = critical

Changing classifier log settings

  1. Change the settings for the following log levels.

    a. For kafka:

     `KAFKA_LOGGING_LEVEL` = ???
    

    b. For file and console for other mime utils file:

     `LOGGING_LEVEL` = ???
    
  2. Change the settings to define rotation and backup settings for the log files.

    a. For file rotation:

     `DEFAULT_LOGGING_FILE_SIZE` = ???
    

    b. For the number of history backups:

     `DEFAULT_LOGGING_FILE_BK_COUNT` = ??? 
    

    c. For the output format to console:

     `%(asctime)s.%(msecs)03d %(levelname)s %(module)s - %(funcName)s: %(message)s`