Windows
Last updated
Last updated
Address
VNG CorporationBefore installing the agent on the operating systems we support below, you need to download the certificate according to the instructions at Initialize Certificate . The download file will contain the certificates used to authenticate with the vMonitor Logs system. 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:
Filebeat
Unzip the downloaded filebeat folder
Copy the files user.cer.pem, user.key.pem, VNG.trust.pem from the certificate folder to the extracted filebeat folder. Let's say below we have extracted filebeat into a folderC:\filebeat-8.7.1-windows-x86_64
Manually run the command below with PowerShell
In which: In the filebeat.yml file, we have set up the example in the download certificate folder as below to push the content of file C:\agent.log to the system.
In there:
At input
the path to the log file
At output
, the variables you need to fill in are taken from the certificate download step above:
$BOOTSTRAP_SERVERS, $TOPIC
taken from file info.md
$PATH_FILE_VNG_TRUST_PEM,$PATH_FILE_USER_CER_PEM,$PATH_FILE_USER_KEY_PEM
is the path to the file VNG.trust.pem user.cer.pem user.key.pem
Install a service that runs in the background:
On powershell when entering the filebeat path
We recommend that you try running it manually first to identify the problem if there is any.
Copy
Copy
Copy
Copy
Copy
Copy