18 March 2022

uninstall elastic agent

C:\"Program Files"\Elastic\Agent\elastic-agent.exe uninstall


ref: https://www.elastic.co/guide/en/fleet/current/uninstall-elastic-agent.html

17 March 2022

Kibana credential

1) use kibana_system 

2) reset password on docker
    docker exec -it container_name /usr/share/elasticsearch/bin/elasticsearch-reset-password -u kibana_system 

Get elastic (cluster) info

 GET /_cat/nodes     - get list of nodes

Get /     - get version of the node

GET /_cluster/health?pretty
    - get cluster status: green/red
    - number of nodes
    - number of primary shards