Skip to content

Latest commit

 

History

History
32 lines (21 loc) · 953 Bytes

README.md

File metadata and controls

32 lines (21 loc) · 953 Bytes

audit-log-go

example

Tech Stack

  • Elasticsearch
  • Kibana

How to Run

    1. Start Elasticsearch and Kibana in Docker cd deployment docker compose up
    1. 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
    1. Login to Kibana at http://localhost:5601
    1. Copy CA Certificate from Elasticsearch to local docker cp es01:/usr/share/elasticsearch/config/certs/http_ca.crt ../cert
    1. Start Go Application (Don't forget to change the password in elasticsearch.go file) go build -o audit-log-go ./audit-log-go

References