Install Log Agent on Docker

Before installing the agent on the operating systems we support below, you need to download the certificate according to the instructions at Initialize Certificate . Information on setting up the agent is in the readme file, and the instruction scripts are also in the downloaded certificate file. Use this information with the instructions below to complete Agent for Log setup.

Setting

FilebeatLogstash

  • Download images

Copy


  • Download the certificate to get user authentication information

  • If using the prepared script in the download folder, run the command:

    • In the setup example below, we will mount /var/log/app.logan agent installed using docker to push logs to the system

Copy

The configuration files below have been prepared by us in the script when downloading the certificate. The description below helps readers imagine what it would be like if we created a manual.

Configuration

  • Filedocker-compose.yml

Copy

  • File filebeat.yml. The configuration below will retrieve all logs written to file /var/log/app.logfor vMonitor Platform:

Copy

  • Note: the $ variables BOOTSTRAP_SERVERS, $TOPICabove are already in container.envthe file in the downloaded certificate folder.

Copy

Copy

Copy

Copy

Copy

Copy


Administration

FilebeatLogstash

  • Stop

Copy

  • Reload

Copy

  • Restart

Copy

  • Observe

Copy

  • Uninstall

Copy

Copy

Copy

Copy

Copy

Copy

Copy

Copy

Copy

Copy

Copy

Copy

Copy

Copy

Copy

Copy


Before performing agent installation on the operating systems we support below, you need to Initialize Certificate . The setup agent instructions are in the readme file, the script instructions are also in the downloaded certificate file. Use this information with the instructions below to complete Agent for Log setup.

Last updated