Agents no longer ingesting a configured log file after moving the log file directory
search cancel

Agents no longer ingesting a configured log file after moving the log file directory

book

Article ID: 391419

calendar_today

Updated On:

Products

VCF Operations/Automation (formerly VMware Aria Suite)

Issue/Introduction

  • the logs were going to a new folder within the configured location directory

  • the agent is configured to monitor the directory with a wildcard
    • Examples:
      directory=D:\Logs\new_test_logs\*
      directory=/var/log/new_test_logs/*

  • the new folder contains subfolders

Environment

VMware Aria Operations for Logs 8.x

Cause

Sub-directories require additional wildcards in the agent configuration

Resolution

If your sub-directories have their own sub-directories, use the following configuration to monitor all sub-directories

  • directory=D:\Logs\new_test_logs\*\*
  • directory=/var/log/new_test_logs/*/*

Additional Information