https://github.com/sujanks/docker-efk
Docker compose for EFK stack
https://github.com/sujanks/docker-efk
docker docker-compose elasticsearch fluentd kibana
Last synced: over 1 year ago
JSON representation
Docker compose for EFK stack
- Host: GitHub
- URL: https://github.com/sujanks/docker-efk
- Owner: sujanks
- Created: 2020-05-07T03:06:18.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-05-19T09:50:50.000Z (about 6 years ago)
- Last Synced: 2025-02-05T09:38:54.158Z (over 1 year ago)
- Topics: docker, docker-compose, elasticsearch, fluentd, kibana
- Language: Dockerfile
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Docker compose file for setting up a EFK service
================================================
A basic docker compose file that will set up Elasticsearch, Fluentd, and Kibana.
### Quick start
```
docker-compose up -d
```
Check if the all services are up. Wait for the services to come up before start logging
```
http://localhost:9200
http://localhost:5601
```
Then run the following script to append the log lines
```
sh logging.sh
```
Then, go to your browser and access `http://localhost:5601` (kibana). You should be able to see the logs in kibana's discovery tab. By the way, if you are wondering what is this index kibana asks the fist time you access it, it is `fluentd-*`.
After you are done, just run:
docker-compose down
And all services will be reclaimed.