← Back to all products

Log Management Toolkit

$29

ELK/EFK stack configurations, log rotation scripts, structured logging templates, and log analysis queries.

📁 18 files🏷 v1.0.0
JSONMarkdownShellYAMLConfigDockerNginx

📄 Product Preview

Try the interactive reader and demo tools below, or get the full product with all content unlocked.

📖 Interactive Reader (Free Preview) ⚙ Try Demo Tools 📦 Download Free Sample

📁 File Structure 18 files

log-management-toolkit/ ├── .env.example ├── LICENSE ├── README.md ├── docker-compose.yml ├── elasticsearch/ │ └── elasticsearch.yml ├── filebeat/ │ ├── filebeat.yml │ └── modules.d/ │ ├── nginx.yml │ └── system.yml ├── guides/ │ └── log-management-strategy.md ├── kibana/ │ └── export/ │ └── dashboards.ndjson ├── logstash/ │ ├── patterns/ │ │ └── custom-patterns │ └── pipeline/ │ ├── app-json.conf │ ├── main.conf │ └── nginx-access.conf └── scripts/ ├── backup-kibana.sh ├── rotate-indices.sh └── setup.sh

📖 Documentation Preview README excerpt

Log Management Toolkit

Production-ready ELK stack deployment with structured logging pipelines and operational dashboards.

Complete Elasticsearch, Logstash, Kibana, and Filebeat configurations for centralized log management. Includes ready-to-use parsing pipelines for Nginx, application JSON logs, and system logs, plus operational scripts for index management, backups, and a comprehensive log strategy guide.

What You Get

  • Docker Compose stack — One-command ELK deployment with resource limits
  • 5 Logstash pipelines — Parse Nginx, JSON apps, syslog, and custom formats
  • Filebeat configuration — Ship logs from any server to your stack
  • Kibana dashboards — Pre-built visualizations for immediate insight
  • 3 operational scripts — Setup, index rotation, and Kibana backup
  • Strategy guide — Log levels, retention, alerting, and compliance

File Tree


log-management-toolkit/
├── README.md
├── LICENSE
├── manifest.json
├── .env.example
├── docker-compose.yml
├── elasticsearch/
│   └── elasticsearch.yml          # ES node configuration
├── logstash/
│   ├── pipeline/
│   │   ├── main.conf              # Main routing pipeline
│   │   ├── nginx-access.conf      # Nginx access log parser
│   │   └── app-json.conf          # JSON application log parser
│   └── patterns/
│       └── custom-patterns        # Custom grok patterns
├── filebeat/
│   ├── filebeat.yml               # Filebeat shipper config
│   └── modules.d/
│       ├── nginx.yml              # Nginx module config
│       └── system.yml             # System log module config
├── kibana/
│   └── export/
│       └── dashboards.ndjson      # Pre-built dashboards
├── scripts/
│   ├── setup.sh                   # Stack deployment script
│   ├── rotate-indices.sh          # Index lifecycle management
│   └── backup-kibana.sh           # Kibana saved objects backup
└── guides/
    └── log-management-strategy.md # Logging strategy & best practices

Getting Started

1. Configure environment


cp .env.example .env
# Edit .env with your settings (passwords, retention, memory limits)
vim .env

2. Deploy the stack

... continues with setup instructions, usage examples, and more.

📄 Code Sample .sh preview

scripts/backup-kibana.sh#!/usr/bin/env bash # ============================================================================= # backup-kibana.sh — Kibana Saved Objects Backup # Part of: Log Management Toolkit by Datanest Digital # License: MIT | https://datanest.dev # # Exports all Kibana saved objects (dashboards, visualizations, index patterns, # saved searches) to an NDJSON file for version control and disaster recovery. # # Usage: # bash scripts/backup-kibana.sh # Backup to default dir # bash scripts/backup-kibana.sh --output /backups # Custom output directory # bash scripts/backup-kibana.sh --types dashboard # Specific object types # bash scripts/backup-kibana.sh --restore backup.ndjson # Restore from file # # Cron example (weekly backup): # 0 3 * * 0 /path/to/scripts/backup-kibana.sh >> /var/log/kibana-backup.log 2>&1 # ============================================================================= set -euo pipefail # ---- Configuration ---- SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" PROJECT_DIR="$(cd "$SCRIPT_DIR/.." && pwd)" ENV_FILE="$PROJECT_DIR/.env" # Defaults BACKUP_DIR="$PROJECT_DIR/backups" OUTPUT_FILE="" OBJECT_TYPES="dashboard,visualization,index-pattern,search,lens,map,query" RESTORE_FILE="" MAX_BACKUPS=10 # ---- Colors ---- RED='\033[0;31m' GREEN='\033[0;32m' YELLOW='\033[1;33m' BLUE='\033[0;34m' NC='\033[0m'
Buy Now — $29 Back to Products