https://github.com/cuongnb14/efk
https://github.com/cuongnb14/efk
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/cuongnb14/efk
- Owner: cuongnb14
- Created: 2020-08-03T08:54:03.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-12-25T06:11:36.000Z (almost 5 years ago)
- Last Synced: 2025-01-13T10:51:55.004Z (9 months ago)
- Language: Dockerfile
- Size: 43.9 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# EFK

## Setup EFK Center
```
docker-comnpose up -d
```## Run docker container with fluentd log driver
with docker run
```
docker run httpd:2.2.32 -p 80:80 \
--log-driver=fluentd \
--log-opt fluentd-address=$FLUENTD_HOST:24224 \
--log-opt tag=evano.drive \
```with docker compose
```
version: '2'
services:
web:
image: httpd:2.2.32
ports:
- "85:80"
logging:
driver: "fluentd"
options:
fluentd-address: localhost:24224
tag: httpd.access
```