Install Log Agent on Docker
Last updated
Last updated
Before installing the agent on the operating systems we support below, you need to download the certificate according to the instructions at . 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
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.log
an 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
File filebeat.yml
. The configuration below will retrieve all logs written to file /var/log/app.log
for vMonitor Platform:
Note: the $ variables BOOTSTRAP_SERVERS, $TOPIC
above are already in container.env
the file in the downloaded certificate folder.
Copy
Copy
Copy
Copy
Administration
FilebeatLogstash
Stop
Reload
Restart
Observe
Uninstall
Copy
Copy
Copy
Copy
Copy
Copy
Copy
Copy
Copy
Copy
Before performing agent installation on the operating systems we support below, you need to . 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.
Copy
Copy
Copy
Copy
Copy
Copy
Copy