Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs: Add Configuring Elasticsearch documentation for required privileges #87593

Merged
merged 3 commits into from
May 10, 2024

Conversation

ivanahuckova
Copy link
Member

This PR adds documentation about necessary cluster privilege.

Fixes https://github.com/grafana/support-escalations/issues/9096
Related to #79955

@ivanahuckova ivanahuckova self-assigned this May 10, 2024
@ivanahuckova ivanahuckova added type/docs datasource/Elasticsearch no-backport Skip backport of PR no-changelog Skip including change in changelog/release notes labels May 10, 2024
@grafana-delivery-bot grafana-delivery-bot bot added this to the 11.1.x milestone May 10, 2024
…-data-source.md

Co-authored-by: Sven Grossmann <sven.grossmann@grafana.com>
Copy link
Contributor

@svennergr svennergr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ivanahuckova ivanahuckova merged commit 1130369 into main May 10, 2024
11 checks passed
@ivanahuckova ivanahuckova deleted the ivana/es-priv branch May 10, 2024 11:59
obetomuniz added a commit that referenced this pull request May 10, 2024
…-tracker

* gops-configuration-tracker: (56 commits)
  SAML: add referemce to azure ad limitations (#87571)
  Update dependency glob to v10.3.14
  Chore: Updated go.work.sum file (#87622)
  Update dependency @types/lodash to v4.17.1 (#87419)
  AdHocFilters: Use queries in ad hoc filters api calls (#87624)
  TimeSeries: Improve keyboard focus and fix spacebar override (#86848)
  Dropdown: Fixes double call to onVisibilityChange (#87607)
  [DOC] Adds missing link to Pyroscope core data source (#85493)
  Docs: Add Configuring Elasticsearch documentation for required privileges (#87593)
  Update dependency eslint-plugin-jsdoc to v48.2.4
  Chore: Add login protection when user is trying different uppercase letters (#87588)
  Explore: lookup datasource by name when present in legacy URLs (#85222)
  Update dependency @prometheus-io/lezer-promql to v0.52.0 (#87554)
  Update dependency systemjs to v6.15.1 (#87594)
  Chore: Remove deprecated re-exported template variable types (#87459)
  Chore: Use getNextRefId instead of deprecated getNextRefIdChar (#87460)
  Chore: Remove use of deprecated method in AC code (#87541)
  Chore:: Update authlib version (#87603)
  Alerting: Reduce number of request fetching rules in the dashboard view using rtkq (#86991)
  refactor: rename variable
  ...
@grvsoni
Copy link

grvsoni commented May 30, 2024

@svennergr
I see this is merged now but not roll out to https://grafana.com/docs/grafana/latest/datasources/elasticsearch/configure-elasticsearch-data-source/
When this is expected?

@svennergr
Copy link
Contributor

@grvsoni you can find it on https://grafana.com/docs/grafana/next/datasources/elasticsearch/configure-elasticsearch-data-source/. Once Grafana 11.1 is released it's gonna be on latest.

Copy link
Member

@jdbaldry jdbaldry left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for writing the docs!

I'm sorry I missed this during the docs offsite. I've added a suggestion to apply the style guide in Writers' Toolkit https://grafana.com/docs/writers-toolkit/

Comment on lines +31 to +37
## Configuring permissions

When Elasticsearch security features are enabled, it is essential to configure the necessary cluster privileges to ensure seamless operation. Below is a list of the required privileges along with their purposes:

- **monitor** - Necessary to retrieve the version information of the connected Elasticsearch instance.
- **view_index_metadata** - Required for accessing mapping definitions of indices.
- **read** - Grants the ability to perform search and retrieval operations on indices. This is essential for querying and extracting data from the cluster.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
## Configuring permissions
When Elasticsearch security features are enabled, it is essential to configure the necessary cluster privileges to ensure seamless operation. Below is a list of the required privileges along with their purposes:
- **monitor** - Necessary to retrieve the version information of the connected Elasticsearch instance.
- **view_index_metadata** - Required for accessing mapping definitions of indices.
- **read** - Grants the ability to perform search and retrieval operations on indices. This is essential for querying and extracting data from the cluster.
## Configure permissions
When Elasticsearch security features are enabled, you must configure the necessary cluster privileges to ensure operation.
Below is a list of the required privileges along with their purposes:
- **monitor** - Retrieve the version information of the connected Elasticsearch instance.
- **view_index_metadata** - Access mapping definitions of indices.
- **read** - Perform search and retrieval operations on indices.
This is essential for querying and extracting data from the cluster.

@kevinwcyu kevinwcyu modified the milestones: 11.1.x, 11.1.0 Jun 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
datasource/Elasticsearch no-backport Skip backport of PR no-changelog Skip including change in changelog/release notes type/docs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants