Skip to content

This is an example integrating a Golang code to ELK stack

License

Notifications You must be signed in to change notification settings

leozz37/golang-elk-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Golang and ELK Stack Example

This is an example integrating a Golang application to Elastic stack.

Quick Start

To get things started, you can use docker-compose to run everything:

$ docker-compose up

Services

Every service on ELK stack (Elasticsearch, Logstash, Kibana and Beats) needs a container, so on docker-compose.yml you can check every config. In this example, we're logging into log/go.log file and reading it with Logstash.

For Golang, we're using zap, the Uber's logging lib.

About

This is an example integrating a Golang code to ELK stack

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published