Kibana
From Halfface
Jump to navigationJump to search
how to master kibana
elasticsearch
List users
curl -sk -X GET "https://localhost:9200/_security/user" -u "${ELASTIC_USERNAME}:${ELASTIC_PASSWORD}" -H "Content-Type: application/json" | jq .
delete user
curl -sk -X DELETE -u "${ELASTIC_USERNAME}:${ELASTIC_PASSWORD}" 'https://localhost:9200/_security/user/<username>'
Add user
curl -sk -u "${ELASTIC_USERNAME}:${ELASTIC_PASSWORD}" \
-X PUT https://localhost:9200/_security/user/<username> \
-H "Content-Type: application/json" \
-d '{
"password" : "<password>",
"roles" : [ "superuser", "kibana_admin" ],
"full_name" : "<full_name>",
"email" : "<email@address>"
}'
Search for pod name
kubernetes.pod_name : community-operators-*
kibana
status of kibana
curl -sk -u "${ELASTIC_USERNAME}:${ELASTIC_PASSWORD}" http://$(hostname -i):5601/api/status | jq .