How does the Agent Log Cleaner Agent work?
The Agent Log Cleaner Agent removes agent task log entries that are older than the number of days specified in the Oldest Log Age for every task. This agent also removes agent task log entries that are older than the value determined by the 'safe' log entry threshold for tasks that start and end without any activities and are essentially empty. This article describes how to use the Agent Log Cleaner Agent.
1. Click Agents
2. Click Agent Log Cleaner
- Click Agent Log Cleaner.
3. Click Trim Agent Log
- Click the Trim Agent Log hyperlink.
4. Click Edit
- Click Edit.
5. Edit Agent Task Details
- Edit agent task details.
- Click Submit.
Agent Task: The name of the task.
Is Active: Specifies whether the task is enabled.
Interval: Specifies how often the task runs.
Oldest Log Age: Specifies how long to retain agent task log entries.
First Run Time: Specifies the task's first run time.
Next Run Time: Specifies the task's next scheduled run time.
Expiration Date: Specifies when the task expires (if at all).
Parameters: Options specific to each agent task.
- Safe' log entry threshold: The number entered here will determine the safe period for agent task log entries. Log entries for agent tasks that start and end without any activities will be removed if they are older than the 'Safe' log entry threshold. This number is not explicitly specified in days because the agent log trimmer calculates dates based on the threshold number AND the frequency of a particular task. For example, if 7 is set as the 'Safe' log entry threshold, and 1440 minutes is the interval for a task, the Trim Agent Log will delete empty entries that are older than 7 days (1440 minutes x 7). Whereas, if the interval for an agent task is set to 15 minutes, the Trim Agent Log will delete log entries that are older than 105 minutes (15 minutes x 7).
6. View Agent Task
- View agent task.