Skip to content

Documentation feedback: /docs/sources/k6/v1.3.x/results-output/real-time/elasticsearch.md #2091

@rjsmith

Description

@rjsmith

It would be very helpful if you could list the necessary Elastic index privileges required to be able to use the extension with an API Key, I had to figure this out by trial and error e.g. something like:

{
  "write-k6-metrics": {
    "cluster": [],
    "indices": [
      {
        "names": [
          "k6-metrics"
        ],
        "privileges": [
          "all"
        ],
        "allow_restricted_indices": false
      }
    ],
    "applications": [],
    "run_as": [],
    "metadata": {},
    "transient_metadata": {
      "enabled": true
    }
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions