Skip to content

Instantly share code, notes, and snippets.

@sderungs
Created April 28, 2021 12:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sderungs/78ab4e69470f49d0da36e0731766017b to your computer and use it in GitHub Desktop.
Save sderungs/78ab4e69470f49d0da36e0731766017b to your computer and use it in GitHub Desktop.
remote_monitoring roles/user
{
"remote_monitoring_agent" : {
"cluster" : [
"manage_index_templates",
"manage_ingest_pipelines",
"monitor",
"cluster:admin/ilm/get",
"cluster:admin/ilm/put",
"cluster:monitor/xpack/watcher/watch/get",
"cluster:admin/xpack/watcher/watch/put",
"cluster:admin/xpack/watcher/watch/delete"
],
"indices" : [
{
"names" : [
".monitoring-*"
],
"privileges" : [
"all"
],
"allow_restricted_indices" : false
},
{
"names" : [
"metricbeat-*"
],
"privileges" : [
"index",
"create_index",
"view_index_metadata",
"indices:admin/aliases"
],
"allow_restricted_indices" : false
}
],
"applications" : [ ],
"run_as" : [ ],
"metadata" : {
"_reserved" : true
},
"transient_metadata" : {
"enabled" : true
}
}
}
{
"remote_monitoring_collector" : {
"cluster" : [
"monitor"
],
"indices" : [
{
"names" : [
"*"
],
"privileges" : [
"monitor"
],
"allow_restricted_indices" : true
},
{
"names" : [
".kibana*"
],
"privileges" : [
"read"
],
"allow_restricted_indices" : false
}
],
"applications" : [ ],
"run_as" : [ ],
"metadata" : {
"_reserved" : true
},
"transient_metadata" : {
"enabled" : true
}
}
}
{
"remote_monitoring_user" : {
"username" : "remote_monitoring_user",
"roles" : [
"remote_monitoring_collector",
"remote_monitoring_agent"
],
"full_name" : null,
"email" : null,
"metadata" : {
"_reserved" : true
},
"enabled" : true
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment