- Elasticsearch
- Kibana
-
- Start Elasticsearch and Kibana in Docker
cd deployment
docker compose up
- Start Elasticsearch and Kibana in Docker
-
- Get Password & Token from Elasticsearch
docker exec -it es01 /usr/share/elasticsearch/bin/elasticsearch-reset-password -u elastic
docker exec -it es01 /usr/share/elasticsearch/bin/elasticsearch-create-enrollment-token -s kibana
- Get Password & Token from Elasticsearch
-
- Login to Kibana at
http://localhost:5601
- Login to Kibana at
-
- Copy CA Certificate from Elasticsearch to local
docker cp es01:/usr/share/elasticsearch/config/certs/http_ca.crt ../cert
- Copy CA Certificate from Elasticsearch to local
-
- Start Go Application (Don't forget to change the password in
elasticsearch.go
file)go build -o audit-log-go
./audit-log-go
- Start Go Application (Don't forget to change the password in