We support any agent that can send logs in the json format. It could be CNCF graduates, i.e. FluentD / FluentBit or other popular ones, like Logstash.
For the simplicity sake we will use FluentBit as simple, yet powerful and performant agent. For other OS and agents, please follow the steps on the onboarding screen in Logs.
You can find all the necessary steps and details here: https://docs.fluentbit.io/manual/installation/linux
We will be following the Ubuntu 20.04 installation steps.
wget -qO - <https://packages.fluentbit.io/fluentbit.key> | sudo apt-key add -
deb <https://packages.fluentbit.io/ubuntu/focal> focal main
sudo apt-get update
td-agent-bit
sudo apt-get install td-agent-bit
FluentBit config consists of 4 parts: