Bug 1563230

Summary: [RFE] Limit the Kibana index-patterns for cluster admins
Product: OpenShift Container Platform Reporter: Jeff Cantrill <jcantril>
Component: LoggingAssignee: Jeff Cantrill <jcantril>
Status: CLOSED ERRATA QA Contact: Anping Li <anli>
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.9.0CC: anli, aos-bugs, bmcelvee, jcantril, pportant, rmeggins, smunilla
Target Milestone: ---Keywords: OpsBlocker
Target Release: 3.9.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Feature: Limit the number of Kibana index-patterns for cluster admins Reason: The list is unmanageable and unneeded on large clusters with many namespaces Result: Cluster admins only see a limited subset of index-patterns
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-05-17 06:43:34 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jeff Cantrill 2018-04-03 12:26:18 UTC
The starter clusters where cluster-admins have access to every project have no need to have an index-pattern for each one.  They have access to all the indices so a explicit set will provide coverage for their needs:

.operations.*
.oprhaned.*
project.*
.all

Comment 2 Anping Li 2018-04-17 06:57:02 UTC
What is expected result?   Are the follow indices can be view in kibaban by default when login with cluster-admin? 

.operations.*
.oprhaned.*
project.*
.all

Comment 3 Jeff Cantrill 2018-04-17 12:23:43 UTC
Those provided as part of the configuration or the defaults: https://github.com/fabric8io/openshift-elasticsearch-plugin/pull/128/files#diff-d8f69bf5abf03cc08a89bdb9c643fa3cR81

Comment 4 Anping Li 2018-04-18 09:26:17 UTC
I couldn't see the .oprhaned.* patten in kibana.  The fix is in OSE_ES_VER=2.4.4.22. Currently, the OSE_ES_VER=2.4.4.21.  Waiting for new image.

Comment 8 Anping Li 2018-05-03 08:16:43 UTC
The following index pattern are added in kibana by default when login as cluster-admin in logging:v3.9.27.

.operations.*
.oprhaned.*
project.*
.all

Comment 12 errata-xmlrpc 2018-05-17 06:43:34 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2018:1566

Comment 14 Red Hat Bugzilla 2023-09-15 00:07:19 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 500 days