This tool helps to visualise any Mongo logs into Kibana. It can very helpful to perform a deep investigation.
It is responsible to parse any Mongo logs and populate ElasticSearch.
This tool can handle Gbs of Mongo logs.
Once populated, you can visualise the logs and perform some queries in Kibana.
This tool can populate ElasticSearch running locally or from your server.
- Golang
- ElasticSearch / Kibana
- Docker / Docker-compose
- Docker
- Make
These commands have been tested only on MacOS.
cd elk
docker-compose up
The url for ElasticSearch will be http://localhost:9200
The url for Kibana will be http://localhost:5601
make build
ELASTICSEARCH_INDEX=your_elastic_search_index \
ELASTICSEARCH_URL=elastic_search_url \
LOG_FILE=your_log_file_path \
make run
- Open Kibana (if local, open http://localhost:5601)
- Create an index pattern in Kibana
- Visualise and query