Unfortunately, that didn't work
root@dsme01:/usr/share/elasticsearch# curl -X POST -u elastic:elastic "https://elasticsearch.intern.harnet.de:9200/_security/service/elastic/fleet-server/credential/token?pretty"
{
"created" : true,
"token" : {
"name" : "token_3JRT-JIBZ9LwZGrQZZVC",
"value" : "AAEAAWVsYXN0aWMvZmxlZXQtc2VydmVyL3Rva######KUlQtSklCWjlMd1pHclFaWlZDOjVXTWpLRWQ4U04yaDlyaWJBbzFiNmc"
}
}
root@dsme01:/usr/share/elasticsearch# curl -H "Authorization: Bearer AAEAAWVsYXN0aWMvZmxlZXQtc2VydmVyL3Rva######KUlQtSklCWjlMd1pHclFaWlZDOjVXTWpLRWQ4U04yaDlyaWJBbzFiNmc" https://elasticsearch.intern.harnet.de:9200/_cluster/health
{"cluster_name":"elasticsearch","status":"yellow","timed_out":false,"number_of_nodes":1,"number_of_data_nodes":1,"active_primary_shards":45,"active_shards":45,"relocating_shards":0,"initializing_shards":0,"unassigned_shards":13,"delayed_unassigned_shards":0,"number_of_pending_tasks":0,"number_of_in_flight_fetch":0,"task_max_waiting_in_queue_millis":0,"active_shards_percent_as_number":77.58620689655173}
The website shows the following "Kibana server is not ready yet." Change User & Password the Website ist running.
After Changes i have restart Elasticsearch and Kibana.