cosmo0920 / fluent-bit-go-loki

[Deprecated] The predessor of fluent-bit output plugin for Loki. https://github.com/grafana/loki
Apache License 2.0
40 stars 6 forks source link

error creating message for Grafana Loki: json: unsupported type #5

Closed gregwebs closed 5 years ago

gregwebs commented 5 years ago

There is some interesting recursion going on here with the error. When I look at the logs for fluent-bit I the error messages keep getting bigger.

error creating message for Grafana Loki: json: unsupported type: map[interface {}]interface {}error creating message for Grafana Loki: json: unsupported type: map[interface {}]interface {}error creating message for Grafana Loki: json: unsupported type: map[interface {}]interface {}error creating message for Grafana Loki: json: unsupported type: map[interface {}]interface {}error creating message for Grafana Loki: json: unsupported type: map[interface {}]interface {}error creating message for Grafana Loki: json: unsupported type: map[interface {}]interface {}[2019/04/15 13:59:32] [  Error] epoll_ctl: Bad file descriptor, errno=9 at /tmp/fluent-bit-1.0.6/lib/monkey/mk_core/mk_event_epoll.c:136
[2019/04/15 13:59:32] [error] [io_tls] error changing mask to 4
error creating message for Grafana Loki: json: unsupported type: map[interface {}]interface {}error creating message for Grafana Loki: json: unsupported type: map[interface {}]interface {}error creating message for Grafana Loki: json: unsupported type: map[interface {}]interface {}error creating message for Grafana Loki: json: unsupported type: map[interface {}]interface {}error creating message for Grafana Loki: json: unsupported type: map[interface {}]interface {}error creating message for Grafana Loki: json: unsupported type: map[interface {}]interface {}error creating message for Grafana Loki: json: unsupported type: map[interface {}]interface {}error creating message for Grafana Loki: json: unsupported type: map[interface {}]interface {}error creating message for Grafana Loki: json: unsupported type: map[interface {}]interface {}error creating message for Grafana Loki: json: unsupported type: map[interface {}]interface {}error creating message for Grafana Loki: json: unsupported type: map[interface {}]interface {}error creating message for Grafana Loki: json: unsupported type: map[interface {}]interface {}error creating message for Grafana Loki: json: unsupported type: map[interface {}]interface {}error creating message for Grafana Loki: json: unsupported type: map[interface {}]interface {}error creating message for Grafana Loki: json: unsupported type: map[interface {}]interface {}error creating message for Grafana Loki: json: unsupported type: map[interface {}]interface {}error creating message for Grafana Loki: json: unsupported type: map[interface {}]interface {}error creating message for Grafana Loki: json: unsupported type: map[interface {}]interface {}[2019/04/15 13:59:32] [  Error] epoll_ctl: Bad file descriptor, errno=9 at /tmp/fluent-bit-1.0.6/lib/monkey/mk_core/mk_event_epoll.c:136
[2019/04/15 13:59:32] [error] [io_tls] error changing mask to 4
bavarianbidi commented 5 years ago

@gregwebs i opened a PR to solving this issue (https://github.com/cosmo0920/fluent-bit-go-loki/pull/7)

we've done a loki-POC in the last week and during this POC, we didn't get the unsupported type error until we changed the json-parser

cosmo0920 commented 5 years ago

Merged #7. Closing.