Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jamg44/vagrant_wordpress_elk
Vagrant box to deploy Wordpress & ELK into two Ubuntu VMs
https://github.com/jamg44/vagrant_wordpress_elk
elk filebeat kibana logstash mysql vagrant virtualbox wordpress
Last synced: 21 days ago
JSON representation
Vagrant box to deploy Wordpress & ELK into two Ubuntu VMs
- Host: GitHub
- URL: https://github.com/jamg44/vagrant_wordpress_elk
- Owner: jamg44
- Created: 2020-11-15T14:02:46.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2020-11-23T19:10:28.000Z (about 4 years ago)
- Last Synced: 2024-11-10T05:42:34.338Z (3 months ago)
- Topics: elk, filebeat, kibana, logstash, mysql, vagrant, virtualbox, wordpress
- Language: Shell
- Homepage:
- Size: 53.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Vagrant box to deploy Wordpress & ELK into two Ubuntu VMs
![diagram](diagram.png "Diagram")
This vagrant box installs Wordpress, ELK Stack v7.10.0 (Elasticsearch, Logstash, and Kibana) and Filebeat.
## Prerequisites
- [VirtualBox](https://www.virtualbox.org/)
- [Vagrant](http://www.vagrantup.com/)## Up and SSH
Edit this files to set the passwords and IPs:
- install_wordpress.sh
- install_filebeat.sh
- install_logstash.shTo start the vagrant box run:
vagrant up
To access consoles of the machines run:
vagrant ssh elk
or:
vagrant ssh wp
## Exposed ports
- Wordpress http://localhost:8081
- Elasticsearch http://localhost:9200
- Kibana http://localhost:5601## Wordpress
Wordpress has been installed following [this setup](https://ubuntu.com/tutorials/install-and-configure-wordpress).
## Kibana
In Kibana you can create an index pattern with:
filebeat-*
### Test Filebeat
If Filebeat does not work, you can test it if you want, accessing with ssh to wp virtual machine with:
```sh
vagrant ssh wp
cd /etc/filebeat
sudo ./filebeat test config -e
```