-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
49ac2af
commit f151b1f
Showing
2 changed files
with
96 additions
and
75 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,26 @@ | ||
|
||
# ELK stack for service logs monitoring. Communication performing by Filebeat | ||
# ELK stack for service logs monitoring | ||
|
||
### Start containers with ELK stack and Filebeat: | ||
Communication performing by Filebeat | ||
|
||
## Start containers with ELK stack and Filebeat: | ||
From [elk-filebeat](.) folder: | ||
|
||
docker compose up | ||
|
||
### Build and start article-backend-service | ||
From project root: | ||
## Build and start `article-backend-service` application | ||
From project [root](..) folder: | ||
|
||
mvn clean install | ||
docker compose up | ||
|
||
### Check saved logs via Kibana dashboard: | ||
|
||
http://localhost:5601 | ||
|
||
Using next login/password: `elastic/yourstrongpasswordhere` | ||
|
||
Choose `Discover` -> `Create index pattern`, and enter `filebeat-*` | ||
|
||
Take a look on saved records | ||
## Check saved logs via Kibana dashboard: | ||
- Open page http://localhost:5601 | ||
- Use next `login/password` : `elastic/yourstrongpasswordhere` | ||
- Choose `Discover` -> `Create index pattern`, and enter `filebeat-*` | ||
- Take a look on saved records | ||
|
||
### How to destroy ELK containers and volumes (with stored data): | ||
From `elk-filebeat` folder: | ||
## Destroy ELK containers and volumes (with stored data): | ||
From [elk-filebeat](.) folder: | ||
|
||
docker-compose down --volumes |