Skip to content

Centralized Log Application With ELK Stack ( Structured Logging )

License

Notifications You must be signed in to change notification settings

faizalpribadi/centralized-log

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

centralized-log

Centralized Log of Application With ELK Stack ( Structured Logging )

Requirements

  • Elasticsearch - 7.7.0 version - already installed
  • Kibana - 7.7.0 version - already installed
  • Logstash - 7.7.0 version - already installed
  • Filebeat - 7.7.0 version - already installed
  • Application with log files , for example : app.log

Steps Action

  1. ./filebeat -e -c filebeat/filebeat.yml -d "publish"

  2. ./logstash -f logstash/logstash.conf --config.reload.automatic

  3. go run main.go

run this command :

curl --location --request POST 'http://localhost:3000/create' \
--header 'Content-Type: application/json' \
--data-raw '{
	"id": "1",
	"name": "ical",
	"data": {
		"enabled": false
	}
}'

Screenshots

  1. The logs on kibana dashboard logs

About

Centralized Log Application With ELK Stack ( Structured Logging )

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages