Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/devops-dynamics/ansible-logging-monitoring-automation
Ansible playbooks and roles for automated deployment of logging and monitoring solutions.
https://github.com/devops-dynamics/ansible-logging-monitoring-automation
ansible ansible-role efk elasticsearch elk fluentd grafana graylog kibana logging logstash monitoring prometheus splunk
Last synced: about 1 month ago
JSON representation
Ansible playbooks and roles for automated deployment of logging and monitoring solutions.
- Host: GitHub
- URL: https://github.com/devops-dynamics/ansible-logging-monitoring-automation
- Owner: devops-dynamics
- License: mit
- Created: 2024-12-08T10:15:25.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2024-12-08T16:43:13.000Z (about 1 month ago)
- Last Synced: 2024-12-08T17:30:35.384Z (about 1 month ago)
- Topics: ansible, ansible-role, efk, elasticsearch, elk, fluentd, grafana, graylog, kibana, logging, logstash, monitoring, prometheus, splunk
- Homepage:
- Size: 1000 Bytes
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Ansible Logging & Monitoring Automation
## Overview
This project contains Ansible playbooks and roles for automated deployment and configuration of various logging and monitoring solutions including ELK Stack, EFK Stack, Prometheus/Grafana, Graylog, and Splunk.## Prerequisites
- Ansible 2.9 or higher
- Python 3.x
- SSH access to target hosts
- Sufficient permissions to install and configure monitoring tools## Directory Structure
```
ansible-logging-monitoring-automation/
├── ansible.cfg # Ansible configuration
├── inventory/ # Environment-specific inventories
├── playbooks/ # Main playbooks
├── roles/ # Individual role definitions
├── vars/ # Variable definitions
└── docs/ # Documentation
```## Quick Start
1. Clone the repository:
```bash
git clone
cd ansible-logging-monitoring-automation
```2. Update inventory:
```bash
# Edit the appropriate inventory file
vim inventory/dev.yml
```3. Configure variables:
```bash
# Update global variables
vim vars/global.yml
```4. Run playbook:
```bash
ansible-playbook -i inventory/dev.yml playbooks/elk_stack.yml
```## Available Playbooks
- `elk_stack.yml`: Deploys ELK (Elasticsearch, Logstash, Kibana) stack
- `efk_stack.yml`: Deploys EFK (Elasticsearch, Fluentd, Kibana) stack
- `prometheus_grafana.yml`: Deploys Prometheus and Grafana
- `graylog.yml`: Deploys Graylog
- `splunk.yml`: Deploys Splunk## Role Documentation
Detailed documentation for each role is available in the `docs/role_guides/` directory.## Testing
```bash
# Run molecule tests
molecule test# Run integration tests
./tests/integration/run_tests.sh
```## Contributing
1. Fork the repository
2. Create a feature branch
3. Commit your changes
4. Push to the branch
5. Create a Pull Request## Troubleshooting
See `docs/troubleshooting.md` for common issues and solutions.