Updated on 2024-11-11 GMT+08:00

Setting ICAgent Collection

On the ICAgent Collection tab page, you can disable or enable ICAgent collection (that is, specify whether ICAgent collects log data), syslog log collection to AOM, ICAgent diagnosis, and container standard output to AOM.

Setting Collection

  1. Log in to the LTS console.
  2. In the navigation pane, choose Configuration Center. Click the ICAgent Collection tab.
  3. Toggle the ICAgent Collection switch to control whether ICAgent collects logs.

    • ICAgent Collection is toggled on by default. If you do not need to collect logs, toggle it off to reduce resource usage.
    • After it is toggled off, ICAgent will stop collecting logs, and the log collection function on the AOM console will also be disabled.

  4. Toggle the Collect Syslog Logs to AOM switch to set whether ICAgent collects Syslogs to AOM 1.0. If it is toggled off, ICAgent does not collect Syslog logs to AOM 1.0. This function is only available with ICAgent 5.12.182 and later.
  5. Output to AOM: Select a CCE cluster and toggle on or off the Apply to Cluster switch for it. If it is toggled off, ICAgent does not collect the cluster stdout logs to AOM. This function is only available with ICAgent 5.12.133 and later. You are advised to collect container standard output to LTS instead of AOM. For details, see Ingesting CCE Application Logs to LTS.
  6. Toggle the ICAgent Diagnosis switch to enable or disable collection diagnosis. If it is toggled off, ICAgent run logs are reported to log group/stream lts-system/lts-icagent-statistics for monitoring ICAgent running status and exceptions in real time. This function is only available with ICAgent 5.12.196 and later.