Updated at December 28, 2023 03:13 PM
Managing the logging agentBeta
- Connect to the virtual machine.
- Make sure that you have the
vkcloudlogs-fluent-bit-plugin
installed.
-
To enable the agent, run the command:
Linuxsudo systemctl enable vkcloudlogs-fluent-bit.service
sudo systemctl start vkcloudlogs-fluent-bit.service
-
To disable the agent, run the command:
Linuxsudo systemctl stop vkcloudlogs-fluent-bit.service
sudo systemctl disable vkcloudlogs-fluent-bit.service
-
Connect to the virtual machine.
-
Make sure that you have the
vkcloudlogs-fluent-bit-plugin
installed. -
Adjust the
vkcloudlogs-fluent-bit.conf
file as needed:- in the
[INPUT]
section, specify the path to the file in thePath
parameter and the tag in theTag
parameter; - in the
[OUTPUT]
section, specify the set tag so that the records get into the logs.
- in the
-
Restart the agent:
Linuxsudo systemctl restart vkcloudlogs-fluent-bit.service