grafana / k6-docs

The k6 documentation website.
https://grafana.com/docs/k6/latest/
87 stars 222 forks source link

Document the Elasticsearch output #1014

Closed ppcano closed 1 year ago

ppcano commented 1 year ago

Add Elasticsearch to the list of k6 outputs:

immavalls commented 1 year ago

Guide similar to https://k6.io/docs/results-output/real-time/timescaledb/ but for ES based on https://github.com/elastic/xk6-output-elasticsearch. We also have https://github.com/BarthV/xk6-es listed.

immavalls commented 1 year ago

We'll base this on https://github.com/elastic/xk6-output-elasticsearch

It primarily works with ES cloud: https://cloud.elastic.co/. The extension does not support self-signed certificates (we are probably missing the option to configure InsecureSkipVerify, or the ability to pass the RootCA, when using https://github.com/elastic/go-elasticsearch/). ES >=8.0.0 comes with TLS as default. https://www.elastic.co/guide/en/elasticsearch/reference/current/docker.html.

immavalls commented 1 year ago

The first iteration is on https://github.com/grafana/k6-docs/pull/1104. I am initially adding ES output to the docs.

We still need to create a blog showcasing how to run this extension. Once the blog is ready, I'll add a section similar to https://k6.io/docs/results-output/real-time/timescaledb/#read-more.