- Start with:
docker-compose up
- Enter to db container:
- Enter to mysql as root with:
mysql -u root -p
- Execute:
CREATE DATABASE testdb; USE testdb; CREATE TABLE IF NOT EXISTS tasks ( task_id INT AUTO_INCREMENT PRIMARY KEY, title VARCHAR(255) NOT NULL, created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP ) ENGINE=INNODB; GRANT ALL PRIVILEGES ON testdb.* TO 'sys_admin'@'%'; SET GLOBAL slow_query_log = 'on';
- Return to bash and execute:
filebeat setup service filebeat start
- Enter to mysql as root with:
- Enter to web container and execute:
filebeat setup service filebeat start
-
Notifications
You must be signed in to change notification settings - Fork 0
AlexMorales85/ELKMonitoring
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description or website provided.
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published