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 - Reporting configurable index custom user/roles #17976

Closed
elasticmachine opened this issue Apr 7, 2017 · 3 comments · Fixed by #54052
Closed

DOCS - Reporting configurable index custom user/roles #17976

elasticmachine opened this issue Apr 7, 2017 · 3 comments · Fixed by #54052
Assignees
Labels
(Deprecated) Feature:Reporting Use Reporting:Screenshot, Reporting:CSV, or Reporting:Framework instead Feature:Reporting:Framework Reporting issues pertaining to the overall framework Team:Docs

Comments

@elasticmachine
Copy link
Contributor

elasticmachine commented Apr 7, 2017

Original comment by @kobelb:

When using Reporting with a custom index, the user is required to setup a custom user/role for this to work properly.

A similar situation applies when using a custom index for Kibana

/cc @alexfrancoeur

@elasticmachine elasticmachine added :Sharing (Deprecated) Feature:Reporting Use Reporting:Screenshot, Reporting:CSV, or Reporting:Framework instead Team:Docs labels Apr 24, 2018
@timroes timroes added Team:Visualizations Visualization editors, elastic-charts and infrastructure and removed :Sharing labels Sep 13, 2018
@tsullivan
Copy link
Member

There's lots of examples in documentation for other stack products on how to do this, for example all the Beats, APM. This shouldn't be too hard to get done

@tsullivan tsullivan self-assigned this Feb 19, 2019
@timroes timroes added Team:Stack Services and removed Team:Visualizations Visualization editors, elastic-charts and infrastructure labels Jul 18, 2019
@tsullivan tsullivan assigned gchaps and unassigned tsullivan Oct 10, 2019
@bmcconaghy bmcconaghy added Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) and removed Team:Stack Services labels Dec 12, 2019
@bmcconaghy bmcconaghy added Team:Reporting Services and removed Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) labels Dec 20, 2019
@elasticmachine
Copy link
Contributor Author

Pinging @elastic/kibana-reporting-services (Team:Reporting Services)

@legrego
Copy link
Member

legrego commented Dec 20, 2019

Custom roles are only required if the xpack.reporting.index setting does not start with .reporting-. The default Kibana system user has all privileges against the .reporting-* pattern of indices.

If you choose a custom reporting index, you can follow this naming convention to avoid creating custom roles.

Example: Custom reporting index following the pattern

xpack.reporting.index: '.reporting-custom-index'

The default Kibana system user already has the appropriate access to this index, so no further action is necessary.

Example: Custom reporting index not following the pattern

xpack.reporting.index: 'custom-reporting'

A new Kibana system user will need to be created, and assigned the kibana_system role, in addition to a new role with the all index privilege against the custom-reporting index, similar to the following:

image

image

Once created, Kibana should be configured to use this new account:

elasticsearch.username: 'custom_kibana_system'

@sophiec20 sophiec20 added the Feature:Reporting:Framework Reporting issues pertaining to the overall framework label Aug 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
(Deprecated) Feature:Reporting Use Reporting:Screenshot, Reporting:CSV, or Reporting:Framework instead Feature:Reporting:Framework Reporting issues pertaining to the overall framework Team:Docs
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants