EFK elasticsearch 계정 및 권한 확인

2025. 1. 30. 13:43EFK

전체 계정

kubectl exec -it pod/{pod명} -n {namespace} -- sh

curl -u elastic:<your_elastic_password> -X GET "http://localhost:9200/_security/user?pretty"

특정 계정

 curl -u elastic:<your_elastic_password> -X GET "http://localhost:9200/_security/user/elastic?pretty"