fluent-bit-script.lua:42: attempt to perform arithmetic on global 'id1' (a nil value) #9997
-
Hello,
and the second one: docker-compose.mysql.yaml, it is for mysql, mysql-exporter, otel-collector and fluentbit.
The configuration files of fluentbit are from SkyWalking repository But I got the following error in fluentbit logs when I am trying to execute querey
So did I miss something or is there a bug with the fluentbit script? Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 55 replies
-
Hi, I’m glad that I could be of help.
You can refer to LAL extractor doc to extract data and send them to oap, this way you will get the same effect. |
Beta Was this translation helpful? Give feedback.
-
Which database are you using? It is better and easier we could check the |
Beta Was this translation helpful? Give feedback.
-
Thanks @wu-sheng for your reply.
If you mean which database I use before executing
Where can I find this table ?
|
Beta Was this translation helpful? Give feedback.
Hi, I’m glad that I could be of help.
The reason for this problem is that the slow log of
mariadb
is different from the slow log ofmysql
.All the thing
fluent-bit-script.lua
do is extract data from log and put them in to a JSON string.So if the format is different, this script will not work. You can just change mariadb to mysql, this problem will resolve.
If it is necessary to use mariadb. You can write a corresponding script yourself. The format of mariadb is following: