Pushing logs to Kibana

Hi Team,

Any option to push the K6 logs to Kibana.

Hi @Gerard,

So Kibana is the visualization tool for the Elastic stack, not the storage. I guess you’re looking for an extension to output logs to the elastic.

As far as I know, there is no such extension for now :frowning_face: We have an open issue that potentially unleashes such possibility (of creating such extensions) Log output as xk6 extension · Issue #1939 · grafana/k6 · GitHub, but we have no estimations when it is implemented.

The only possible log outputs are listed on Options reference.

I guess it’s still possible to use some alternative mechanism that will use the standards k6 output, let’s say file and then push them to the elastic, but you should research by yourself.

Hope that answers,

We use GitHub - Tinkoff/xk6-output-error: A k6 extension for add more information into StdErr + vector.dev (example config xk6-output-error/vector at main · Tinkoff/xk6-output-error · GitHub) for load logs into Elastic

1 Like

Thanks @Maksimall89 and @olegbespalov

1 Like