add container_elk notes
This commit is contained in:
14
active/container_elk/elk.md
Normal file
14
active/container_elk/elk.md
Normal file
@@ -0,0 +1,14 @@
|
||||
# Elk Stack
|
||||
|
||||
## Install
|
||||
|
||||
<https://www.elastic.co/blog/getting-started-with-the-elastic-stack-and-docker-compose>
|
||||
|
||||
```bash
|
||||
# Copy over the files
|
||||
scp -rp active/container_elk/. elk:elk
|
||||
# SSH into the host
|
||||
ssh -t elk "cd elk ; bash --login"
|
||||
# Run the services
|
||||
docker compose -f elk-compose.yaml up
|
||||
```
|
||||
Reference in New Issue
Block a user