CentOS

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

Determine the type of agent you want to install and follow that agent's instructions below:

FilebeatLogstash

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

  • If installing manually, run the command

Next you need to configure agent log. 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

Filebeat

  • File /etc/filebeat/filebeat.yml. The configuration below will retrieve all logs in the file /var/log/app.logand push them to vMonitor Platform:

  • In which In input the path to the log file

    In output , the variables you need to fill in are taken from the certificate loading step above:

    • $PATH_FILE_VNG_TRUST_PEM, $PATH_FILE_USER_CER_PEM, $PATH_FILE_USER_KEY_PEMis the path to the file VNG.trust.pem user.cer.pem user.key.pem


Administration

Filebeat

  • Start

  • Enable

  • Stop

  • Reload

  • Restart

  • Observe

  • Uninstall

Last updated