What is the minimum user permission required to run synthetic monitoring. I don't want to provide superuser privilege to users who all deploy the synthetic monitoring using docker.
sh run.sh 7.11.0
'-E output.elasticsearch.hosts=["localhost:9200"]'
'-E output.elasticsearch.username=elastic'
'-E output.elasticsearch.password=changeme'
I have created synthetic_test user and provided the below role as per your provided link but still getting errors.
Cluster - monitor, manage_ilm
Index - manage and write on heartbeat-* indices
Role - kibana_admin, ingest_admin
ERROR [publisher_pipeline_output] pipeline/output.go:154 Failed to connect to backoff(elasticsearch(https://localhost:9200)): Connection marked as failed because the onConnect callback failed: failed to check for alias 'heartbeat-7.11.0': (status=403) {"error":{"root_cause":[{"type":"security_exception","reason":"action [indices:admin/aliases/get] is unauthorized for user [synthetic_test]"}],"type":"security_exception","reason":"action [indices:admin/aliases/get] is unauthorized for user [synthetic_test]"},"status":403}: 403 Forbidden: {"error":{"root_cause":[{"type":"security_exception","reason":"action [indices:admin/aliases/get] is unauthorized for user [synthetic_test]"}],"type":"security_exception","reason":"action [indices:admin/aliases/get] is unauthorized for user [synthetic_test]"},"status":403}
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.