kubeup / fluent-bit-aliyun

Fluent Bit plugin for Aliyun SLS
80 stars 9 forks source link

plugin don't run with timestamp #3

Open icloudnote opened 7 years ago

icloudnote commented 7 years ago

when i compile plugin from source, i use "fluent-bit -c /etc/fluent-bit/fluent-bit.conf -e /etc/fluent-bit/out_sls.so" , the plugin doesn't work well. output: typeof timestampData is codec.RawExt{Tag:0x0, Data:[]uint8{0x59, 0x63, 0x52, 0x79, 0x0, 0x4, 0xb3, 0x85}, Value:interface {}(nil)} Unable to convert timestamp: {Tag:0 Data:[89 99 82 121 0 4 179 133] Value:} source code: timestamp, ok := timestampData.Interface().(uint64)

adieu commented 7 years ago

can you check the version of fluent-bit? we're using fluent-bit 0.11 in the Dockerfile and it works fine.

If you're using a newer version, could you give me the commit id so that i could reproduce this issue.

Thanks a lot.

icloudnote commented 7 years ago

the version of fluent-bit is Fluent Bit v0.12.0; u can build it and to solve this issue.

adieu commented 7 years ago

it seems v0.12 is still in development. we'll support it as soon as it got released.

could you try using latest release v0.11.13 together with fluent-bit-aliyun?

icloudnote commented 7 years ago

thank you for you help, fluent-bit-aliyun can work well with v0.11.13;

adieu commented 7 years ago

i'll leave this issue open for v0.12

nickwq commented 6 years ago

Since fluent-bit has released v0.12, can we support the latest version?