Creating a new log harvesting profile

Last Updated : Dec 21, 2020 |

About this task

To harvest log files for products running on different servers, you must specify multiple filter criteria.

Before you begin

To create a new log harvesting profile, you must specify:

  • The hostname of the server on which the product is running.

    If you do not see the hostname of CS 1000 when you create the profile, at the command prompt of CS 1000, run the following command:

    cd /opt/nortel/oam-logging
    ./configureSpiritAgentClient.sh <enrollment password>
    

    The system now enrolls CS 1000 to the log harvester of System Manager.

  • The product name

  • The directories or the log files

  • The filter text if you select one or more directories

Note:

By default, harvesting is enabled for System Manager. All other products should always integrate and install their log harvesting extension packs during System Manager installation. After integration, they directly get their product type and files in System Manager in the drop down list on the Log Harvesting page.

Procedure

  1. On the System Manager web console, click Services > Events > Logs > Log Harvester.
  2. On the Log Harvester page, click New.
  3. On the Create New Profile page, do the following:
    1. In Profile Name, type the profile name.
    2. In Profile Description, type a description of the profile.
  4. Select the hostname of the server, product, and directories or files from the respective fields.
    • To select multiple directories or files from the respective list boxes, press CTRL and click the directories or files.

    • To clear a selection, press CTRL and click the item.

    • To add another log harvesting request for a different product, or another instance of the same product running on the same server or a different server, click plus (+).

  5. Optional If you select one or more directories, in the File Name Filter field, type a text pattern as the filter criteria.

    During the harvesting operation, the system harvests those files that match the filter criteria.

  6. Click Save Profile to save the profile and the log harvesting requests in the profile.