Files
dropshell-templates/logclient/README.md
Your Name 70585358b8
All checks were successful
Test and Publish Templates / test-and-publish (push) Successful in 44s
docs: Add 6 and update 11 files
2025-09-20 10:04:42 +12:00

34 lines
697 B
Markdown

# LogClient
Ships Docker container and system logs to LogServer using Filebeat.
## Quick Start
1. **Get API Key**
- Ask LogServer admin to run `./generate-api-key.sh`
- They'll provide your API key
2. **Configure**
Edit `config/service.env`:
```bash
LOGSERVER_HOST=<server-ip>
LOGSERVER_PORT=5044
API_KEY=<your-api-key>
```
3. **Install**
```bash
dropshell install logclient
```
## What It Does
- Collects all Docker container logs via API
- Collects system logs (/var/log)
- Ships to central LogServer
- Works with any Docker logging driver
## Requirements
- Docker socket access
- Network connection to LogServer port 5044
See [DOCUMENTATION.md](DOCUMENTATION.md) for full details.