Replies: 1 comment 1 reply
-
I fear that MySql is not supported by Fluent Bit. In fact when I launched the command "fluent-bit -H" to see all the available plugins I didn't see mysql, but I saw pgsql. Therefore I tried PostgreSql and it worked. The correct configuration is the following
"postgres" is the default user. "logs_db" is a database that must be created manually. Meanwhile the table "logs_tb" is created automatically. In the configuration we only have to indicate the name that it will be given, but we are not supposed to create it ourselves. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone, I want to use the "td-agent-bit" service to output logs into MySql. I have installed MySql and it runs on port 3306 (I left the default port). Then I created a database named "logs_db". Inside the "logs_db" database I created a table named "logs_tb" with a column "text" of type varachar(255). I configured the output section of my "td-agent-bit.conf" file like this.
Then I restarted the "td-agent-bit" service but it gives an error:
The "mysql" service run properly. So what is wrong?
Beta Was this translation helpful? Give feedback.
All reactions