The Advanced section is where users can tailor their log tracking infrastructure. The Middleware Host Agent will search for changes in your account configuration and automatically update the configuration YAML file and reload itself.

Fine-tune your log collection process by selecting your preferred hosts for tracking infrastructure file-based logs, Middleware Agent Logs, and specify custom directory paths for monitoring your log collection.

This feature is not available in the Docker Agent since Docker does not allow dynamic volume bindings.

Infrastructure File-Based Logs

Quickly enable OR disable the Middleware Agent from monitoring file-based logs for collection. Infrastructure filed-based logs are collected by default.

To disable the collection of file-based logs, navigate to Settings, select Advanced, and press the Infrastructure File-based Logs radio button.

Middleware Agent Logs

Quickly enable or disable Middleware Agent log collection. Middleware Agent pod-logs are generated by the Middleware Agent.

Middleware Agent Log Paths

You can dynamically select the log files you want to monitor. Add directory paths in the Middleware Agent Log Paths section.

Below is the accepted regex pattern:

'^(\\/(?:[\\w_\\-^* ]+\\/)*(?:[\\w_\\-*]+(?:\\**\\/)?)?[\\w_\\-.]+[^.]$)'

The follwing are examples of available paths:

Asterisks (**) can represent any number of directories.

/home/ubuntu/abc.log

/home/ubuntu/*.log

/home/ubuntu/**/*.log 

Metrics Ingestion

By default, MW Agent metrics are automatically ingested. To disable this feature, press the radio button and click Restart Agent.

Traces Ingestion

By default, MW Agent traces are automatically ingested. To disable this feature, press the radio button and click Restart Agent.

Need assistance or want to learn more about Middleware? Contact us at support[at]middleware.io.