File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -82,12 +82,13 @@ user API.
82
82
** <<configuring-kerberos-realm,Configure a Kerberos realm>>.
83
83
84
84
. Set up roles and users to control access to {es}.
85
+ +
86
+ --
85
87
For example, to grant _John Doe_ full access to all indices that match
86
88
the pattern `events*` and enable him to create visualizations and dashboards
87
89
for those indices in {kib}, you could create an `events_admin` role
88
90
and assign the role to a new `johndoe` user.
89
- +
90
- --
91
+
91
92
[source,shell]
92
93
----------------------------------------------------------
93
94
curl -XPOST -u elastic 'localhost:9200/_xpack/security/role/events_admin' -H "Content-Type: application/json" -d '{
@@ -113,8 +114,7 @@ curl -XPOST -u elastic 'localhost:9200/_xpack/security/user/johndoe' -H "Content
113
114
// NOTCONSOLE
114
115
--
115
116
116
- [[enable-auditing]]
117
- . Enable auditing to keep track of attempted and successful interactions with
117
+ . [[enable-auditing]]Enable auditing to keep track of attempted and successful interactions with
118
118
your {es} cluster:
119
119
+
120
120
--
You can’t perform that action at this time.
0 commit comments