Log Collection
In order to ensure the stable operation of the business and predict the unhealthy risks of the service, the collection of logs can help us observe the current health of the service. In traditional business development, when there are not many machine deployments, we usually log in directly to the server to view and debug logs. However, as the business increases, services continue to be split.
- kafka
- kibana
- filebeat、Log-Pilot(k8s)
- go-stash
- Create a new file
- Add configuration content
- Start kafka
- Start elasticsearch
- Start go-stash
- Start filebeat
- Start the order-api service and its dependent services (order-api service in the go-zero-demo project)